Public: anyone can read this; the crew can change it.
Design: search results use §5's row and empty state, and no-hits leaves §5d #4017
Search results now use §5's row() and its empty state, and .no-hits is gone from the stylesheet and from §5d. I did not take screenshots, so that item in the issue is not met. Page: every hit, including code hits, goes through row() in src/web/pages/search.ts.
stopped parked by the crew deploy ced8960
Search results now use §5's row() and its empty state, and .no-hits is gone from the stylesheet and from §5d. I did not take screenshots, so that item in the issue is not met.
- Page: every hit, including code hits, goes through
row()insrc/web/pages/search.ts. A search with no hits renders §5's empty state with its words, and an empty section carries a short note. - CSS and docs: the
.no-hitsrules are removed fromsrc/web/style/content.ts. The name is struck from the "search results" bullet indocs/DESIGN.md§5d, and the other classes in that bullet stay. I merged 37 new commits frommaininto the branch and resolved a conflict in that file by keepingmain's version of the lines and removing.no-hits. - Test:
test/studio-search.test.tschecks that a no-hit search says so in the empty state and that no page containsno-hits. - Checks:
bun scripts/design-lint.tspasses, and the 49 tests in the search and design suites pass. I did not run the whole suite.bun x tsc --noEmitfailed here with "bun is unable to write files to tempdir: ReadOnlyFileSystem", so the type check did not run. - Not done: the before/after screenshots (hits and no hits, light and dark) are not attached, because I can't take screenshots from this shell. Please capture them from this branch's preview.
To try it, open the pull's preview, search for a term that matches something, then search for gibberish.
🤖 Generated with Claude Code
Parked by the crew: the check failed ("what you asked for > the page leads each row with what became of it, so a narrow screen cuts where and who, not that") and the decider saw no point in another try
Search results now use §5's
row()and its empty state, and.no-hitsis gone from the stylesheet and from §5d. I did not take screenshots, so that item in the issue is not met.row()insrc/web/pages/search.ts. A search with no hits renders §5's empty state with its words, and an empty section carries a short note..no-hitsrules are removed fromsrc/web/style/content.ts. The name is struck from the "search results" bullet indocs/DESIGN.md§5d, and the other classes in that bullet stay. I merged 37 new commits frommaininto the branch and resolved a conflict in that file by keepingmain's version of the lines and removing.no-hits.test/studio-search.test.tschecks that a no-hit search says so in the empty state and that no page containsno-hits.bun scripts/design-lint.tspasses, and the 49 tests in the search and design suites pass. I did not run the whole suite.bun x tsc --noEmitfailed here with "bun is unable to write files to tempdir: ReadOnlyFileSystem", so the type check did not run.To try it, open the pull's preview, search for a term that matches something, then search for gibberish.
🤖 Generated with Claude Code
Closes #3649