Skip to content

Legislator Profile - Header #2126

@Mephistic

Description

@Mephistic

Summary

This issue covers the implementation of the Header of the new Legislator Profile page.

Success Criteria

  • Implement the design of the Legislator Profile Header, including
    • Legislator Name
    • Party
    • District
    • Contact Info (Email/Phone/Socials)
    • Follow Button (Works just like any other "Follow User")
    • Contact Button (Can just open a mailto: link to the legislator's email for now)
    • Legislative Stats, including:
      • Terms Served
        • INVESTIGATE: Can we track members across general courts consistently by member code? Leaning toward yes, but it's not guaranteed so we should pick an long-serving member and track them back.
          • If not available, we may need to open another issue for a separate scraper.
      • Num Bills Sponsored / Cosponsored
        • This is available in generalCourts/<COURT>/bills, but we may need to add a new index.
        • The counts are also not currently precomputed - this may be a good use for the firestore count aggregation
      • Funds Raised (Not available yet)
        • N/A is fine for now - this data is coming with the Campiagn Finance pipeline ticket

Screenshots

Image

Additional Links

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions