fix(review): UI nits — margins, buttons, moisture, live validation
Post-publish: hide Back while publishing; drop Settings/Slabs chrome on done (remove unused white Slabs control). Review/App horizontal padding. Unify Create desc / View prompt / Create title|short as .btn-sec. Moisture kd default: sync select after form mount; persist via commit. Ready/missing update on input (debounced) without blur.
This commit is contained in:
@@ -44,3 +44,15 @@ test('Review UI: View prompt + Create desc gate wiring', () => {
|
||||
// Description is not part of the Create-desc gate label list
|
||||
assert.equal(reviewSrc.includes("Create desc needs: description"), false);
|
||||
});
|
||||
|
||||
test('Review UI: live field commit + unified secondary buttons + moisture default', () => {
|
||||
assert.match(reviewSrc, /scheduleFieldCommit/);
|
||||
assert.match(reviewSrc, /scheduleDescCommit/);
|
||||
assert.match(reviewSrc, /class="btn-sec"/);
|
||||
assert.match(reviewSrc, /applyMoistureDefault/);
|
||||
assert.match(reviewSrc, /void syncSelects\(\)/);
|
||||
// No leftover white unstyled view-prompt class
|
||||
assert.equal(reviewSrc.includes('view-prompt-btn'), false);
|
||||
assert.equal(reviewSrc.includes('create-btn'), false);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user