Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aload0/Reef
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.4
Choose a base ref
...
head repository: aload0/Reef
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.0
Choose a head ref
  • 7 commits
  • 61 files changed
  • 2 contributors

Commits on Nov 3, 2025

  1. Configuration menu
    Copy the full SHA
    a08e23e View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2025

  1. fix: french translation (#28)

    * fix: french translation
    
    * fix: escape single quotes from translations
    
    ---------
    
    Co-authored-by: invoke <purwarpranav80@gmail.com>
    Aethenn and PranavPurwar authored Nov 18, 2025
    Configuration menu
    Copy the full SHA
    43547d6 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2025

  1. perf: Optimize app usage calculation and update dependencies

    This commit optimizes the app usage tracking and UI performance within the `AppUsageViewModel` and updates several project dependencies.
    
    Key optimizations:
    *   **Cached Labels**: The `AppUsageStats` data class now includes a cached `label` string, avoiding repeated `loadLabel` calls during sorting and rendering.
    *   **Primitive State**: Switched from `mutableStateOf` to `mutableLongStateOf` and `mutableIntStateOf` for total usage and week offsets to reduce overhead.
    *   **Refactored Processing**: Centralized usage map processing into a `processUsageMap` helper and streamlined `generateWeeklyData` to be more concise.
    *   **Robust Calculations**: Added checks to ensure event durations are positive and handled edge cases where end times might precede start times (e.g., DST shifts).
    *   **Removed Redundancy**: Removed `rawAppUsageMap` caching in favor of targeted queries for specific time ranges, ensuring data accuracy when switching views.
    
    Dependency updates:
    *   Updated Android Gradle Plugin to `9.1.0-alpha01`.
    *   Updated Kotlin to `2.3.0`.
    *   Updated Compose BOM to `2025.12.01` and Material3 to `1.5.0-alpha11`.
    *   Updated Vico to `2.3.6` and AppIntro to a newer snapshot.
    *   Removed unused Firebase and Play Services Ads dependencies.
    *   Bumped app version to `2.0.5`.
    
    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Dec 24, 2025
    Configuration menu
    Copy the full SHA
    f6c8683 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2025

  1. feat: Modernize app intro and app usage tracking

    This commit introduces a new custom `appintro` Compose-based library, replacing the legacy `AppIntro2` XML implementation. It also migrates several key screens (Whitelist, Permissions, App Usage) to Jetpack Compose and refactors the usage tracking logic for better accuracy and performance.
    
    Key changes include:
    *   **New `appintro` Library**: A modular, Compose-first intro system with customizable pages, animated transitions, and Material 3 design.
    *   **Compose Migration**:
        *   **`WhitelistActivity`**: Re-implemented using Compose for a smoother list experience.
        *   **`PermissionsCheckActivity`**: Migrated to Compose with a modernized card-based UI.
        *   **`AppUsageScreen`**: Refactored with a new `LargeFlexibleTopAppBar` and improved chart interactions.
    *   **Usage Tracking Overhaul**:
        *   **`UsageCalculator`**: New centralized utility using `queryAndAggregateUsageStats` for better OEM compatibility and consistent usage reporting.
        *   **`UsageTracker`**: Improved logic for checking daily and routine limits, including a reminder notification system when 85% of a limit is reached.
    *   **Routine Logic Refinement**:
        *   Updated `RoutineScheduleCalculator` to correctly handle overnight routines and session start times.
        *   `RoutineLimits` now accurately tracks usage since the start of the specific routine session.
    *   **UI/UX Improvements**:
        *   Enhanced "About" screen with new typography and donation card updates.
        *   Refined `BlockerService` to provide more specific notification messages based on the block reason (Daily vs. Routine).
        *   Updated app icon colors for a more modern look.
    *   **General**: Simplified `AppLimits` persistence, added a new `FocusModeService` preference toggle, and optimized Gradle build settings.
    
    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Dec 25, 2025
    Configuration menu
    Copy the full SHA
    266fd27 View commit details
    Browse the repository at this point in the history
  2. feat: Update app launcher icons and add monochrome variant

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Dec 25, 2025
    Configuration menu
    Copy the full SHA
    74e5fd7 View commit details
    Browse the repository at this point in the history
  3. feat: Enhance usage tracking by adding system app filtering and updat…

    …ing launcher icon colors (#24)
    
    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Dec 25, 2025
    Configuration menu
    Copy the full SHA
    c49f3fa View commit details
    Browse the repository at this point in the history
  4. 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>
    PranavPurwar committed Dec 25, 2025
    Configuration menu
    Copy the full SHA
    2d32cc7 View commit details
    Browse the repository at this point in the history
Loading