FightPandemics / FightPandemics-web3-badges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create "Assign Badge" Page

kellgolden opened this issue · comments

User Story
As a logged-in Coordinator

FP Account Holders

  • If I assign the badge, I will be prompt to do the following:
    • Search & Select a FightPandemics account holder
    • Share a link with a non-FP-account holder
  • For the Search & Select a FightPandemics account holder section, if I type in an FP user's first or last name, the user's name should begin populating.
  • Once the name of the user populates, I should be able to select that name.
  • After selecting the name of the user, as an option, I should be able to include the evidence of the user's badge.
  • After deciding to include or not to include evidence, I should be able to assign the badge.
  • After assigning the badge, I should be notified that the badge assigned successfully.
  • Also, within that notification, I should also see the following: to whom the badge was sent, that the badge was sent to the recipient's email, and how many badges remain.
  • After assigning the badge, I should be prompt to close the page, and sent back to the assign badge page.

Non-FP Account Holders

  • If a badge recipient does not have an FP user profile, I should be prompt to do the following:
    • Input the user's first and last name
    • Input the volunteer's email into the email section, and email the user a link (the link should enable the user to sign up for an FP account to receive their badges).
    • If a volunteer does NOT have an email, I should be able to generate a link to share with the volunteer.
    • Once the link is generated, and copied, I can give the link to the respective volunteer and close the page.
    • Once I close the page, I should be sent back to the assign badge page.

Screen Shot 2021-02-18 at 9 32 01 PM

Screen Shot 2021-02-18 at 9 18 31 PM

Screen Shot 2021-02-19 at 6 55 54 PM

Screen Shot 2021-02-18 at 9 09 38 PM

Screen Shot 2021-02-19 at 6 57 00 PM

Link to Designs: https://www.figma.com/file/EMKcg0eTnOlr7bRZGFdnZu/Web-app-product-spec?node-id=790%3A25

Link to feature requirements: https://www.notion.so/fightpandemics/Mint-Badges-Bounty-Project-3a345fa59d1541609266cb0ecf903f8e

Acceptance Criteria

Logged-in FP Coordinators:

  • can assign badges with evidence.
  • can assign badges without evidence.
  • can search FP volunteers by their first or last name.
  • can search and select 1 FP volunteer at a time to assign a badge.
  • are notified that their badges were assigned successfully.
  • assign badge notification denotes how many badges are left to be assigned, to whom the badge was sent, and that the recipient will receive an email notification.
  • can I close the notification and be sent back to the assign badge page.

Non-Account Holders

  • Input a badge recipient's first and last name, and or an email
  • Generated Links to share (with the badge recipient's name)
  • Copy generated link
  • can I close the notification and be sent back to the assign badge page.
  • Logged-in Coordinators should not see or have to do the following:
  • If I select "I don't know the badge recipient's email", I should not have to input their individual's email.
    If I select "I do know the badge recipient's email", I should have to input the individual's email.
    *Each Step is mandatory, not optional.