Merged
Conversation
- Auth flow: sign-in (Google + Strava OAuth via PKCE), callback screen, AuthGate - Feature-based structure: features/auth, shared/lib, shared/components, shared/hooks - Tab navigation: Today, Plan, Settings (stubs ready for P1) - Supabase client with SecureStore adapter; DB types generated from live schema - CLAUDE.md documents repo structure and conventions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Updated @supabase/supabase-js to version 2.100.0 in package.json. - Added expo-dev-client to package.json. - Excluded supabase/functions from TypeScript compilation in tsconfig.json. - Created auth.ts for JWT extraction and Supabase client creation. - Implemented delete-account function to handle user account deletion. - Added deno.json for module imports in Supabase functions. - Created SQL migrations for auth triggers, user table, integrations, plans, and athlete profile. - Seeded database with test data for local development.
- Created `plan_weeks` table to manage weekly plans with associated phases and statuses. - Implemented triggers for automatic timestamp updates on `plan_weeks`. - Established row-level security (RLS) policies for user-specific access to `plan_weeks`. - Created `sessions` table to track training sessions linked to `plan_weeks` and `plans`. - Added triggers for automatic timestamp updates on `sessions`. - Set up RLS policies for user-specific access to `sessions`. - Created `activities` table to log user activities with detailed metrics. - Implemented triggers for automatic timestamp updates on `activities`. - Configured RLS policies for user-specific access to `activities`.
…nd method validation
…set-up-supabase-v1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.