Skip to content

Commit 3af8087

Browse files
author
DavidQ
committed
Fix Palette Manager source palette SSoT, layout, and SVG thumbtack pin UI - PR_26124_028-palette-manager-layout-and-swatch-source-fix
1 parent e2a45e1 commit 3af8087

9 files changed

Lines changed: 347 additions & 1668 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# PR_26124_028 Palette Manager Layout And Swatch Source Fix
2+
3+
## Summary
4+
- Moved Selected Swatch details/edit controls into the left column.
5+
- Moved User Palette to the top of the center column.
6+
- Moved source palette browsing into an Add User Swatch accordion in the center column.
7+
- Rendered source swatches as tile-only color tiles with hover/focus details for name, symbol, hex, and source.
8+
- Replaced the text tack button with an SVG thumbtack using red fill for unpinned and green fill for pinned.
9+
- Moved source dropdown labels into `src/engine/paletteList.js`; Palette Manager now builds dropdown options from the actual `palettesList` ids exposed through `window.paletteList`, including `crayola008`, `crayola016`, `crayola024`, and the rest of the engine palette ids.
10+
11+
## Validation
12+
- `node --check src/engine/paletteList.js`
13+
- `node --check tools/palette-manager-v2/main.js`
14+
- `node --check tools/palette-manager-v2/modules/PaletteManagerApp.js`
15+
- `node --check tools/palette-manager-v2/modules/SwatchRow.js`
16+
- `node --check tools/palette-manager-v2/controls/SourcePaletteBrowserControl.js`
17+
- Palette source VM check confirmed `SOURCE_PALETTE_LABELS` and `SOURCE_PALETTES` are exposed by `src/engine/paletteList.js`, include `crayola008`/`crayola016`/`crayola024`/`crayola032`, and no longer include the collapsed `crayola` alias.
18+
19+
## Package
20+
- Delta ZIP: `tmp/PR_26124_028-palette-manager-layout-and-swatch-source-fix_delta.zip`
Lines changed: 13 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,18 @@
11
# git status --short
2-
M docs/dev/reports/codex_changed_files.txt
3-
M docs/dev/reports/codex_review.diff
4-
M docs/dev/reports/project_system_validation.txt
5-
M docs/dev/roadmaps/MASTER_ROADMAP_TOOLS.md
6-
D src/engine/paletteDefaults.js
7-
M src/engine/paletteList.js
8-
M tools/palette-manager-v2/README.md
9-
M tools/palette-manager-v2/index.html
10-
M tools/palette-manager-v2/main.js
11-
?? docs/dev/reports/PR_26124_027_report.md
12-
?? tools/common/
13-
?? tools/palette-manager-v2/controls/
14-
?? tools/palette-manager-v2/modules/
2+
AM docs/dev/reports/PR_26124_028_report.md
3+
M docs/dev/reports/codex_changed_files.txt
4+
MM docs/dev/reports/codex_review.diff
5+
MM src/engine/paletteList.js
6+
M tools/palette-manager-v2/controls/SourcePaletteBrowserControl.js
7+
M tools/palette-manager-v2/index.html
8+
M tools/palette-manager-v2/modules/PaletteManagerApp.js
9+
M tools/palette-manager-v2/modules/SwatchRow.js
10+
M tools/palette-manager-v2/paletteManagerV2.css
1511

1612
# git diff --stat (excluding codex review artifacts)
17-
docs/dev/reports/project_system_validation.txt | 9 +-
18-
docs/dev/roadmaps/MASTER_ROADMAP_TOOLS.md | 4 +-
19-
src/engine/paletteDefaults.js | 19 -
20-
src/engine/paletteList.js | 54 +++
21-
tools/palette-manager-v2/README.md | 1 +
22-
tools/palette-manager-v2/index.html | 1 +
23-
tools/palette-manager-v2/main.js | 565 +------------------------
24-
7 files changed, 86 insertions(+), 567 deletions(-)
13+
docs/dev/reports/PR_26124_028_report.md | 4 ++--
14+
src/engine/paletteList.js | 26 ++++++++++++++++----------
15+
2 files changed, 18 insertions(+), 12 deletions(-)
2516

2617
# untracked file additions
27-
docs/dev/reports/PR_26124_027_report.md | 42 +
28-
tools/common/PaletteUsageService.js | 5 +
29-
tools/palette-manager-v2/controls/PaletteEditorControl.js | 55 +
30-
tools/palette-manager-v2/controls/PaletteImportExportControl.js | 75 +
31-
tools/palette-manager-v2/controls/PaletteValidationErrorControl.js | 20 +
32-
tools/palette-manager-v2/controls/SourcePaletteBrowserControl.js | 67 +
33-
tools/palette-manager-v2/controls/UserPaletteControl.js | 34 +
34-
tools/palette-manager-v2/modules/PaletteManagerApp.js | 323 +
35-
tools/palette-manager-v2/modules/PaletteValidationService.js | 65 +
36-
tools/palette-manager-v2/modules/SwatchRow.js | 46 +
37-
tools/palette-manager-v2/modules/paletteUtils.js | 30 +
18+
(no output)

0 commit comments

Comments
 (0)