Commit Graph

2 Commits

Author SHA1 Message Date
Jonas Bark
5c44ca43f2 UI adjustments 2026-07-09 15:48:34 +02:00
Jonas Bark
1ba08d0527 refactor(sram): split setup-sheet UI out of the device file
sram_axs.dart had grown to ~990 lines by carrying the whole guided
setup/restore sheet. Extract it in two layers:

- lib/widgets/guided_operation_sheet.dart — reusable, feature-agnostic
  building blocks (StepRail, StageBadge, ProgressChecklist) any staged
  setup flow can compose.
- sram_setup_sheet.dart — the SRAM-specific composition, copy, palette
  and the AXS "press & hold" hero.

The device file (446 lines now) keeps only device/BLE logic and the
trimmed panel. No behaviour or pixels change.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 15:15:28 +02:00