Repository navigation
feat(ui): choose a project program, a plugin select and a slot from menus - #121
Merged
Merged
Conversation
The program buttons wrap, so First installed sits on its own line. The row is one menu that shows the current choice.
A select's options were a wrapping row of buttons. The control is the same menu a project setting already uses.
Clippy rejects a reference to an Option on the program menu.
Built-in and every plugin that can draw a slot were a wrapping row of buttons. The row is one menu that shows the current choice.
The plugin select, the project program and the slot menus each built the same menu item and button. They now share choice_item and choice_trigger in kagan/controls.rs, and the trigger carries the current choice as its value. A select with no value says Not chosen instead of an empty button. Menu item ids use a menu prefix, so a program's command cannot collide with the trigger or the notes. Decision 231 records the rule, and the size ceiling is raised to the measured product count.
# Conflicts: # docs/decisions.md # docs/look.md
# Conflicts: # .config/size-budget.txt # docs/decisions.md
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.
Branch feat/choice-menus.
Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.