Ready for Developmentfrontendgood first issue
仓库指标
- Star
- (56 star)
- PR 合并指标
- (PR 指标待抓取)
描述
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
LEGISLATORand amemberCodethat matches the Legislator Profile on the page, there should be an option to edit these sections - These fields can be stored in the
profilescollection for the legislator profile.
- Authorization is handled in another ticket - if the user profile has a type of
- 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