Skip to content

Commit 09c6956

Browse files
author
DavidQ
committed
Refine Palette Manager hover popover and source palette sort buttons - PR_26124_030-palette-hover-popover-and-sort-buttons
1 parent f604837 commit 09c6956

7 files changed

Lines changed: 230 additions & 477 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# PR_26124_030 Palette Hover Popover And Sort Buttons
2+
3+
## Summary
4+
- Converted source palette sort from dropdown to generated buttons: Original, Hue, Saturation, Brightness, Name.
5+
- Added active source sort button styling through `.is-active` and `aria-pressed`.
6+
- Kept User Palette sort as the existing dropdown.
7+
- Changed source swatch details back to an absolute popover positioned below the hovered/focused tile.
8+
- Kept the popover out of layout flow so it can overlap tiles below without shifting the grid.
9+
- Kept source palette data sourced from `src/engine/paletteList.js` only.
10+
11+
## Validation
12+
- `node --check tools/palette-manager-v2/controls/SourcePaletteBrowserControl.js`
13+
- `node --check tools/palette-manager-v2/modules/PaletteManagerApp.js`
14+
- `node --check tools/palette-manager-v2/main.js`
15+
- `node --check tools/common/PaletteSortService.js`
16+
- `git diff --check` passed with line-ending warnings only.
17+
18+
## Package
19+
- Delta ZIP: `tmp/PR_26124_030-palette-hover-popover-and-sort-buttons_delta.zip`
Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,17 @@
11
# git status --short
22
M docs/dev/reports/codex_review.diff
33
M tools/palette-manager-v2/controls/SourcePaletteBrowserControl.js
4-
M tools/palette-manager-v2/controls/UserPaletteControl.js
54
M tools/palette-manager-v2/index.html
6-
M tools/palette-manager-v2/main.js
75
M tools/palette-manager-v2/modules/PaletteManagerApp.js
8-
M tools/palette-manager-v2/modules/SwatchRow.js
96
M tools/palette-manager-v2/paletteManagerV2.css
10-
?? docs/dev/reports/PR_26124_029_report.md
11-
?? tools/common/PaletteSortService.js
7+
?? docs/dev/reports/PR_26124_030_report.md
128

139
# git diff --stat (excluding codex review artifacts)
14-
.../controls/SourcePaletteBrowserControl.js | 15 +++++++
15-
.../controls/UserPaletteControl.js | 20 ++++++++-
16-
tools/palette-manager-v2/index.html | 8 ++++
17-
tools/palette-manager-v2/main.js | 2 +
18-
.../modules/PaletteManagerApp.js | 48 ++++++++++++++++++++--
19-
tools/palette-manager-v2/modules/SwatchRow.js | 11 +++--
20-
tools/palette-manager-v2/paletteManagerV2.css | 44 +++++++++++---------
21-
7 files changed, 119 insertions(+), 29 deletions(-)
10+
.../controls/SourcePaletteBrowserControl.js | 30 ++++++++++-----
11+
tools/palette-manager-v2/index.html | 8 ++--
12+
.../modules/PaletteManagerApp.js | 2 +-
13+
tools/palette-manager-v2/paletteManagerV2.css | 45 +++++++++++++++++++++-
14+
4 files changed, 69 insertions(+), 16 deletions(-)
2215

2316
# untracked file additions
24-
docs/dev/reports/PR_26124_029_report.md | 25 +
25-
tools/common/PaletteSortService.js | 121 +
17+
docs/dev/reports/PR_26124_030_report.md | 19 +

0 commit comments

Comments
 (0)