feat: Complete Phase 1 Authentication and setup Flutter project structure

- Completed authentication system with signup, login, password reset, and logout
- Enhanced error handling and accessibility across all auth flows
- Added comprehensive loading states and user feedback
- Implemented confirmation dialogs for destructive actions
- Setup complete Flutter project structure with proper configuration
- Added planning documentation for Phase 2 household creation
- All Phase 1 success criteria verified and complete
This commit is contained in:
Dani B
2026-01-28 22:58:09 -05:00
parent e20858f608
commit 2f9ea1a0e8
131 changed files with 5747 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:supabase_flutter/supabase_flutter.dart';
import 'package:go_router/go_router.dart';
@@ -7,14 +6,14 @@ import 'package:go_router/go_router.dart';
///
/// Shows loading indicator while checking authentication state
/// and redirects to appropriate screen based on auth status
class SplashPage extends ConsumerStatefulWidget {
class SplashPage extends StatefulWidget {
const SplashPage({super.key});
@override
ConsumerState<SplashPage> createState() => _SplashPageState();
State<SplashPage> createState() => _SplashPageState();
}
class _SplashPageState extends ConsumerState<SplashPage> {
class _SplashPageState extends State<SplashPage> {
@override
void initState() {
super.initState();
@@ -49,10 +48,10 @@ class _SplashPageState extends ConsumerState<SplashPage> {
if (!mounted) return;
// On error, navigate to login for safety
if (mounted) {
context.go('/login');
}
// On error, navigate to login for safety
if (mounted) {
context.go('/login');
}
}
}