Skip to content

Bills Tab - Legislator Profile - #2253#2253 - #2288

Open
lenitpx wants to merge 39 commits into
codeforboston:mainfrom
lenitpx:lenitpx-legislator-profile-bill-tab-fe
Open

lenitpx wants to merge 39 commits into
codeforboston:mainfrom
lenitpx:lenitpx-legislator-profile-bill-tab-fe

Conversation

@lenitpx

@lenitpx lenitpx commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Issue #2128: Added Bills Tab to Legislator Profiles, covering three features:

Bills By Topic:

  • Groups legislators' bills by their topic and orders by top five most to least common
  • Filters bills by sponsored, cosponsored, and All bills
  • Text and UI changes based on button selection
  • Most common subtopics are grouped in pill form under topics
  • Links below topics should link to a filtered bill search page

Recently Sponsored Bills:

  • Displays member's five most recently sponsored bills by bill, title, and subtopic
  • Link below connects to all legislator's sponsored bills

Committee Positions:

  • Displays member's committees, chair or member status, and duration of tenure

Checklist

  • [X ] On the frontend, I've made my strings translate-able.
  • [ ? ] If I've added shared components, I've added a storybook story. NB: I can strip these out into reusable components if needed, and the styling for them has been placed in a separate TS file with styled elements exported.
  • [ X] I've made pages responsive and look good on mobile.

Screenshots

Screenshot 2026-09-28 at 2 46 52 PM Screenshot 2026-09-28 at 2 47 03 PM Screenshot 2026-09-28 at 2 47 32 PM Screenshot 2026-09-28 at 2 47 40 PM Screenshot 2026-09-28 at 3 15 27 PM Screenshot 2026-09-28 at 3 15 37 PM

Known issues

Currently N/A!

Steps to test/reproduce

For each feature or bug fix, create a step by step list for how a reviewer can test it out. E.g.:

  1. Go to a legislator's profile page
  2. Click the Bills tab
  3. See that all three feature blocks load, and that Bills By Topic is set to "All" by default
  4. Click different buttons and see that bills are filtered correctly by Sponsored, Cosponsored, and All

@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
maple-dev Ready Ready Preview Nov 20, 2026 9:56pm UTC

Request Review

@Mephistic Mephistic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me - I left the little nits we discussed at hack night as comments, but we can fold those changes into a future PR - no need to block this.

Waiting to merge until after the Conference Committee launch

Comment thread .gitignore Resolved

This branch was successfully deployed

1 active deployment
Preview – maple-dev — 8498aa48 Deployed Nov 20, 2026 by vercel[bot]
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.

2 participants