Skip to content

Legislator Profile Type#2166

Open
ACoullard wants to merge 7 commits into
codeforboston:mainfrom
ACoullard:AC/legislator-accounts
Open

Legislator Profile Type#2166
ACoullard wants to merge 7 commits into
codeforboston:mainfrom
ACoullard:AC/legislator-accounts

Conversation

@ACoullard

@ACoullard ACoullard commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Addresses issue #2137

  • Adds in new profile types legislator and pendingLegislator (mirroring organizations) as well as new routes to interact with this new account type and track which MA legislators already have profiles linked to them.
  • Adds in a new card to the sign up modal for creating a legislator account, a new modal to input email, password, pick legislator, etc.
  • Updates icons for signup modal. These icons are also used in places like the default profile icon.

Checklist

  • On the frontend, I've made my strings translate-able.
  • If I've added shared components, I've added a storybook story.
  • I've made pages responsive and look good on mobile.
  • If I've added new Firestore queries, I've added any new required indexes to firestore.indexes.json (Please do not only create indexes through the Firebase Web UI, even though the error messages may recommend it - indexes created this way may be obliterated by subsequent deploys)

Screenshots

Desktop

image

Mobile

image

Known issues

If you've run against limitations or caveats, include them here. Include follow-up issues as well.

Steps to test/reproduce

  1. Go to the home page

  2. Start the sign up flow

  3. select "Legislator"

  4. select a legislator from the drop down. This should filter our already selected legislators

  5. Complete the sign up process normally

  6. Check to ensure you cannot post testimony and the legislator specific message appears.

  7. Log in as an admin

  8. Check the PENDINGLEGISLATORS requests in the Upgrade Requests tab of the admin portal

  9. Approve your new legislator account

  10. Check to see that you can post testimony and all blocks are cleared

  11. Go to the home page

  12. Click on a testimony

  13. See that it's loaded with a loading spinner

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
maple-dev Ready Ready Preview, Comment Jun 24, 2026 3:02am

Request Review

@ACoullard ACoullard force-pushed the AC/legislator-accounts branch from 03a2c84 to f35f619 Compare June 24, 2026 00:12
@ACoullard ACoullard marked this pull request as ready for review June 24, 2026 00:26
@ACoullard ACoullard changed the title Ac/legislator accounts Legislator Profile Type Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Backend Development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant