Commit Graph

15 Commits

Author SHA1 Message Date
Dries Peeters 80e74905e8 Version bump 4.17.0 2026-02-02 19:34:28 +01:00
Dries Peeters 55ecc7d037 feat(mobile): add connection diagnostics and clear error messages for login
- Add connection diagnostics module that classifies failures (DNS lookup,
  connection refused, TLS/certificate, timeout, HTTP errors, captive portal)
- Show user-friendly summary and actionable checklist on login failure
- Add Details bottom sheet with copyable technical report; Copy button in error box
- Fix token validation: use validateTokenRaw so network/TLS errors are not
  reported as 'Invalid username or password'; only persist server URL and
  token after validation succeeds
- Cover connection methods (HTTPS/HTTP, DNS, IPv6, self-signed cert trust flow)

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-02 19:33:46 +01:00
Dries Peeters e63bfc3a75 Update local.properties 2026-02-02 15:03:39 +01:00
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 7160ce88e5 Update Podfile 2026-02-01 17:11:28 +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
Dries Peeters 14d5874883 docs: improve mobile app documentation and configuration
- Add comprehensive API token setup instructions
- Document connection process and troubleshooting
- Update pubspec.yaml dependencies
- Improve README with step-by-step configuration guide
2026-01-12 20:09:07 +01:00
Dries Peeters f978370a8e Update for android app. 2026-01-11 21:59:39 +01:00
Dries Peeters 3c433e2593 Add comprehensive documentation for build process and branding
- Add build troubleshooting and Windows-specific guides
- Document branding guidelines and asset management
- Add desktop build configuration documentation
- Include symlink and OneDrive fix guides
- Add code signing and permissions documentation
- Document quick start guides for various scenarios
2026-01-11 20:51:32 +01:00
Dries Peeters 4e21221ca0 Update configuration files
- Update mobile pubspec.yaml version
- Add brand colors to Tailwind config
- Update .gitignore to exclude build artifacts and temporary files
2026-01-11 20:51:28 +01:00
Dries Peeters 1419712a60 feat: Add mobile (Flutter) and desktop (Electron) applications
- Add Flutter mobile app with authentication, timer, projects, and time entries
- Add Electron desktop app with system tray integration and offline support
- Implement offline storage with sync queue for both platforms
- Add comprehensive build scripts for cross-platform builds
- Include documentation and README files for both apps
- Add test suites for mobile and desktop applications
2026-01-11 08:37:28 +01:00