Add legislative activity feed and bill status refresh#158
Merged
PavelMakarchuk merged 4 commits intomainfrom Mar 23, 2026
Merged
Add legislative activity feed and bill status refresh#158PavelMakarchuk merged 4 commits intomainfrom
PavelMakarchuk merged 4 commits intomainfrom
Conversation
- New RecentActivitySidebar on home page (right column) showing 25 most recently active bills across all states with stage badges and timestamps - New StateBillActivity section on state pages showing tracked bills with stage summary bar, collapsible list (5 shown by default) - New refresh_bill_status.py script that pulls latest actions from OpenStates API and classifies legislative stage (committee, passed chamber, signed, etc.) - Home page layout changes from single-column to two-column grid (map+chips+links on left, activity sidebar on right) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Show legislative stage (In Committee, Passed Chamber, etc.) on encoded bills in state page via cross-reference with processed_bills - Export StageBadge and useProcessedBills for reuse in StatePanel - Remove "Ready to model" badge from tracked bills list - Fix empty date string causing Supabase error in refresh script - Normalize bill number matching (strip zero-padding: S04487 -> S4487) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nalysis - Click analyzed bills in Recent Activity sidebar to open their bill analysis page - Analyzed bills show teal bill number + "PE Analysis" label instead of LegiScan link - Remove "Published" tag from encoded bills, remove "X bills tracked" subtitle - Add "Analyzed" tab filter in sidebar showing only bills with PE analysis Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove unused stateData import from BillActivityFeed - Use minmax(0, 1fr) to prevent map overflow on narrow viewports - Remove maxWidth on intro text, bold "Select a state" - Rename sidebar header to "Recent Legislative Activity" Co-Authored-By: Claude Opus 4.6 <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
scripts/refresh_bill_status.pyto pull latest actions from OpenStates API and classify legislative stageTest plan
npm run buildsucceeds🤖 Generated with Claude Code