Skip to content

feat(fetcher): historical release point enumeration + UX fixes#154

Merged
williamzujkowski merged 1 commit into
mainfrom
feat/historical-release-importer
Apr 2, 2026
Merged

feat(fetcher): historical release point enumeration + UX fixes#154
williamzujkowski merged 1 commit into
mainfrom
feat/historical-release-importer

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

Summary

Changes

File Change
packages/fetcher/src/fetcher.ts New parsePriorReleasePoints, parseCurrentRelease, listHistoricalReleasePoints
packages/fetcher/src/constants.ts OLRC_PRIOR_RELEASE_POINTS_PAGE, allTitlesXmlUrl
packages/fetcher/src/index.ts Updated exports
packages/fetcher/src/__tests__/fetcher.test.ts 42→68 tests
apps/web/src/pages/browse/[title]/[chapter].astro Hybrid index/inline chapter pages
apps/web/src/styles/global.css Font-mono, semantic tokens, amber fix

Test plan

  • Fetcher: 68/68 tests passing
  • All packages: 248+ tests, 0 failures
  • Pre-commit hooks pass

Related

Closes #144, closes #145, closes #146, closes #147, closes #149

🤖 Generated with Claude Code

Fetcher changes:
- Add parsePriorReleasePoints() to scrape all 250+ OLRC release points
- Add parseCurrentRelease() for download page header parsing
- Add listHistoricalReleasePoints() with chronological ordering
- Fix publicLaw/dateET parsing (was stubbed as empty/current time)
- Update constants with OLRC_PRIOR_RELEASE_POINTS_PAGE, allTitlesXmlUrl
- Tests: 42 → 68, all passing

Frontend changes:
- Refactor chapter pages: index-by-default for >50 sections (#144)
- Add --font-mono CSS custom property (#145)
- Add semantic color tokens for light/dark mode (#146)
- Fix amber color contrast for WCAG AA compliance (#147)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@williamzujkowski williamzujkowski merged commit 0868c9b into main Apr 2, 2026
1 check passed
@williamzujkowski williamzujkowski deleted the feat/historical-release-importer branch April 2, 2026 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant