fmt(js): npm run fix on merge (#97638)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
hermes-seaeye[bot]
2026-08-29 03:43:33 +00:00
committed by GitHub
parent 36620578f0
commit cb77fcb008
3 changed files with 5 additions and 12 deletions

View File

@@ -269,10 +269,9 @@ export const updateBoard = (slug: string, patch: Record<string, unknown>) =>
/** 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.

View File

@@ -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. */}
<BoardNameField
onChange={setName}
onEnter={() => slug && !project && create.mutate()}
slug={slug}
value={name}
/>
<BoardNameField onChange={setName} onEnter={() => slug && !project && create.mutate()} slug={slug} value={name} />
<ProjectPicker onChange={setProject} value={project} />
</BoardDialog>
)

View File

@@ -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',