Repository navigation
Labs: Vocabulary menu in the macOS menu bar - #2550
Merged
Merged
Conversation
Labs › Vocabulary menu, off by default, adds Vocabulary ▸ right under Speech Model ▸: Add term… opens Settings' Vocabulary sheet with a new focused row at its end, the last five saved terms list newest first as disabled informational rows, and Open vocabulary… opens the sheet. Off, the row is hidden and the menu is exactly as before. requested in #2540
thdxr
force-pushed
the
menu-vocabulary
branch
from
November 23, 2026 17:55
3633ac5 to
14afb21
Compare
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.
Adds a macOS Labs toggle (Dictation group, off by default) that adds Vocabulary ▸ to the menu-bar menu directly after Speech Model ▸. Off, the row is hidden and the menu is exactly unchanged.
With it on:
The submenu is rebuilt as the menu opens from
dictation::vocabulary::entries(), only whilelabs::vocabulary_menu()is on; the row is hidden otherwise.Tests added:
vocabulary_lists_the_last_five_terms_newest_first(macos_rune/status_item.rs, macOS only): newest-first order, five-term cap, truncation, empty list, and item titles.the_vocabulary_menu_is_a_macos_dictation_lab_off_by_default(labs.rs): descriptor, Dictation group, macOS only, off by default.adding_a_term_from_the_menu_opens_the_sheet_with_one_blank_row_lastandadding_a_term_to_an_empty_list_opens_the_one_blank_row_it_made(rune_ui/vocabulary.rs).mac-labs*goldens are regenerated.Check macOS on 3633ac5: https://github.com/anomalyco/hex/actions/runs/45231540095 — success.
Closes #2540