raae / pow-app

Take charge of your menstrual cycle with POW! — the privacy-first menstrual cycle journal
https://www.usepow.app/
GNU General Public License v3.0
33 stars 2 forks source link

Better handling of uncompleted onboarding #245

Closed raae closed 3 years ago

raae commented 3 years ago

If the user has not completed onboarding, ask for the latest menses date (optional) as well as menses tag.

Also make the timeline does not show NaN for the cycle days.

raae commented 3 years ago

I think a full rewrite would be nice, and make the steps seperate pages.

I am thinking:

I would also like a user to be redirected to the correct page if they has not completed onboarding. Now if you do not complete and then log in you will be asked to pay. But not complete onboarding.

On the marketing page I am thinking of making a proper pricing table, so it would be nice so be able to carry over monthly and yearly as a query param and have the plan selected when paying.

When #259 is merged look to features/auth and features/user and pages/profile/* for how I am thinking of structuring the app moving forward. The plan is to encapsulate the react-redux stuff in custom hooks like useAuth, useUser and useSubscription. Also planning to create a subscription feature to replace payment and move useSubscription there. useSubscription will then also encapsulate the logic so its moved out of the form.

raae commented 3 years ago

Let me know if you have any questions @SaraVieira.