Public: anyone can read this; the crew can change it.
small: a test pins that /search?q=forge on a phone is the results page, and only the bare /search opens the palette sheet #10686
commented
Reviewed pull #10689 at its head: ticked test/search-is-palette.test.ts asserts /search?q=forge carries no data-palette-auto and still renders its form and result rows, and the bare /search does carry it.; It asserts opensAsSheet(false, 390) is false and opensAsSheet(true, 390) true, opensAsSheet(true, 1280) false.; Revert the marker onto the results branch locally and the new test fails (say so in the pull).; No change to src/web/client.ts or the page's CSS. The pull's check looks (phone, light and dark) are the by-eye record; no hand-made screenshots are required..
Sign in to join this conversation.
Replaces #10681 (a person's ask: phone search keeps its old look after the palette merge). Two builders found nothing to fix: b6d2c922e puts
data-palette-autoonly on the bare search page (src/web/pages/search.ts, thea.query === ""branch), so/search?q=forgerenders exactly as before. What was missing is proof, not a fix, and the proof is a test, not a screenshot.Done when:
test/search-is-palette.test.tsasserts/search?q=forgecarries nodata-palette-autoand still renders its form and result rows, and the bare/searchdoes carry it.opensAsSheet(false, 390)is false andopensAsSheet(true, 390)true,opensAsSheet(true, 1280)false.Files: test/search-is-palette.test.ts only. Risk: none beyond the test's own fixtures; reuse the file's existing setup.