Skip to content

Remove what the old project bar left behind - #168

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/beautiful-cerf-sm95qv
Nov 1, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/beautiful-cerf-sm95qv

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Cleanup after #166. That PR removed the playground's project bar, but its styles and setup calls stayed.

What changes

  • shell.css, about 500 lines removed: rules whose selectors only hit .bar, .bar-nav, .social(s), .extra, .menu*, .when-dark/light or .search-*, with their comments. None of these classes is on the page any more. Mixed rules such as header.bar, .toolbar lost their dead half.
  • main.mjs: no more setUpExtra() and setUpSearch(); both found nothing to mount.
  • extra.mjs deleted.
  • Kept: search-box.mjs, because the 404 loads it through src/catalogue/search-entry.mjs. The 404 page and its bar (catalogue.css) are unchanged.
  • Docs: AGENTS.md, docs/design/sample-catalogue.md and the comment in search-entry.mjs say where the bar and the search box still live.

No visible change; screenshots of the playground and the 404 match before and after.

Tests

  • eslint ., typecheck and test:unit (75/75) are green.
  • check-size is green; the published site is 156.49 MB of 220 MB.
  • Playwright (chromium): 15 spec files, 295 tests, all green: shell, embed, pilot, ai, bfcache, site, not-found, link, examples, onboarding, subpath, boot, isolation, samples-redirect, worker.

Generated by Claude Code

The playground's page lost its project bar in #166, but its code and
styles stayed: about 500 lines of CSS for the bar, the search box, the
two marks and the menu, plus their comments. main.mjs still called
setUpExtra() and setUpSearch(), which found nothing to mount. extra.mjs
is gone. search-box.mjs stays: the 404 loads it through
src/catalogue/search-entry.mjs. AGENTS.md and the design docs say
where the bar and the search box still live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YZFmEpRdxrjNxTq4x9J4J
@oblomov-dev
oblomov-dev merged commit 115399e into main Nov 1, 2026
5 of 10 checks passed
@oblomov-dev
oblomov-dev deleted the claude/beautiful-cerf-sm95qv branch November 1, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants