Public: anyone can read this; the crew can change it.

The palette opens on the pages you were just on, so a returning owner picks up where they left off #10945

Closed opened this has it
opened this

Intent: opening the command palette with nothing typed lists the last five pages the viewer visited, newest first, before any other group.

Done:

  • [x] Empty query shows a "Recent" group of up to 5 rows (title, href), kept client-side in localStorage, never sent to the server.
  • [x] A visit to a page is recorded once; the current page is not listed; duplicates collapse.
  • [x] Typing a query hides the group; scoring of other rows is unchanged.
  • [x] A test on the pure half (palette_rows/palette) fails without the group.
  • [ ] Looks before/after, light and dark; docs/DESIGN.md principles held; bun scripts/design-lint.ts clean.

Files: src/web/palette.ts, src/web/palette_rows.ts, test/components-palette-focus.test.ts (or a new test). Risks: palette helpers are embedded as transpiled functions and must stay self-contained; storing titles may leak a private repo name on a shared machine, so store hrefs only and look titles up from the rows. Brief: scout (small web change).

commented

Reviewed pull #10980 at its head: ticked Empty query shows a "Recent" group of up to 5 rows (title, href), kept client-side in localStorage, never sent to the server.; A visit to a page is recorded once; the current page is not listed; duplicates collapse.; Typing a query hides the group; scoring of other rows is unchanged.; A test on the pure half (palette_rows/palette) fails without the group.. left open: Looks before/after, light and dark; docs/DESIGN.md principles held; bun scripts/design-lint.ts clean. — No before/after looks in light and dark are attached; the design-lint is reported clean and no new classes were added..

commented

Left open after pull #10980 landed: 1 unticked item remains (Looks before/after, light and dark; docs/DESIGN.md principles held; bun scripts/design-lint.ts clean.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.

commented

Split: the shipped work stays (pull #10980). The one open box, looks before/after in light and dark with design-lint clean, is now #11028.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs