Files
bookmarkmagic/src/entrypoints
poli0981andClaude Opus 5.5 04c04d4410 fix(ui): act on the 1.1.0 UI review — focus, bulk lock, windowed tree, toasts
The adversarial review of the 1.1.0 UI found fifteen problems that the unit
tests and svelte-check could not see; all but one were reproduced in the
built harness first.

- Edit tree: F2 and New folder now focus and select the rename box (Svelte's
  autofocus only acts when nothing else has focus, which was never the case
  here), and Enter or Esc returns focus to the tree. A folder created during
  a search is inserted at once and every folder above it is opened as the
  user's own, so clearing the search no longer hides it and locks the keys.
  A focused row that leaves the screen hands focus to its nearest visible
  folder (edit/focus-repair.ts), and a rename whose row is hidden is
  dropped. A folder closed during a search stays closed until the text
  changes. Right arrow on an empty folder does nothing.
- One bulk command at a time: sort and keep-first now lock every other
  write in the session itself, not just the toolbar, and only the command
  that set `busy` clears it.
- #edit mounts a 500-row window around the focus (edit/row-window.ts) with
  "Show earlier" / "Show more": End on 20k rows mounted all of them.
- Failures get a pinned toast slot; later toasts still show and announce.
- Import: the preview's new/dup badges show again (`$state.raw` — a deep
  proxy broke the WeakMap lookups, already broken in 1.0.x), each step's
  heading takes focus, and one live region announces the outcome.
- Dialogs name their close button "Dismiss" and are described by their
  body, so the counts are read with the title.
- 375 px: the edit toolbar wraps; titles keep their room before the domain.
- Wording: untitled items named by their address in dialogs; plurals for
  show-more and the duplicate summary; a diagnostics copy failure says so;
  the Move dialog's filter is labelled as a folder filter; the Japanese
  notices spell ブラウザ and フォルダ like the rest of the dictionary.
- The logo pulse stops after two cycles (WCAG 2.2.2), and the popup
  switches only the Manager tab it brings forward.
- Back under the size limits: EditSession is three layers (edit-view,
  edit-commands, edit-session); RowActions, RenameInput, ImportProgress,
  ImportAnnouncer and StatusBar are their own components; the tree's key
  handling lives in edit/tree-keys.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 03:22:56 +07:00
..