Skip to content

Commit d670f16

Browse files
author
DavidQ
committed
Align User Palette tile layout with source swatches and add shared swatch size control - PR_26124_033-user-palette-tile-layout-and-size-control
1 parent 917bcb7 commit d670f16

9 files changed

Lines changed: 586 additions & 89 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# PR_26124_033 User Palette Tile Layout And Size Control Report
2+
3+
## Scope
4+
- Updated Palette Manager V2 user/source swatch tile presentation only.
5+
- Kept controls class-based and did not touch tools/shared, schemas, sample JSON, games, workspace, toolState, or session logic.
6+
7+
## Changes
8+
- User Palette now renders user swatches as color tiles instead of row cards.
9+
- User and source tiles share the same hover popover behavior with name, symbol, hex, and source details.
10+
- Added in-memory swatch size state with Small, Medium, and Large options; Large is the default and matches the prior source tile size.
11+
- Added a Swatch size dropdown on the right side of the source sort controls row.
12+
- Size changes apply to User Palette and Add User Swatch/source palette tiles without mutating palette JSON.
13+
14+
## Validation
15+
- `node --check tools/palette-manager-v2/modules/SwatchRow.js`
16+
- `node --check tools/palette-manager-v2/controls/UserPaletteControl.js`
17+
- `node --check tools/palette-manager-v2/controls/SourcePaletteBrowserControl.js`
18+
- `node --check tools/palette-manager-v2/modules/PaletteManagerApp.js`
19+
- `git diff --check`
20+
21+
## Packaging
22+
- Delta ZIP: `tmp/PR_26124_033-user-palette-tile-layout-and-size-control_delta.zip`
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
docs/dev/reports/PR_26124_032_report.md
2-
tools/common/PaletteSortService.js
1+
docs/dev/reports/PR_26124_033_report.md
32
tools/palette-manager-v2/controls/SourcePaletteBrowserControl.js
3+
tools/palette-manager-v2/controls/UserPaletteControl.js
4+
tools/palette-manager-v2/index.html
45
tools/palette-manager-v2/modules/PaletteManagerApp.js
6+
tools/palette-manager-v2/modules/SwatchRow.js
7+
tools/palette-manager-v2/paletteManagerV2.css

0 commit comments

Comments
 (0)