Skip to content

refactor(ui): finish the control scale and button family leftovers - #1454

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/1333-1335-kit-leftovers
Oct 11, 2026
Merged

ZhuchkaTriplesix merged 2 commits into
devfrom
issue/1333-1335-kit-leftovers

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Closes the remaining acceptance gaps of #1333, #1334 and #1335 after the migration PRs.

  • QueryaIconButton / QueryaToolbarButton: only size: QueryaControlSize; the legacy QueryaIconButtonDensity enum is removed and its 23 call sites in lib/ use QueryaControlSize.sm / md.
  • QueryaActionButton is removed (it existed to let the migration go file by file, which is done): 15 call sites use QueryaButton.secondary, the destructive one via tone: QueryaButtonTone.destructive.
  • New QueryaButtonGroup (+ QueryaButtonGroupItem): related actions that are not tabs as one outlined control with equal height and 1 px dividers, as in QueryaSplitButton; exported from widgets.dart, documented in docs/ui-kit.md.
  • Tests: new querya_button_group_test.dart; icon button and token tests use size; the wrapper's test is deleted with the wrapper.

Refs #1331

- QueryaIconButton / QueryaToolbarButton take only a QueryaControlSize;
  the legacy QueryaIconButtonDensity enum and its 23 call sites are gone.
- QueryaActionButton is removed: its 15 call sites use
  QueryaButton.secondary (destructive tone instead of isDestructive).
- QueryaButtonGroup: segmented related actions as one outlined control,
  equal height, 1 px dividers.

Refs #1333 #1334 #1335
@github-actions github-actions Bot added enhancement New feature or request frontend Theme parser epic label: frontend ui User interface components and widgets ux User experience, keyboard shortcuts and interactions P2 Medium priority / Parity & Refactoring labels Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request frontend Theme parser epic label: frontend P2 Medium priority / Parity & Refactoring ui User interface components and widgets ux User experience, keyboard shortcuts and interactions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant