Repository navigation
Conversation
Menu and MenuItem take an optional hint. A row with a hint stays on one line and carries the sentence as its aria-description; a menu with a hint shows one description at its foot for the row under the pointer or the focus. The composer's access and + menus use it, with Plan and Auto as switches. Every sentence is the existing copy, plus one new line for Attach files. All menus take the refreshed shell: hairline border, elevated surface, tinted hover and selection. Menus that pass no hint keep their rows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011Ya6qvLmxrim1dK1KjEpJ7
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage-agent
View coverage of the 4 most impacted files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. |
This branch was successfully deployed
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.
Second of five PRs for the chat and prompts refresh, stacked on #527 (its base is
chat-refresh-foundation, so this diff shows only the menu work). Design:docs/superpowers/specs/2026-11-15-chat-prompts-refresh-design.md, section "2. Menus". Plan:docs/superpowers/plans/2026-11-16-chat-refresh-menus.md.What changes
MenuandMenuItemtake an optionalhint.aria-description.aria-hidden, so the sentence is not read twice.aria-checked.The composer's two menus use it. The access menu (modes, and approvals on a thread) gains an "Access" label and opens with the current mode focused. The
+menu shows Plan and Auto as switches. Every description is today's sentence, word for word; "Add files or images to your next message." is new, for Attach files, which had none. A backend's description moves from itstitletooltip to the foot.Every menu takes the refreshed shell: hairline border, elevated surface, a short opacity fade on open, tinted hover and selection. Menus that pass no hint (the model picker and the others) keep their rows and content.
What was and was not run
Written in a session that cannot install dependencies, like #527, which then passed CI on its first run.
scripts/test/radius-scale.test.mjs.Menu.tsxtype-checks against stand-in React declarations.pnpm build,pnpm test,pnpm test:e2e. CI is the first full run, ande2e/menu-hints.spec.tshas never executed.Review notes
+menu every row is disabled while a turn runs.--tint-strongon the elevated surface instead of the row-selected colour on the sidebar colour.Generated by Claude Code