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
{{ message }}
Repository navigation
Commit 79c64a0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(tour): the welcome tour's card leaves the map's match bar and footer readable - at 1024 x 700 and 1440 x 900 it covered the end of the bar's sentence and the size key, since it stood clear of controls alone and neither line is one (ninth browser pass M02)
tourPlace now stands the card clear of the Treemap's match bar while it
says something (.tm-querybar:not(.idle)) and of the map's footer (.tm-foot),
as J04 has it stand clear of a control: at the place nearest its rest that
covers neither, never lower than its rest. Idle, the bar is only its saved
chips, which are controls already, and the rest of its row is the map's.
The bar comes, goes and changes its words under a card already placed, so
tmSyncQueryBar asks for a placement (tourPlaceSoon, one a frame, nothing
while the tour is down).
layoutQa measures it with BQA's geometry: at 1024 x 700 (bar y 475-562,
footer y 590-655) and 1440 x 900 (bar y 739-784, footer y 812-856) the card
stands 12 px above the bar, clear of both; with the bar hidden, 12 px above
the footer; over an idle bar alone it rests. placeTour's stub now finds an
element that says what it is only by a selector that matches it.
Mutants M02-a (bar not avoided), b (footer not avoided), c (a 4 px gap), d
(the idle bar avoided), f (no placement asked by the bar), g (asked only as
the bar comes), h and i (the bar's own shown/hidden rule broken), each RED,
restored by SHA-256.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test('the welcome tour\'s card leaves the map\'s match bar and its footer readable — at 1024 × 700 and 1440 × 900 it covered the end of the bar\'s sentence and the size key — and stands clear of each as it does of a control (ninth browser pass M02)',()=>{
1118
+
// BQA's ninth pass, Step 2 of 4 (195 px) on the Treemap with a query: at 1024 × 700 the bar is y 475–562 (x 288–966)
1119
+
// and the footer's three lines y 590–655; the card at rest, x 646–1006, y 419–614, covered about 320 px of the bar.
`the card leaves the bar and the footer readable, 12 px above the bar — the place nearest its rest that is clear of both (${placed.map((p)=>`${p.size}: ${p.card}`).join('; ')})`);
1139
+
// With nothing said in the bar it is hidden — not on screen — and the card stands clear of the footer alone.
assert.equal(chipsOnly.bottom,86,'over the idle bar\'s empty row, with nothing else under it, it rests');
1146
+
});
1147
+
1148
+
test('the match bar coming, going or changing its words asks for the coach card to be placed again — the bar grows and shrinks under a card already placed (ninth browser pass M02)',()=>{
0 commit comments