feat: Per-section change indicators in title TOC#97
Merged
williamzujkowski merged 1 commit intomainfrom Mar 30, 2026
Merged
Conversation
Diff generation: - Generate changed-sections.json index mapping section paths to the release point tags where they changed - Built from existing diff output directories at end of generation Title browse page: - Read changed-sections.json at build time - Show teal dot indicator next to recently-changed sections - Show last-changed PL number as right-aligned label - Dot has title tooltip with PL reference - Empty spacer for unchanged sections to maintain alignment This is the key differentiator vs Cornell LII and OLRC — neither shows per-section change tracking in browse views. Phase 3 of #92 (IA epic). Closes #95. 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
Phase 3 of #92 (IA epic) — shows which sections changed in which release point directly in the expandable title TOC.
Diff generation enhancement
generate-diffs.tsnow produceschanged-sections.json— a map of"title-N/section-M"→["pl-117-159", ...]Title browse page
changed-sections.jsonat build timeWhy this matters
This is the key differentiator vs Cornell LII and OLRC — neither shows per-section change tracking in their browse views. Users can scan a title and immediately see which sections Congress recently amended.
Issues
Test plan
svelte-check— 0 errorspnpm test— all pass🤖 Generated with Claude Code