Tags: aload0/Reef
Tags
feat: Update version to 3.0.4 and add changelog
This commit increments the version code and name to 3.0.4 and introduces the English changelog highlighting several new features and stability improvements.
Key changes include:
* **Version Update**: Bumped `versionCode` to `304` and `versionName` to `3.0.4` in `build.gradle.kts`.
* **Feature Enhancements**:
* Support for running multiple focus routines and app limits simultaneously.
* Added auto-start functionality for Pomodoro rounds and breaks.
* Improved Blocker persistence by starting immediately after reboot (Direct Boot support).
* DND now toggles automatically and the Pause button is hidden in Strict Mode.
* **Stability and Performance**:
* Implemented a background safety net to prevent focus sessions from being killed.
* Improved app usage tracking accuracy for newer Android versions.
* Optimized tab switching and screen animations.
* **Localization**: Added Spanish translation and updated French translation strings.
Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
chore: Remove default WorkManager initializer from Manifest This commit removes the `androidx.startup.InitializationProvider` and its associated `WorkManagerInitializer` meta-data from the `AndroidManifest.xml`. Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
feat: Optimize app usage tracking and enhance UI navigation and design
This commit introduces a more robust usage tracking system, refactors the main navigation flow with improved transitions, and polishes the UI across several screens. Key updates include a more reliable event-based usage calculation with a fallback mechanism and the integration of daily usage stats directly into the home dashboard.
Key changes include:
* **Usage Tracking Optimization**: Refactored `ScreenUsageHelper` to prioritize `UsageEvents` (tracking `ACTIVITY_RESUMED/PAUSED` and screen states) for higher accuracy, implementing a `UsageStats` fallback for compatibility.
* **UI/UX Enhancements**:
* Added a real-time "daily usage" display to the `AppUsageCard` on the `MainScreen`.
* Improved navigation transitions using horizontal sliding animations between top-level destinations.
* Updated `TimerScreen` with vertical scrolling support and adjusted spacing for better accessibility on smaller screens.
* Integrated `TopAppBar`, `MediumTopAppBar`, and `UnifiedTopBar` more consistently across all main screens (Home, Timer, Usage, Routines, Settings).
* **ViewModel Improvements**:
* `AppUsageViewModel` now handles loading states more efficiently and uses a specific key for better lifecycle management.
* Migrated all usage calculations to use the updated `ScreenUsageHelper`.
* **Navigation**: Refined `NavHost` logic to better manage backstack and state restoration when switching between primary navigation items.
* **Changelog**: Added a new changelog for version 302, summarizing recent features like Pomodoro mode, French translations, and accessibility fixes.
Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
feat: Refactor whitelist management and enhance MainScreen UI
This commit introduces a dedicated `WhitelistViewModel` to manage application whitelisting logic, decoupling it from the UI layer. It also updates the `MainScreen` to display the count of whitelisted apps and improves navigation state handling.
Key changes include:
* **Whitelist Refactoring**:
* Introduced `WhitelistViewModel` to handle app loading and toggling logic using `viewModelScope`.
* Updated `WhitelistScreenWrapper` to utilize the new ViewModel.
* Added helper methods in `AppLimits.kt` (`getWhitelistedCount` and `getWhitelistedLaunchableCount`) to accurately track whitelisted applications.
* **UI Enhancements**:
* Renamed "Time Limits" card to "Whitelist" on the `MainScreen`.
* Updated the Whitelist card icon to `Icons.Rounded.CheckCircle` and added a dynamic count of allowed apps.
* **Navigation Improvements**: Updated `MainActivity` navigation logic to include `saveState` and `restoreState`, ensuring a smoother user experience when switching between bottom bar destinations.
* **Utility Updates**: Added `getLimitedAppsCount` to `AppLimits` for better state visibility.
Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
feat: Update changelog for version 2.0.5 This commit adds the English changelog for version 205, highlighting the following changes: * Added French translation. * Fixed inaccurate statistics on certain OEM devices. * Fixed an issue where system apps were being incorrectly triggered. * Introduced a new app introduction setup. * Improved routine handling and permission screen designs. * Modified the app icon. Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
PreviousNext