-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
As a card producer I want to get a unique link for the card so that I can write it and send it to the dancer.
Acceptance criteria:
- There is a “NFC cards” item in the main navigation.
- “NFC cards” item is shown only for accounts with a role “Card Producer” (account has a cardProducer=true)
- When I click “NFC cards” it takes me to NFC cards Dashboard (url: /admin/nfc-cards, see https://wedance.vip/admin/cities as example)
- By default the list is empty and it shows “There are no cards yet. Add a new one”.
- When I click on “Create New” then a new NFC card is added to the list.
- NFC card has a state “unused”.
- NFC card has an url.
- NFC card has a linked profile username, default is undefined.
- I can copy the link of the card, write it to the card and set the state to “used”.
- The NFC card url has the following format: “WeDance domain + nfc + serial number”.
Example of an NFC card url: https://wedance.vip/nfc/yLzS9fZOJVRPAjZzkTmi