Skip to content

refactor(picker): make header hint ordering explicit#419

Merged
barrettruth merged 1 commit intomainfrom
refactor/picker-header-ordering
Apr 26, 2026
Merged

refactor(picker): make header hint ordering explicit#419
barrettruth merged 1 commit intomainfrom
refactor/picker-header-ordering

Conversation

@barrettruth
Copy link
Copy Markdown
Owner

Problem

Picker header hint order was implicit in action array order, which made the UX contract hard to reason about and easy to change accidentally.

Solution

Add shared header-ordering logic in the picker layer, let each picker declare its canonical semantic order, and lock the behavior in picker and fzf specs.

Centralize picker header hint ordering so each picker can declare a
semantic action priority instead of relying on incidental action array
order.
@barrettruth barrettruth merged commit 484d4e2 into main Apr 26, 2026
3 checks passed
@barrettruth barrettruth deleted the refactor/picker-header-ordering branch April 26, 2026 21:01
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