codeforboston / codeforboston/maple
Legislator Profile - Priorities
- Dominant language
- TypeScript
- Stars
- 56
- Forks
- 175
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 13
Description
## Summary
This issue covers the implementation of the Priorities Tab of the Legislator Profile, following the linked design.
## Success Criteria
- [ ] Implement the "Priorities" tab of the Legislator Profile, including:
- [ ] "In Their Own Words" section (short blurb submitted by the legislator about their priorities)
- [ ] Key Priorities (3-5 key issues/policies)
- [ ] Legislators can choose both the name (e.g. "Healthcare") and policy (e.g. "Expanding comprehensive coverage for all residents")
- [ ] Icons can be generic
- [ ] Both of the above sections should be editable by the legislator associated with the profile
- [ ] Authorization is handled in another ticket - if the user profile has a type of `LEGISLATOR` and a `memberCode` that matches the Legislator Profile on the page, there should be an option to edit these sections
- [ ] These fields can be stored in the `profiles` collection for the legislator profile.
- [ ] Both sections should have an Empty state
- [ ] When a normal user sees it, it should just say something like, "This legislator has not claimed their profile"
- [ ] When the legislator in question sees it, it should say something like, "Add your priorities" with an option to edit
- [ ] Add Storybook stories for the new components
## Screenshots
## Additional Links
- Mockup: https://maple-leg-profiles.netlify.app/
Contributor guide
Assessment
This issue has not been assessed yet.