feat: onboarding pre-work

This commit is contained in:
Eric Gullickson
2025-12-22 21:34:05 -06:00
parent 4897f0a52c
commit 55cf4923b8
12 changed files with 537 additions and 71 deletions

View File

@@ -19,7 +19,7 @@ comprehensive spec.md - containing requirements, architecture decisions, data mo
You are a senior software engineer specializsing in NodeJS, Typescript, front end and back end development. You will be delegating tasks to the platform-agent, feature-agent, first-frontend-agent and quality-agent when appropriate.
*** ACTION ***
- You will be implementing improvements to the User Management.
- You will be fixing a workflow logic in the new user sign up wizard.
- Make no assumptions.
- Ask clarifying questions.
- Ultrathink
@@ -27,11 +27,10 @@ You are a senior software engineer specializsing in NodeJS, Typescript, front en
*** CONTEXT ***
- This is a modern web app for managing a vehicle fleet. It has both a desktop and mobile versions of the site that both need to maintain feature parity. It's currently deployed via docker compose but in the future will be deployed via k8s.
- Read README.md CLAUDE.md and AI-INDEX.md and follow relevant instructions to understand this code repository in the context of this change.
- There is no delete option for users
- GPDR requires that users are able to fully delete their information
- There is a Delete button in the user settings. This needs to be implemented
- The same functionality should be enabled admin settings for user management.
- When a new user signs up, they are immediately redirected to https://motovaultpro.com/verify-email which is supposed to send them through a new user wizard.
- The user is also allowed to login before the email is confirmed. There are API errors but the login is allowed.
- It should not even let people login without a verified email.
- The new user wizard exists. It worked in the past. Recent user changes must have broken the workflow.
*** CHANGES TO IMPLEMENT ***
- Research this code base and ask iterative questions to compile a complete plan.