Commit Graph

8 Commits

Author SHA1 Message Date
soragui
6307cb03dc docs: Update GEMINI.md for HomeScreen and AuthState modifications
Updates the GEMINI.md document to reflect the changes made during the implementation of dynamic HomeScreen views based on authentication status.
- Added details about the new `logout()` functionality and improved `toggleLogin()` in `AuthState`.
- Noted that `HomeScreen` now dynamically renders `_LoggedInView` or `_LoggedOutView` based on user authentication.
2026-01-19 15:49:36 +08:00
soragui
4d0207f41f feat: Implement _LoggedInView UI and AuthState improvements
Implements the UI for the _LoggedInView in home_screen.dart, including:
- An AppBar with a Profile icon that navigates to the profile screen.
- A ListView.builder displaying example items.
- A FloatingActionButton.extended for Logout that calls the `authState.logout()` method.
- Adds a `logout()` method to `AuthState` to clear the login state.
- Modifies the `toggleLogin()` method in `AuthState` to accept an optional boolean value for explicit state control.
- Ensured code formatting and resolved any linting issues.
2026-01-19 15:48:09 +08:00
soragui
fd5f38bd6f feat: Implement _LoggedOutView UI and navigation
Implements the UI for the _LoggedOutView in home_screen.dart, including:
- A centered column layout with an icon, title, and descriptive text.
- An ElevatedButton for Login that navigates to the phone input screen using go_router.
- Ensured code formatting and resolved any linting issues.
2026-01-19 15:45:46 +08:00
soragui
62934e1522 feat: Refactor HomeScreen for login-based UI and restore Firebase dependencies
Refactors the HomeScreen to dynamically display content based on the user's authentication status.
- Migrated HomeScreen from StatefulWidget to StatelessWidget.
- Introduced Consumer<AuthState> to listen for authentication changes.
- Implemented placeholder _LoggedInView and _LoggedOutView widgets for conditional rendering.
- Restored irebase_core and irebase_auth dependencies to pubspec.yaml and main.dart which were inadvertently removed by dart_fix.
- Removed outdated state management for bottom navigation bar.
- Addressed dart fix warnings and ensured code formatting.
2026-01-19 15:38:36 +08:00
soragui
815d2ee7b2 docs: add README and GEMINI.md 2026-01-19 14:58:17 +08:00
soragui
12ff1d61c2 feat: add home and profile screens 2026-01-19 14:56:39 +08:00
soragui
0ade16350a feat: add auth screens and state management 2026-01-19 14:50:21 +08:00
soragui
58c40c5f00 feat: initial project setup 2026-01-19 14:38:35 +08:00