8000 feat(ui): choose a project program, a plugin select and a slot from menus by aorumbayev · Pull Request #121 · kagan-sh/kagan · GitHub
[go: up one dir, main page]

Skip to content

feat(ui): choose a project program, a plugin select and a slot from menus - #121

Merged
aorumbayev merged 7 commits into
mainfrom
feat/choice-menus
Nov 11, 2026
Merged

aorumbayev merged 7 commits into
mainfrom
feat/choice-menus

Conversation

@aorumbayev
Copy link
Copy Markdown
Member

Branch feat/choice-menus.

Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.

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
@aorumbayev
aorumbayev merged commit 19e9949 into main Nov 11, 2026
19 checks passed
@aorumbayev
aorumbayev deleted the feat/choice-menus branch November 11, 2026 02:05
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

0