explorers
explorers copied to clipboard
determine logic for when achievement unlocked
We'll most likely maintain a list of achievement criteria and associated rewards. I propose that the initial achievement we use to prove the end-to-end flow is:
| Achievement | Reward |
|---|---|
| Complete one mission | Explorers sticker pack |
current thoughts on the logic here, which would be triggered on each dashboard page load:
- check for
achievementevents attached to the current user - if found (for now, since there's only one) short-circuit and display the UI described in #455
- if not, check for whether the user has completed any missions
- if not, do nothing
- if they have completed a mission, create a new
achievementand send that off - display the UI
later on, we'll need to revisit this for additional achievements, but this should get us up and running
Is this technically closed with this miro mind map @jlengstorf https://miro.com/app/board/o9J_lWmoARA=/