Add Captain Profile Creation Flow - #84
Conversation
- Update `starshipService` with `createStarship`, `deleteCrewMember`, and `getCrewMemberByUid`. - Add a FIXME comment to `deleteCrewMember` to restrict captain deletion. - Enhance `CreateProfileScreen` to allow captains to set their display name and initialize their starship. - Update `CommandDeck` to redirect users without a profile to `CreateProfileScreen`. - Ensure new captains are added to the crew with the 'captain' role and initial stats. Co-authored-by: lilfolr <9531064+lilfolr@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
Merge ProtectionsYour pull request matches the following merge protections and will not be merged until they are valid. 🔴 Do not merge outdated PRsThis rule is failing.Make sure PRs are almost up to date before merging
|
Implemented a profile creation flow for new users. When a user signs up, they are redirected to a profile setup screen where they can enter their name. Submitting this form initializes their starship document and creates their captain profile in the crew collection. Added a FIXME comment in the service layer as requested to track future restrictions on captain deletion. Verified the flow and code quality with type checking and linting.
PR created automatically by Jules for task 10175179258279623037 started by @lilfolr