Skip to content

feat(palette): PROG-123 order move/arc pickers by outline rank with parent hints#97

Merged
bryankennedy merged 2 commits into
mainfrom
act/PROG-123
Jul 14, 2026
Merged

feat(palette): PROG-123 order move/arc pickers by outline rank with parent hints#97
bryankennedy merged 2 commits into
mainfrom
act/PROG-123

Conversation

@exe-dev-github-integration

@exe-dev-github-integration exe-dev-github-integration Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Implements PROG-123 — Show parent Workspaces on focus modal switcher.

What

  • Move picker (M): focuses now group under their parent workspace in the manual order set on the Outline/Structure pages (sortContainers for workspaces, byRankThenName for focuses within each), and each row's hint names the parent workspace instead of the constant "Focus". The filter query also matches the workspace name, since it's on screen.
  • Arc picker (A): arcs sort by outline rank instead of alphabetically, and the hint names the parent focus (the level one up). "current" still wins on the current arc; "No arc" stays pinned first.

Why

PROG-83's "pickers list alphabetically" rule predates manual container ranking — an alphabetical picker fights the order the owner curates on the Outline, and a bare focus name is ambiguous once two workspaces hold same-named focuses. Superseded for these two pickers only (docs/decisions/PROG-123.md); every other picker stays alphabetical.

Verification

  • bun run check + 180 unit tests pass; Prettier clean.
  • Playwright drive against local seed data: scraped both palettes on an action page and matched rows exactly against the expected order + hints computed from the snapshot (10 move rows across 3 workspaces, arc rows incl. "current" hint, workspace-name query filtering).

Follow-up in a second PR (owner review): the flat pickers were replaced by a single Location field + Workspace → Focus → Arc tree picker.

…arent hints

The move picker listed focuses alphabetically with a constant 'Focus'
hint, ignoring the manual order the owner curates on the Outline and
leaving same-named focuses under different workspaces ambiguous. Focuses
now group under their workspace in structure order (sortContainers for
workspaces, byRankThenName within), the hint names the parent workspace,
and the filter query matches the workspace name since it's on screen.

The arc picker likewise sorts byRankThenName and hints the parent focus
(the level one up); 'current' still wins on the current arc and 'No arc'
stays pinned first.

Supersedes PROG-83's alphabetical rule for these two pickers only —
docs/decisions/PROG-123.md; REFERENCE picker-order notes updated.
@bryankennedy
bryankennedy merged commit 3a43e17 into main Jul 14, 2026
2 checks passed
@bryankennedy
bryankennedy deleted the act/PROG-123 branch July 14, 2026 19:38
@exe-dev-github-integration exe-dev-github-integration Bot changed the title feat(palette): PROG-123 order move/arc pickers by outline rank with parent hints feat(action-page): PROG-123 one Location field + Workspace → Focus → Arc tree picker Jul 16, 2026
@exe-dev-github-integration exe-dev-github-integration Bot changed the title feat(action-page): PROG-123 one Location field + Workspace → Focus → Arc tree picker feat(palette): PROG-123 order move/arc pickers by outline rank with parent hints Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant