release: ship v1.6.0 with paged suggestions and a cleaner phrase memory
Next-sentence suggestions now arrive one at a time up to twelve, shown three per page with Ctrl+Alt+Up/Down to move, Left/Right to page, Enter to accept and Esc to close; old default bindings migrate and the panel guide follows the live bindings. The overlay is redesigned, stays put while candidates stream and sits outside the input box when no caret is reported. The personal phrase memory stops learning from terminals, code editors and the coding-agent hub, ignores symbol-heavy lines and empty-field placeholders, and prunes existing entries that break those rules. Fixes suggestion keys starting dictation, installs stuck on a pre-1.5.0 speech engine without the focus endpoint, Ollama runner windows flashing while typing, the speech engine starting twice, and cold-model timeouts. Live captions can be dragged to a remembered position and show a waiting notice until the first line arrives. Bumps the product version to 1.6.0 (Android/iOS build 1060000).
This commit is contained in:
parent
856e375f3e
commit
2fe20fa7b5
71 changed files with 2469 additions and 366 deletions
|
|
@ -2,6 +2,9 @@
|
|||
*
|
||||
* 팝업 스타일은 injectPopupTheme() 의 CSS 변수(--d3-*)로 테마를 따라간다.
|
||||
* 토큰이 주입되지 않는 상황(개발 초기 로드)을 위해 :root 폴백을 둔다.
|
||||
*
|
||||
* 구조: [후보 3개 — 고정 높이] / 가는 선 / [진행률 · 출처] / [키 안내]
|
||||
* 창 높이(WindowManager SUGGESTION_OVERLAY_HEIGHT)는 이 고정 치수에서 나온다.
|
||||
*/
|
||||
|
||||
:root {
|
||||
|
|
@ -20,13 +23,18 @@
|
|||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
[hidden] {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
user-select: none;
|
||||
-webkit-app-region: no-drag;
|
||||
font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
#root {
|
||||
|
|
@ -36,10 +44,10 @@ body {
|
|||
}
|
||||
|
||||
.suggestion-panel {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
padding: 8px;
|
||||
padding: 6px;
|
||||
border-radius: 10px;
|
||||
background: var(--d3-bg-result);
|
||||
border: 1px solid var(--d3-border-result);
|
||||
|
|
@ -54,41 +62,39 @@ body {
|
|||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* ── 헤더 (상태 + 닫기) ─────────────────────────────── */
|
||||
.header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-height: 18px;
|
||||
}
|
||||
|
||||
/* ── 닫기 — 구석에 떠 있는 작은 버튼 (빈 헤더 줄을 두지 않는다) ── */
|
||||
.close {
|
||||
margin-left: auto;
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
padding: 0;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 0;
|
||||
border-radius: 5px;
|
||||
background: transparent;
|
||||
color: var(--d3-text-secondary);
|
||||
cursor: pointer;
|
||||
transition: background 90ms ease-out, color 90ms ease-out;
|
||||
opacity: 0.7;
|
||||
transition: background 90ms ease-out, color 90ms ease-out, opacity 90ms ease-out;
|
||||
}
|
||||
|
||||
.close:hover {
|
||||
background: var(--d3-accent-dim);
|
||||
color: var(--d3-text-result);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* ── 상태 줄 (워밍업 / 생성 중) ─────────────────────── */
|
||||
/* ── 상태 (후보가 아직 없을 때만: 준비 중 / 생성 중) ── */
|
||||
.status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 2px 4px;
|
||||
min-height: 32px;
|
||||
padding: 0 28px 0 8px;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
|
|
@ -110,99 +116,172 @@ body {
|
|||
.status-text {
|
||||
color: var(--d3-text-secondary);
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* ── 후보 목록 (최대 5개, 스크롤) ───────────────────── */
|
||||
/* ── 후보 (한 페이지 = 3개, 각 최대 2줄, 고정 높이라 채워져도 창이 흔들리지 않는다) ── */
|
||||
.candidates {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
max-height: 176px;
|
||||
overflow-y: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.candidates::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
.candidates::-webkit-scrollbar-thumb {
|
||||
background: var(--d3-accent-dim);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.candidates::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
.candidates:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.suggestion-item {
|
||||
display: block;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
padding: 6px 8px;
|
||||
height: 44px;
|
||||
padding: 0 28px 0 8px;
|
||||
border: 0;
|
||||
border-radius: 6px;
|
||||
border-radius: 7px;
|
||||
background: transparent;
|
||||
color: var(--d3-text-result);
|
||||
font: inherit;
|
||||
font-size: 14px;
|
||||
line-height: 1.45;
|
||||
text-align: left;
|
||||
cursor: default;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
transition: background 90ms ease-out;
|
||||
}
|
||||
|
||||
.suggestion-item:hover {
|
||||
background: var(--d3-accent-dim);
|
||||
}
|
||||
|
||||
.suggestion-item.active {
|
||||
background: var(--d3-accent-dim);
|
||||
color: var(--d3-text-result);
|
||||
box-shadow: inset 2px 0 0 var(--d3-accent-main);
|
||||
}
|
||||
|
||||
.suggestion-item.loading {
|
||||
.suggestion-num {
|
||||
flex: 0 0 16px;
|
||||
color: var(--d3-text-secondary);
|
||||
font-style: italic;
|
||||
font-size: 11px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* 스트리밍 중 — 도착한 만큼 보여주고 커서를 붙인다 */
|
||||
.suggestion-item.active .suggestion-num {
|
||||
color: var(--d3-accent-main);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.suggestion-text {
|
||||
display: -webkit-box;
|
||||
flex: 1 1 auto;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
line-height: 1.4;
|
||||
word-break: keep-all;
|
||||
overflow-wrap: anywhere;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
|
||||
.suggestion-item.active .suggestion-text {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* 첫 후보가 스트리밍으로 도착하는 중 — 도착한 만큼 보여주고 커서를 붙인다 */
|
||||
.suggestion-item.streaming {
|
||||
color: var(--d3-text-result);
|
||||
cursor: default;
|
||||
opacity: 0.85;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.suggestion-item.streaming::after {
|
||||
.suggestion-item.streaming .suggestion-text::after {
|
||||
content: '\258C';
|
||||
animation: d3-caret-blink 1s steps(1) infinite;
|
||||
color: var(--d3-accent-main);
|
||||
}
|
||||
|
||||
.provenance {
|
||||
min-height: 15px;
|
||||
padding: 0 8px;
|
||||
color: var(--d3-text-secondary);
|
||||
font-size: 11px;
|
||||
line-height: 1.35;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@keyframes d3-caret-blink {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.hints {
|
||||
/* ── 아래쪽: 진행률·출처 한 줄 + 키 안내 한 줄 ── */
|
||||
.footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 0 8px 2px;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
margin-top: 6px;
|
||||
padding: 6px 8px 2px;
|
||||
border-top: 1px solid var(--d3-border-result);
|
||||
color: var(--d3-text-secondary);
|
||||
font-size: 11px;
|
||||
font-size: 10.5px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
.hint {
|
||||
.footer-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.progress {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.progress-more {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.progress-more .spinner {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-width: 1.5px;
|
||||
}
|
||||
|
||||
.provenance {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.key-hints {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.key-hint {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.key-hint.shared {
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.key-hint.close-hint {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
kbd {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
height: 16px;
|
||||
padding: 0 4px;
|
||||
border: 1px solid var(--d3-border-result);
|
||||
border-bottom-width: 2px;
|
||||
border-radius: 4px;
|
||||
color: var(--d3-text-result);
|
||||
font-family: inherit;
|
||||
font-size: 10px;
|
||||
line-height: 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue