You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--body-background:radial-gradient(circle at 20%0%,rgba(255,122,0,.16),var(--transparent) 28%),radial-gradient(circle at 80%10%,rgba(32,214,255,.10),var(--transparent) 24%),var(--bg);
| Current git branch | main | main | PASS |`git branch --show-current`|
8
+
9
+
## Requirement Checklist
10
+
11
+
| Requirement | Status | Evidence |
12
+
| --- | --- | --- |
13
+
| Restore `toolbox/index.html` group values to match Admin Tool Votes. | PASS | Playwright reads Admin Tool Votes rows from `admin/tool-votes.html`, then verifies every visible Toolbox card group label matches the Admin assignment. |
14
+
| Use `admin/tool-votes.html` as source for current correct assignment. | PASS | Targeted Playwright extracts `Tool -> Group` from `[data-toolbox-votes-tool-id]` rows and compares it with `[data-toolbox-tool-card]` group labels. |
15
+
| Restore Toolbox group colors to pre-voting/filter values. | PASS |`assets/theme-v2/css/colors.css` now owns `--toolbox-group-*` colors; Build/Create is restored to recovered `#ff4d4d`. |
16
+
| Recover prior group color values from git history. | PASS | Source: `git show a3bc4016e:toolbox/tools-page-accordions.js` and `git show a3bc4016e:assets/theme-v2/css/colors.css`; `a3bc4016e` is the pre-PR_26160_055 recovery point. |
17
+
| Keep group as metadata, not status. | PASS | Group mapping remains separate from `stateSwatchMap` and release channel/status code. |
18
+
| Do not change tool status values or vote behavior. | PASS | No registry status/release/vote logic was changed. |
19
+
| Do not add new features or expand scope. | PASS | Changes are limited to group color classes/tokens, group swatch class mapping, readability preservation, and targeted validation. |
20
+
| Do not use inline script/style/event handlers. | PASS |`rg --pcre2` found no inline script/style/event handler matches in `toolbox/index.html` or `admin/tool-votes.html`. |
21
+
22
+
## Restored Group Color Source
23
+
24
+
Recovered from git history at `a3bc4016e` (`PR_26159_054-toolbox-status-and-display-cleanup`), before today’s Toolbox voting/filter changes:
25
+
26
+
| Group | Restored Color Source | Rendered Color |
27
+
| --- | --- | --- |
28
+
| AI |`swatch-purple` / `var(--purple)`|`rgb(184, 119, 255)`|
| Play |`swatch-green` / `var(--green)`|`rgb(125, 217, 87)`|
35
+
36
+
Note: PR_26160_061 intentionally changed the global Theme V2 `--red` token to `#ff2d2d`. This PR restores Toolbox group color display without reverting that global token by adding group-specific Theme V2 tokens such as `--toolbox-group-build-color: #ff4d4d`.
| Group color token audit | `Select-String -Path assets/theme-v2/css/colors.css -Pattern '--toolbox-group-build-color|#ff4d4d|--red:'` | PASS |
46
+
| Targeted Toolbox/Admin group Playwright |`npx playwright test tests/playwright/tools/ToolboxRoutePages.spec.mjs -g "toolbox group labels match"`| PASS |
47
+
| Static diff check |`git diff --check`| PASS with CRLF normalization warnings only |
48
+
49
+
## Impacted Lane
50
+
51
+
Targeted Toolbox/Admin group display validation was impacted and run.
52
+
53
+
## Skipped Lanes
54
+
55
+
Full samples validation was skipped because this PR only changes Toolbox group display colors and targeted Toolbox/Admin validation. No sample loader/framework code changed.
56
+
57
+
## Manual Test Notes
58
+
59
+
- Admin Tool Votes remains the source for `Tool -> Group` assignment.
60
+
- Toolbox cards show the same group names as Admin Tool Votes.
61
+
- Build/Create group badges render the recovered pre-voting red `rgb(255, 77, 77)`.
62
+
- Marketplace and Play group badges keep the previous readable dark text behavior.
0 commit comments