Legislator Profile Type#2166
Open
ACoullard wants to merge 7 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
03a2c84 to
f35f619
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses issue #2137
legislatorandpendingLegislator(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.Checklist
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
Mobile
Known issues
If you've run against limitations or caveats, include them here. Include follow-up issues as well.
Steps to test/reproduce
Go to the home page
Start the sign up flow
select "Legislator"
select a legislator from the drop down. This should filter our already selected legislators
Complete the sign up process normally
Check to ensure you cannot post testimony and the legislator specific message appears.
Log in as an admin
Check the
PENDINGLEGISLATORSrequests in the Upgrade Requests tab of the admin portalApprove your new legislator account
Check to see that you can post testimony and all blocks are cleared
Go to the home page
Click on a testimony
See that it's loaded with a loading spinner