Skip to content

Legislator Profile - Bills Frontend #2128

@Mephistic

Description

@Mephistic

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:

Image

Recent Bills Section:

Image

Committee Positions Section:

Image

Additional Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ready for DevelopmentAutomatically assigned to issues that are ready to be picked upfrontendFrontend development

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions