feat(fetcher): historical release point enumeration + UX fixes#154
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
parsePriorReleasePoints()scrapes all 250+ OLRC release points with real publicLaw/dateET values (was stubbed).listHistoricalReleasePoints()returns chronological order for deterministic Git history.--font-monoCSS token (fix: Add --font-mono token to theme CSS custom properties #145), semantic color tokens (fix: Add semantic CSS custom property aliases for theming #146), WCAG AA amber contrast fix (fix: Audit amber color contrast for WCAG AA compliance #147)Changes
packages/fetcher/src/fetcher.tsparsePriorReleasePoints,parseCurrentRelease,listHistoricalReleasePointspackages/fetcher/src/constants.tsOLRC_PRIOR_RELEASE_POINTS_PAGE,allTitlesXmlUrlpackages/fetcher/src/index.tspackages/fetcher/src/__tests__/fetcher.test.tsapps/web/src/pages/browse/[title]/[chapter].astroapps/web/src/styles/global.cssTest plan
Related
Closes #144, closes #145, closes #146, closes #147, closes #149
🤖 Generated with Claude Code