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
@@ -45,4 +45,4 @@ Markup and CSS changes in `tools/object-vector-studio-v2/index.html` and `tools/
45
45
46
46
## PR-Specific Note
47
47
48
-
The Workspace V2 run exercised Object Vector Studio V2 tag button/chip sizing, Rotate range/input-preservation and wrapped summary behavior, singular scale summary formatting, and Palette Paint/Stroke/Width plus Fill Op/Stroke Op row layout. Coverage remains advisory only.
48
+
The Workspace V2 run exercised Object Vector Studio V2 Center button labeling and recentering behavior, 0-255 opacity input validation, byte-to-normalized opacity conversion for SVG/schema rendering, and opacity input sizing/layout assertions. Coverage remains advisory only.
- Verified selected object tag chips for `bubba` and `player` render as `77px` buttons below the Add tag input row.
19
-
- Verified Rotate input exposes `min=-359` and `max=359`.
20
-
- Verified Rotate keeps the user-entered input value while applying the normalized/wrapped transform rotation.
21
-
- Verified transform summary wraps large/current rotation values into `0..359` and keeps singular same-axis scale text, for example `x 0, y 0, rot 73, scale 0.77`.
22
-
- Verified Palette controls render Paint, Stroke, and Width on the first row, with compact Fill Op and Stroke Op controls on the row below.
17
+
- Verified Object Preview viewport controls now render `Center` instead of `Dot`.
18
+
- Verified Center recenters the preview viewport to origin `0,0`, preserves current zoom, refreshes stale pointer text back to the centered origin display, and keeps the center marker visible.
19
+
- Verified Fill Op and Stroke Op inputs use `min=0`, `max=255`, `step=1`, and width sufficient for 4 visible digits.
20
+
- Verified opacity inputs visibly reject out-of-range values such as `-1` and `256`.
21
+
- Verified valid 0-255 opacity inputs convert to normalized style opacity values for schema/SVG rendering.
22
+
- Verified Fill Op and Stroke Op remain in the compact opacity row below Paint, Stroke, and Width.
23
23
24
24
## Manual Verification Equivalent
25
25
26
-
Targeted Object Vector Studio V2 browser automation covered the requested tag widths/layout, Rotate range and input preservation, wrapped transform summary rotation, compact Palette row split, and no-console-error checks.
26
+
Targeted Object Vector Studio V2 browser automation covered the requested Center label and centering behavior, opacity input sizing/range validation, normalized opacity rendering behavior, Palette opacity row layout, and no-console-error checks.
await expect(page.locator("#statusLog")).toHaveValue(/OK Applied palette color #6fd3ff from cyan to shape row 1 by render surface click\. Target: paint opacity 1\./);
await expect(page.locator("#statusLog")).toHaveValue(/OK Applied palette color #ffffff from white to shape row 1 by render surface click\. Target: stroke width 2, opacity 1\./);
await expect(page.locator("#statusLog")).toHaveValue(/FAIL Palette stroke opacity rejected: Stroke opacity must be a whole number between 0 and 255\./);
0 commit comments