Repository navigation
update desktop dialogs and pickers - #160
Merged
Merged
Conversation
thdxr
marked this pull request as ready for review
November 17, 2026 20:09
Ports anomalyco/opencode@8bb7fab26e (#64206).
Exercise the changes from anomalyco/opencode#64212, #64228, #64235, #64241 and #64409 in the desktop storybook.
Visual follow-up to anomalyco/opencode#64216 and #64241.
Hona
added a commit
that referenced
this pull request
Nov 20, 2026
…descendant and Left step, expose model budget (#260) Address all three #160 accessibility findings: - **Remote folder picker "More projects" trigger & overflow menu (`features/projects/src/remote_picker/`):** Give `"…"` accessible name `"More projects"` (`.label_static(t!("dialog.directory.moreProjects"))`) and `.expanded(...)`; change overflow menu rows from `role="button"` to focusable `role="menuitem"` rows; add keyboard navigation (`Down` from trigger, `ArrowUp`/`ArrowDown`/`Home`/`End`/`Enter`/`Space`/`Tab`) and layered `Escape` dismissal returning focus to `"More projects"`. - **Model picker `#effort-flyout` screen-reader navigation & `Left` step (`crates/session-view/src/pickers/{flyout.rs,dialog.rs,host.rs}`):** Wire `#picker-search` `.active_descendant(...)` to the active flyout option (`effort-default`, `effort-<variant>`, `effort-favorite`) while keyboard navigation is inside `#effort-flyout` (falling back to `option-<model>` otherwise), set `.checked(...)` on `menuitemradio` rows, label `#picker-search`, and restore `Left` arrow (`step < 0`) on a model row to step effort backward (`step_effort`). - **Model row budget accessible description (`crates/session-view/src/pickers/dialog.rs`):** Because `Role::ListBoxOption` is a leaf in Rune's accessibility tree, include budget status (`"$72.00 left"` / `"Budget reached"`), provider note, Free/Latest tags, and current effort in each option's `.description(...)` and set `.checked(selected)`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ports dialogs and project selection from anomalyco/opencode#64206, anomalyco/opencode#64216, anomalyco/opencode#64241, anomalyco/opencode#64228 and anomalyco/opencode#64450.
ports model selection and connections from anomalyco/opencode#64235, anomalyco/opencode#64409, anomalyco/opencode#64423, anomalyco/opencode#64212 and anomalyco/opencode#64139.
— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊