codeforboston / codeforboston/maple
Legislator Profile - Bills Frontend
- Dominant language
- TypeScript
- Stars
- 56
- Forks
- 175
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 13
Description
## Summary
This issue covers the implementation of the Bills Tab of the Legislator Profile, following the linked design.
## Success Criteria
- [ ] Implement the "Bills" tab of the Legislator Profile, including:
- [ ] "Bills By Topic" Section
- [ ] Only covers bills from the current general court
- [ ] The top-level topics are the "topics.lvl0` from the Bill Search (The LLM-generated bill categories)
- [ ] The sub-topics are the "topics.lvl1" from the Bill Search (the LLM-generated bill sub-categories)
- [ ] We should highlight the most common 3-5 subtopics of bills the legislator sponsored in each category
- [ ] The Progress Bar in the current mockup can be excluded
- [ ] Filterable by "Sponsored"/"Cosponsored"/"All"
- [ ] "Recent Bills" Section
- [ ] Show the last 5 sponsored bills in the current legislative session
- [ ] "Topics" should be the subtopics (e.g. "topic.lvl1")
- [ ] "Status" is currently in development via the bill tracker pipeline - "N/A" is fine until that's ready, but it will (eventually) be available on the Bill document itself
- [ ] Committee Positions
- [ ] These can be found by fetching the member data from all of the Legislator's general courts (e.g. if they were in 192, 193, and 194, grab all of those)
- [ ] Committee membership and leadership position should be available between the Committee and Member collections
- [ ] Add Storybook stories for the new components
## Screenshots
Bills By Topic Section:
Recent Bills Section:
Committee Positions Section:
## Additional Links
- Mockup: https://maple-leg-profiles.netlify.app/
Contributor guide
Assessment
This issue has not been assessed yet.