Skip to content

fix(ux): clickable categories, mobile navbar, lang-switcher + in-page search fixes - #120

Merged
slaveofcode merged 1 commit into
developfrom
feat/clickable-categories
Aug 2, 2026
Merged

fix(ux): clickable categories, mobile navbar, lang-switcher + in-page search fixes#120
slaveofcode merged 1 commit into
developfrom
feat/clickable-categories

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Bundle of UX fixes:

  1. Clickable category headings on the homepage → their /category/<slug> hub pages (localized, hover affordance).
  2. Mobile navbar declutter — removed the non-functional bookmark button; collapsed About/GitHub into a ⋯ overflow menu on mobile (search + language + theme stay visible). Uses the ui-ux-pro-max overflow-menu pattern.
  3. Language-switcher bug fix — the header is transition:persist, so the switch target was computed once and went stale (clicking ID on a tool page sent you to a previous page's category). Now recomputed on astro:page-load + fresh at click time.
  4. In-page 'search' hint fix — one-time page script didn't rebind after view-transition navigations; replaced with a delegated document listener in Base.

Verify

  • lint 0 errors · build 183 pages · homepage category links + home-search button present.

…itcher target, in-page search

- Homepage category headings now link to their /category/<slug> hub pages
  (localized), with a hover underline + arrow affordance.
- Navbar: removed the bookmark button (browsers block programmatic bookmarking, so
  it never worked); collapsed About/GitHub into a mobile overflow (⋯) menu, keeping
  search + language + theme visible. Desktop unchanged.
- Language switcher: the header is transition:persist, so its target was computed
  once and went stale across client navigations (sent you to a previously-visited
  page). Now recomputed on every astro:page-load AND fresh at click time.
- In-page 'search tools' hint: replaced the one-time page script with a delegated
  listener on document (in Base) so it keeps working after view-transition navs.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ubfx4XocHcECaL8twp9zsr
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 2, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
goodwebtools 7870a95 Aug 02 2026, 04:21 AM

@slaveofcode
slaveofcode merged commit a1ea7e3 into develop Aug 2, 2026
1 of 2 checks passed
@slaveofcode
slaveofcode deleted the feat/clickable-categories branch August 2, 2026 04:21
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.

1 participant