|
| 1 | +# PR_26155_033 Toolbox Group Color Name Normalization |
| 2 | + |
| 3 | +## Summary |
| 4 | + |
| 5 | +- Normalized dynamic Toolbox group color identifiers to creator-facing group names: |
| 6 | + - `tool-group-create` |
| 7 | + - `tool-group-build` |
| 8 | + - `tool-group-content` |
| 9 | + - `tool-group-media` |
| 10 | + - `tool-group-test` |
| 11 | + - `tool-group-share` |
| 12 | + - `tool-group-account` |
| 13 | +- Updated `toolbox/tools-page-accordions.js` and `toolbox/toolRegistry.js` to use the normalized names. |
| 14 | +- Kept tile outlines visible with the same group color treatment. |
| 15 | + |
| 16 | +## Theme V2 Gap Findings |
| 17 | + |
| 18 | +- Existing Theme V2 color classes used older names such as `tool-group-build-create`, `tool-group-content-assets`, and `tool-group-development-system`. |
| 19 | +- A reusable Theme V2 alias gap existed for the new creator-facing group names. |
| 20 | +- Added shared Theme V2 alias selectors in: |
| 21 | + - `assets/theme-v2/css/colors.css` |
| 22 | + - `assets/theme-v2/css/tools/grouping/build-create.css` |
| 23 | + - `assets/theme-v2/css/tools/grouping/content-assets.css` |
| 24 | + - `assets/theme-v2/css/tools/grouping/development-system.css` |
| 25 | + - `assets/theme-v2/css/tools/grouping/media-audio.css` |
| 26 | + - `assets/theme-v2/css/tools/grouping/platform-cloud.css` |
| 27 | + - `assets/theme-v2/css/tools/grouping/community-marketplace.css` |
| 28 | +- Older class names remain styled for compatibility with existing tool shells. |
| 29 | +- No page-local CSS, tool-local CSS, inline styles, or style blocks were added. |
| 30 | + |
| 31 | +## Validation Notes |
| 32 | + |
| 33 | +- Playwright verifies Assets uses `tool-group-content`. |
| 34 | +- Playwright verifies Worlds uses `tool-group-create`. |
| 35 | +- Playwright verifies every rendered Toolbox tile still has a `tool-group-*` class and a non-transparent border color. |
| 36 | +- `npm run test:workspace-v2`: PASS, 3 Playwright tests. |
| 37 | +- `git diff --check`: PASS. |
| 38 | + |
| 39 | +## Manual Test Notes |
| 40 | + |
| 41 | +- Verified Create, Build, Content, Media, Test, Share, and Account groups still render. |
| 42 | +- Verified group-color outlines remain visible on Toolbox tiles. |
| 43 | +- Verified Learn, Admin, and Arcade boundaries remain unchanged. |
0 commit comments