Commit 2ed4bd6
refactor(brewhouse): group same-page previews into PreviewGroups
Consolidate each multi-preview page into one PreviewGroup file (named <hd:Preview>
children) instead of one [Preview] class per state:
- MenuPreviews (Full Catalog / No Results)
- CartPreviews (Items / Empty)
- OrdersPreviews (History / Empty)
- ProductDetailPreviews (Today's Special / Standard)
Each child classifies by its content type (the page), so the Previews tree is unchanged.
HomePage (single preview) and the dataTemplateKey component previews (product card,
order-status badge) stay as [Preview] classes — grouping would drop their Data Templates
classification.
Verified: Debug build succeeds; the four PreviewGroup types are generated into the assembly.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e185088 commit 2ed4bd6
24 files changed
Lines changed: 136 additions & 202 deletions
File tree
- studio/coffee-shop/BrewHouse/Previews
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 14 deletions
This file was deleted.
Lines changed: 0 additions & 10 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 0 additions & 11 deletions
This file was deleted.
0 commit comments