chain-studio/lib/widgets
flemming-it ed680c507a
Some checks failed
Security / Security check (push) Failing after 1s
refactor(ui): one canonical segment control (ChainSegments) everywhere
The same single-select choice pattern appeared as four widgets:
audit's hover pills, the store's SegmentedButton, the store filter
dialog's ChoiceChips, and the approvals TabBar (usertest finding
#14 / night-log decision 'pill segment as canon'). The audit
pattern is promoted to a shared ChainSegments widget (optional
icons, hover, selected border, button+selected semantics) and all
four sites use it; approvals switches lists via IndexedStack so
both stay alive and switching does not refetch.

Guard per the no-bugfix-without-a-guard rule: widget tests for
selection + semantics, plus a canon sweep that bans
TabBar/TabBarView/TabController/SegmentedButton/ChoiceChip from
lib/ (comments exempt). Deliberately out of scope: the flow
editor's Graph/Text/Run tabs live in the separate editor package.
Studio 0.75.0; guide images regenerated, dark + light verified.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-07-19 02:58:54 +02:00
..
chain_binary_recovery.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_card.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_data_row.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_delta_mark.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_empty_state.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_en_badge.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_error_box.dart fix(setup): wizard errors copyable above the dialog, CLI skew explained, exec transparency 2026-07-15 00:10:01 +02:00
chain_flow_output.dart refactor: FaiError -> ChainError (SDK stub rename lockstep) 2026-07-11 23:14:33 +02:00
chain_install_confirm.dart feat(store): trust gate before every module install 2026-07-17 23:44:14 +02:00
chain_log_viewer.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_module_sheet.dart refactor: FaiError -> ChainError (SDK stub rename lockstep) 2026-07-11 23:14:33 +02:00
chain_pill.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_sealed_identity_bar.dart feat: sealed-area connection switch + identity bar (multi-project stage 3) 2026-07-12 17:31:39 +02:00
chain_search_palette.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_segments.dart refactor(ui): one canonical segment control (ChainSegments) everywhere 2026-07-19 02:58:54 +02:00
chain_settings_dialog.dart fix(ux): quick wins from the usertest medium list 2026-07-18 00:24:13 +02:00
chain_status_dot.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
chain_stores_dialog.dart refactor: FaiError -> ChainError (SDK stub rename lockstep) 2026-07-11 23:14:33 +02:00
chain_system_ai_editor.dart fix(settings): reveal System-AI test result + refresh onboarding checklist 2026-07-13 14:15:17 +02:00
chain_workspace_switcher.dart fix(store,audit,workspace): usertest low-findings tail (0.72.1) 2026-07-18 01:08:09 +02:00
guided_setup_dialog.dart fix(ux): quick wins from the usertest medium list 2026-07-18 00:24:13 +02:00
hub_auth_policy_panel.dart fix(shell): daemon-start and health-poll auth handling; policy panel freshness 2026-07-15 05:50:24 +02:00
hub_load_error_view.dart feat(test): hermetic hub fake + state-matrix sweep across all pages 2026-07-19 01:02:51 +02:00
theme_picker_grid.dart refactor: rename internal Fai* design system + fai_ helpers to chain 2026-06-16 17:53:17 +02:00
widgets.dart refactor(ui): one canonical segment control (ChainSegments) everywhere 2026-07-19 02:58:54 +02:00