KlimaDAO / klimadao

Monorepo for the official KlimaDAO site, dApp, components and design system.
https://klimadao.finance
MIT License
92 stars 74 forks source link

[CM Wallets Phase 1] Onboarding flow #2263

Closed jabby09 closed 7 months ago

jabby09 commented 7 months ago

Summary

In this first workstream, we create /login and /logout pages
and the profile-creation flow at a new route called /onboarding
The onboarding flow is where we instantiate a user Team and assign it a unique Name.
We also need /team and /team/{team_uuid} api endpoints
This Team will be necessary for part 2, which is wallet creation flow.

Requirements

See Phase 1 - onboarding flow of discovery tree.

Use the discovery tree for requirements across four parts of the stack (NOTE: branches / tasks that are complete will have a green checkmark ✅)

Other Notes / Requirements

Sequence Diagrams

Two sequence diagrams are provided:

Supabase Auth

The designs for login and signup screens are styled on top of what is provided by Supabase Auth which we will leverage as much as possible.

Resources:

Figma Designs

IMPORTANT NOTE: Designs of project and other pages are showing future state of CM UI v2 which is a workstream in progress. If the project pages are not updated to the new designs, the FE changes will need to be applied to existing implementation that is in production.

Login to buy or retire flow

Notes:

Sign up to buy or retire flow

Notes:

Sign up but didn't verify email + Invalid credentials + Reset Password flows

Notes:

jabby09 commented 7 months ago

now replicated here https://github.com/Carbonmark/monorepo/issues/157