openpencil/packages/docs
Danila Poyarkov 79fee711c7
feat(app): jump between pages from the command palette (#801)
* fix(vue): keep the command palette open when a command opens a step

CommandPaletteRoot emitted select for every item, including one that only opens its children, so a host that closes on select closed the palette instead of showing the step. useCommandPalette.select now reports whether a command ran, and the root emits only then.

Disabled items were marked only with Reka's data-disabled; expose aria-disabled so assistive technology announces them.

* feat(app): jump between pages from the command palette

The palette had no way to reach a page. It now lists the pages visited recently in the tab, offers a Go to page step with every page, and finds any page by name.

Recent pages are tracked per editor session from page changes and reset when the document is replaced. Palette items can be search-only, so pages beyond the recent ones appear only when the query matches them. The divider-page rule moves out of PageListRoot so the palette skips dividers the same way, and useCommandPalette is exported from the package root.

* fix(vue): list every item in a command palette step

The result limit also applied to a step's unfiltered list, so Go to page showed only the first 12 pages. A step the user opened now lists all of its items until they search; search results and the top-level list keep the limit.

The palette spec's page setup and current-page observation move to tests/helpers/pages as a setup mutation, a probe, and a Pages-panel driver.

* test(pages): match page rows by exact name

* refactor(app): express page lists with es-toolkit

Recent pages are take(uniq([visited, ...previous]), max); the palette builds its lookup with keyBy and its lists with without, compact, take, and difference instead of hand-built maps, sets, and slices. Tests count with range.
2026-10-01 20:26:35 +04:00
..
.vitepress feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
de feat(figma-api): add detachInstance() to instances (#778) 2026-09-30 05:19:11 +04:00
development feat(fig): occurrence-scoped instance interpretation as the single .fig reader 2026-10-01 11:20:27 +04:00
es feat(figma-api): add detachInstance() to instances (#778) 2026-09-30 05:19:11 +04:00
fr feat(figma-api): add detachInstance() to instances (#778) 2026-09-30 05:19:11 +04:00
it feat(figma-api): add detachInstance() to instances (#778) 2026-09-30 05:19:11 +04:00
overview fix: use official Homebrew cask installation guidance (#712) 2026-09-17 13:36:17 +03:00
pl feat(figma-api): add detachInstance() to instances (#778) 2026-09-30 05:19:11 +04:00
programmable feat: preview streamed JSX on the canvas (#692) 2026-10-01 10:52:36 +04:00
public feat: refresh branding with generated platform icons (#707) 2026-09-16 11:54:07 +03:00
reference feat(cli): export Storybook stories beside many documents (#761) 2026-09-30 22:05:51 +04:00
ru feat(figma-api): add detachInstance() to instances (#778) 2026-09-30 05:19:11 +04:00
user-guide feat(app): jump between pages from the command palette (#801) 2026-10-01 20:26:35 +04:00
AGENTS.md build(tools): group tools by role and gate them like the rest of the repo (#791) 2026-09-30 05:00:31 +04:00
getting-started.md fix: explain unsupported browsers instead of a blank window (#745) 2026-09-22 14:40:59 +04:00
index.md Refine docs structure for SDK and automation 2026-03-24 23:24:08 +03:00
package.json build(tools): group tools by role and gate them like the rest of the repo (#791) 2026-09-30 05:00:31 +04:00