diff --git a/.changeset/fn-7047-quick-entry-hint-removal.md b/.changeset/fn-7047-quick-entry-hint-removal.md new file mode 100644 index 0000000000..e6b4967376 --- /dev/null +++ b/.changeset/fn-7047-quick-entry-hint-removal.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": patch +--- + +summary: Remove the quick-entry keyboard hint from the task creation surface. +category: internal +dev: Removes the retired quickEntryHint locale key and QuickEntryBox hint shell/CSS. diff --git a/packages/dashboard/app/components/QuickEntryBox.css b/packages/dashboard/app/components/QuickEntryBox.css index 30e1bb38d6..15e3ea6cbf 100644 --- a/packages/dashboard/app/components/QuickEntryBox.css +++ b/packages/dashboard/app/components/QuickEntryBox.css @@ -205,12 +205,6 @@ The global `.description-with-refine textarea { padding-right: 70px }` (styles.c cursor: pointer; } -.quick-entry-hint { - font-size: 0.6875rem; - color: var(--text-dim); - margin-left: auto; - white-space: nowrap; -} .quick-entry-model-trigger { font-size: 0.75rem; @@ -355,12 +349,6 @@ The global `.description-with-refine textarea { padding-right: 70px }` (styles.c align-items: flex-start; gap: 10px; } - - .quick-entry-hint { - margin-left: 0; - width: 100%; - text-align: center; - } } /* Quick Entry Box main row with toggle */ @@ -437,12 +425,6 @@ The global `.description-with-refine textarea { padding-right: 70px }` (styles.c gap: 10px; } - .quick-entry-hint { - margin-left: 0; - width: 100%; - text-align: center; - } - .quick-entry-toggle { height: 28px; width: 28px; diff --git a/packages/dashboard/app/components/QuickEntryBox.tsx b/packages/dashboard/app/components/QuickEntryBox.tsx index a7a988b838..72017638b6 100644 --- a/packages/dashboard/app/components/QuickEntryBox.tsx +++ b/packages/dashboard/app/components/QuickEntryBox.tsx @@ -2229,9 +2229,7 @@ export function QuickEntryBox({ onCreate, addToast, tasks = [], availableModels, }} data-testid="quick-entry-file-input" /> -
- {t("tasks.quickEntryHint", "Enter to create · Esc to cancel")} -
+ {/* FNXC:QuickEntry 2026-06-25-00:00: FN-7047 removes the persistent "Enter to create · Esc to cancel" hint so quick entry has no leftover affordance shell after the help text was retired. */} {duplicateMatches && ( { expect((textarea as HTMLTextAreaElement).rows).toBe(2); }); + /* FNXC:QuickEntry 2026-06-25-00:00: FN-7047 requires the retired quick-entry keyboard hint to be absent across board and list surfaces, with no empty `.quick-entry-hint` shell left behind. */ + it("does not render the retired keyboard hint in desktop expanded or collapsed list modes", () => { + mockDesktopViewport(); + const desktop = renderQuickEntryBox({ singleLine: false }); + expectQuickEntryHintAbsent(desktop.container); + desktop.unmount(); + + mockMobileViewport(); + const list = renderQuickEntryBox({ singleLine: true, defaultExpanded: false }); + expect(screen.getByTestId("quick-entry-box").className).toContain("quick-entry-box--collapsed"); + expectQuickEntryHintAbsent(list.container); + }); + // FNXC:QuickEntry 2026-06-22-19:25: List view passes singleLine so quick-add is a compact one-line input (not the tall 80px auto-grow variant). describe("singleLine (List view compact mode)", () => { it("renders a one-line textarea that is not expanded and does not grow on focus/typing", () => { diff --git a/packages/i18n/locales/en/app.json b/packages/i18n/locales/en/app.json index d3dbbb564a..46f33da91c 100644 --- a/packages/i18n/locales/en/app.json +++ b/packages/i18n/locales/en/app.json @@ -7902,7 +7902,6 @@ "promoteTask": "Promote task", "promoting": "Promoting…", "queued": "Queued", - "quickEntryHint": "Enter to create · Esc to cancel", "refine": "Refine", "refineAddDetails": "Add details", "refineAddDetailsDesc": "Add implementation details and context", diff --git a/packages/i18n/locales/es/app.json b/packages/i18n/locales/es/app.json index 473a5ed3be..96abc4edf7 100644 --- a/packages/i18n/locales/es/app.json +++ b/packages/i18n/locales/es/app.json @@ -7892,7 +7892,6 @@ "promoteTask": "", "promoting": "", "queued": "En cola", - "quickEntryHint": "Enter para crear · Esc para cancelar", "refine": "Refinar", "refineAddDetails": "Añadir detalles", "refineAddDetailsDesc": "Añadir detalles de implementación y contexto", diff --git a/packages/i18n/locales/fr/app.json b/packages/i18n/locales/fr/app.json index 17bf5a241a..09017a7141 100644 --- a/packages/i18n/locales/fr/app.json +++ b/packages/i18n/locales/fr/app.json @@ -7892,7 +7892,6 @@ "promoteTask": "", "promoting": "", "queued": "En file d'attente", - "quickEntryHint": "Entrée pour créer · Échap pour annuler", "refine": "Affiner", "refineAddDetails": "Ajouter des détails", "refineAddDetailsDesc": "Ajouter des détails d'implémentation et du contexte", diff --git a/packages/i18n/locales/ko/app.json b/packages/i18n/locales/ko/app.json index 6a32e1b70d..cb9c5418f6 100644 --- a/packages/i18n/locales/ko/app.json +++ b/packages/i18n/locales/ko/app.json @@ -7892,7 +7892,6 @@ "promoteTask": "", "promoting": "", "queued": "대기 중", - "quickEntryHint": "Enter로 생성 · Esc로 취소", "refine": "다듬기", "refineAddDetails": "세부 사항 추가", "refineAddDetailsDesc": "구현 세부 사항과 맥락 추가", diff --git a/packages/i18n/locales/zh-CN/app.json b/packages/i18n/locales/zh-CN/app.json index 982375342b..2a1c570765 100644 --- a/packages/i18n/locales/zh-CN/app.json +++ b/packages/i18n/locales/zh-CN/app.json @@ -7892,7 +7892,6 @@ "promoteTask": "", "promoting": "", "queued": "排队中", - "quickEntryHint": "Enter 创建 · Esc 取消", "refine": "优化", "refineAddDetails": "添加细节", "refineAddDetailsDesc": "添加实现细节和上下文", diff --git a/packages/i18n/locales/zh-TW/app.json b/packages/i18n/locales/zh-TW/app.json index 17dceed245..0b11a276c5 100644 --- a/packages/i18n/locales/zh-TW/app.json +++ b/packages/i18n/locales/zh-TW/app.json @@ -7892,7 +7892,6 @@ "promoteTask": "", "promoting": "", "queued": "佇列中", - "quickEntryHint": "Enter 建立 · Esc 取消", "refine": "優化", "refineAddDetails": "新增細節", "refineAddDetailsDesc": "新增實作細節與脈絡", diff --git a/packages/i18n/src/resources.d.ts b/packages/i18n/src/resources.d.ts index ad70e63e37..bc6b73a3e5 100644 --- a/packages/i18n/src/resources.d.ts +++ b/packages/i18n/src/resources.d.ts @@ -7935,7 +7935,6 @@ export default interface Resources { "promoteTask": "Promote task", "promoting": "Promoting…", "queued": "Queued", - "quickEntryHint": "Enter to create · Esc to cancel", "refine": "Refine", "refineAddDetails": "Add details", "refineAddDetailsDesc": "Add implementation details and context",