From cb77fcb008fba47ef21637fec04078a6498bbcb9 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Sat, 29 Aug 2026 03:43:33 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#97638) Co-authored-by: github-actions[bot] --- apps/desktop/src/plugins/kanban/api.ts | 7 +++---- apps/desktop/src/plugins/kanban/board-switcher.tsx | 7 +------ apps/desktop/src/plugins/kanban/i18n.ts | 3 +-- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/apps/desktop/src/plugins/kanban/api.ts b/apps/desktop/src/plugins/kanban/api.ts index 39951e87b7..d079693ace 100644 --- a/apps/desktop/src/plugins/kanban/api.ts +++ b/apps/desktop/src/plugins/kanban/api.ts @@ -269,10 +269,9 @@ export const updateBoard = (slug: string, patch: Record) => /** Archive a board to `boards/_archived/` — recoverable, and the backend * refuses to touch `default`. (`?delete=true` hard-deletes; no caller yet.) */ export const deleteBoard = (slug: string) => - call<{ result: { action: string; new_path: string }; current: string }>( - `/boards/${encodeURIComponent(slug)}`, - { method: 'DELETE' } - ) + call<{ result: { action: string; new_path: string }; current: string }>(`/boards/${encodeURIComponent(slug)}`, { + method: 'DELETE' + }) // Board transfer exchanges filesystem paths, not bytes — the picker runs on // the machine hosting the backend, so the backend reads and writes the file. diff --git a/apps/desktop/src/plugins/kanban/board-switcher.tsx b/apps/desktop/src/plugins/kanban/board-switcher.tsx index b4c6597285..b890c146f1 100644 --- a/apps/desktop/src/plugins/kanban/board-switcher.tsx +++ b/apps/desktop/src/plugins/kanban/board-switcher.tsx @@ -206,12 +206,7 @@ function NewBoardDialog({ onClose, open }: { onClose: () => void; open: boolean > {/* Enter submits only while the scope is untouched — once a project is picked the choice is worth a deliberate click. */} - slug && !project && create.mutate()} - slug={slug} - value={name} - /> + slug && !project && create.mutate()} slug={slug} value={name} /> ) diff --git a/apps/desktop/src/plugins/kanban/i18n.ts b/apps/desktop/src/plugins/kanban/i18n.ts index 466986b4ea..8f36823bab 100644 --- a/apps/desktop/src/plugins/kanban/i18n.ts +++ b/apps/desktop/src/plugins/kanban/i18n.ts @@ -390,8 +390,7 @@ export const en: KanbanMessages = { boardImportedAs: slug => `That name was taken — imported as ${slug}`, renameBoardTitle: 'Rename board', deleteBoardTitle: name => `Delete "${name}"?`, - deleteBoardConfirm: - 'The board is archived, not erased — its tasks and attachments stay on disk and can be restored.', + deleteBoardConfirm: 'The board is archived, not erased — its tasks and attachments stay on disk and can be restored.', boardArchived: path => `Board archived to ${path}`, boardSettingsFor: name => `Board settings — ${name}`, name: 'Name',