feat(ui): Jeff-facing copy + 3:4 inventory thumbs + fixed overlay font
Locked UI/copy pass on proto-per-user-woo-creds (Settings/Woo gate polish out of scope): - Inventory PNG thumbs at 3:4 contain (Review, Publish preview, Photos ready); stop 1:1 cover squaring - Dimension overlay labels fixed OVERLAY_FONT_PX=36 for every product - Page 1–3 Jeff-plain copy; drop Measure red tech essays / px scale rows - Review: lock SVG, consistent red missing/not-ready, View prompt gated (Settings default off)
This commit is contained in:
@@ -58,3 +58,19 @@ test('Review UI: live field commit + unified secondary buttons + moisture defaul
|
||||
assert.equal(reviewSrc.includes('create-btn'), false);
|
||||
});
|
||||
|
||||
test('Review UI: Jeff-facing copy + 3:4 thumbs + View prompt gated', () => {
|
||||
assert.match(reviewSrc, /Review slab/);
|
||||
assert.match(reviewSrc, /Square feet \/ Board feet/);
|
||||
assert.match(reviewSrc, /Create short description/);
|
||||
assert.match(reviewSrc, /Create description/);
|
||||
assert.match(reviewSrc, /Generate short and full description/);
|
||||
assert.match(reviewSrc, /3–24 letters, numbers, or hyphens/);
|
||||
assert.match(reviewSrc, /aspect-ratio: 3 \/ 4/);
|
||||
assert.match(reviewSrc, /object-fit: contain/);
|
||||
assert.match(reviewSrc, /getShowViewPrompt/);
|
||||
assert.match(reviewSrc, /showViewPrompt/);
|
||||
assert.equal(reviewSrc.includes('Call 2'), false);
|
||||
assert.equal(reviewSrc.includes('Review to Ready'), false);
|
||||
assert.equal(/aspect-ratio:\s*1\b/.test(reviewSrc), false);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user