Commit Graph

6 Commits

Author SHA1 Message Date
Dries Peeters 579dc6f7c0 feat(mobile): design system, timer/projects UX, and unified logo
Design system and theme:
- Add google_fonts and Inter TextTheme; extend AppTheme with
  navigationBarTheme, bottomSheetTheme, chipTheme, dividerTheme
- Add app_tokens.dart (AppSpacing, AppRadii, AppDurations)

Timer UX:
- Remove nested NavigationBar from TimerScreen; single focused timer view
- Replace Start Timer dialog with modal bottom sheet (project search,
  task picker, notes)
- Redesign timer card (chips, FilledButton stop, AnimatedSwitcher)
- TimerWidget: use Timer.periodic for tick; dispose correctly

Projects UX:
- Replace search TextField with Material 3 SearchBar; add RefreshIndicator
- Project rows: avatar initial, client chip, Start timer action
- Start timer from project opens sheet with project pre-selected

Logo and app icon:
- Use assets/icon/app_icon.png as in-app logo on splash and login
- Regenerate Android launcher icons from same asset; iOS config in
  flutter_launcher_icons_ios.yaml (remove_alpha_ios)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-02 14:43:19 +01:00
Dries Peeters 9066089a34 Mobile: theme, login, sync, and launcher icons
- Align app theme with webapp (AppColors, light/dark ColorScheme); move to core/theme
- Add app config, theme mode provider, empty_state and error_view widgets
- Improve API client, sync service, and repository for time entries
- Add login screen, settings (theme toggle, logout), SSL utils for dev certs
- Android/iOS project config, Gradle wrapper, and generated launcher icons
- Add flutter_launcher_icons and icon assets (app_icon.png, README)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-01 16:51:05 +01:00
Dries Peeters 0c999fd780 Version bump v4.15.1 2026-01-31 08:06:13 +01:00
Dries Peeters 936beff4c0 Update android & IOS app 2026-01-14 07:01:31 +01:00
Dries Peeters 6d6e67db97 Update Android & IOS builds 2026-01-14 06:53:06 +01:00
Dries Peeters e9049ef923 fix(mobile): add missing Flutter app source files to fix build errors
- Add lib/main.dart entry point with proper routing setup
- Create Timer model (lib/data/models/timer.dart) with toJson support
- Enhance ApiClient with all required API methods:
  * Timer operations (getTimerStatus, startTimer, stopTimer)
  * Time entry operations (CRUD)
  * Project and task operations
- Add toJson() methods to TimeEntry and Timer models
- Fix splash screen auth check to use async methods properly
- Add missing provider methods (getElapsedTime, checkTimerStatus, loadTimeEntries)
- Update .gitignore to allow tracking mobile/lib/ directory

Fixes build error: 'Target file lib/main.dart not found' when running
flutter build apk --release or flutter build ios --release
2026-01-13 13:43:56 +01:00