Commit graph

6 commits

Author SHA1 Message Date
8bcd2486e3 refactor(marks): anchor blog index marks to section edges 2026-06-03 15:50:16 +10:00
d80cd255d4 fix(blog): make .is-hidden global, strip HTML tags from search text, add role=search
Final-review findings:

- .is-hidden was scoped to blog/index.astro, so it didn't match PostRow
  or YearHead roots (which carry their own component scope hashes). Net
  effect: the filter visibly only hid the featured article, while all
  archive rows + year heads stayed on screen. Wrap in :global() so the
  runtime-toggled class actually fires its display rule everywhere.
- buildSearchText regex stripped > but not <, so inline HTML open-tags
  like <span class="leadin"> leaked into data-search. Add < to the
  character class so the haystack stays plain text.
- Add role="search" landmark to the BlogSearch wrapper so screen-reader
  users can navigate to it directly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-02 01:45:27 +10:00
8f12b3afe5 fix(blog): use curly quotes around empty-state query span
Spec called for U+201C / U+201D; commit d7dc22d landed ASCII quotes.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-02 01:17:04 +10:00
d7dc22d0c8 feat(blog): render search input, empty-state, hidden utility
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 01:10:27 +10:00
5ac622e576 feat(blog): build per-post searchText, wire to PostRow and featured
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 00:21:34 +10:00
3ba76b4f02 initial commit 2026-06-01 19:35:56 +10:00