Skip to content

Legislator Profile - Sidebar #2136

@Mephistic

Description

@Mephistic

Summary

This issue covers the implementation of the Sidebar in the Legislator Profile. This includes three components:

  • Others' Testimony on their sponsored bills
  • Upcoming Hearings
  • The Legislator's Biography (Editable by the legislator, similar to the Priorities tab information)

Success Criteria

  • Implement the Sidebar for the Legislator Profile page, including:
    • Others' Testimony section - showing the most recent 3 testimonies submitted by other users on bills this Legislator sponsored
      • Should link to the Browse Testimony page if there are more than 3 testimonies
        • TODO: We may need to add an additional search option on the Browse Testimony page that lets us search for testimony by bill sponsor
      • Fair to only consider the current general court's testimony
    • Upcoming Hearings section - showing the next 3 hearings the legislator will be part of (as determined by Committee membership - if the legislator is a member of the Committee hosting the hearing, we can assume by default that they will be present)
      • Can use similar logic to the "Hearings Scheduled" section of the Home Page
    • Legislator Biography section
      • Should be editable by the Legislator account associated with this Legislator (identical to how the Priorities Tab works)
      • Should have an empty state if a legislator has not updated this yet (e.g. "This legislator has not claimed their MAPLE account")

Screenshots

Others' Testimony Section:

Image

Upcoming Hearings Section:

Image

Legislator Biography Section:

Image

Additional Links

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions