Skip to content

feat: Wire PrecedentDrawer to real case law citation data#116

Merged
williamzujkowski merged 1 commit intomainfrom
feat/43-precedent-integration
Mar 31, 2026
Merged

feat: Wire PrecedentDrawer to real case law citation data#116
williamzujkowski merged 1 commit intomainfrom
feat/43-precedent-integration

Conversation

@williamzujkowski
Copy link
Copy Markdown
Collaborator

Summary

Connects the existing PrecedentDrawer component to real case law data from CourtListener.

  • New 'annotations' content collection reads YAML files from content-data/annotations/
  • Section detail pages load matching annotation at build time via getEntry()
  • 47 Title 18 sections have citation data (19K+ total cases)
  • PrecedentDrawer shows case cards grouped by court with CourtListener links

Consensus: 3-0 approved for integration approach.

Issues

🤖 Generated with Claude Code

)

- Add 'annotations' content collection for YAML case law files
- Load annotation data at build time via getEntry()
- Pass real cases to PrecedentDrawer (was empty [])
- Map annotation fields to CaseAnnotation type with proper enums
- 47 Title 18 sections have citation data (19K+ cases)

The PrecedentDrawer now shows real case citations with court grouping,
case names, dates, and CourtListener links for sections that have
annotation data.

Consensus approved 3-0 for integration approach.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@williamzujkowski williamzujkowski merged commit e270f21 into main Mar 31, 2026
@williamzujkowski williamzujkowski deleted the feat/43-precedent-integration branch March 31, 2026 03:46
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.

feat: CAP citation extraction pipeline (eyecite + Parquet)

1 participant