UI: generator selection groups, group hide/delete management, chip-row collapse - #5
Draft
ernop wants to merge 2 commits into
Draft
UI: generator selection groups, group hide/delete management, chip-row collapse#5ernop wants to merge 2 commits into
ernop wants to merge 2 commits into
Conversation
…se to UI Co-authored-by: Ernest French <ernestfrench@gmail.com>
Co-authored-by: Ernest French <ernestfrench@gmail.com>
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.
Summary
Adds a selection-group system to the
--uicomposer's generator chooser, per owner request:all/none/invert): built-in defaults (the standard text-job default set from/api/configdefaultOn) and image defaults (newdefaultOnWithImage— same tiers with text-only Ideogram V4 swapped for image-capable Ideogram V3), plus any user-saved groups. Clicking a group applies it as a complete media-section selection (listed models on, everything else off; disabled chips stay unchecked). Groups never touch the describe section, preserving the "Enable all can't fan out to paid describe endpoints" rule.mic_ui_settings_v1(genGroups).hiddenGenGroups.hide modelscollapses the media chip row so the group buttons are the whole chooser, with an "N selected" summary; the describe head gets the samehidetoggle for its chips. Both persist (gensRowCollapsed/describeRowCollapsed).Server change
UiWorkflow.cs/api/confignow carriesdefaultOnWithImageper generator alongsidedefaultOn. No behavior change for existing clients; initial checked state on a fresh window is stilldefaultOn.Testing
Live browser walkthrough on a local
--uiinstance (placeholder keys so chips are available): group apply/save/restore, hide/delete management with instant composer sync, reload persistence, describe-section toggle — all pass; console clean. One bug found and fixed during testing: the rows'display: gridoutranked the UA[hidden]rule, so collapsing never visually hid the chips (#gens-row[hidden], #describe-row[hidden] { display: none; }).dotnet test: 57/57 pass.Composer with group buttons
Saved custom group button
Collapsed model chips — group buttons only
Settings: model group buttons management
Describe section with hide toggle
Services affected
None — UI composer + config surface only. No provider calls change.
Settings
No settings.json changes required.
To show artifacts inline, enable in settings.