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: v4.0.0
Choose a base ref
...
head repository: aload0/Reef
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.0
Choose a head ref
  • 12 commits
  • 52 files changed
  • 2 contributors

Commits on Mar 2, 2026

  1. add open collective

    PranavPurwar authored Mar 2, 2026
    Configuration menu
    Copy the full SHA
    df9b3ff View commit details
    Browse the repository at this point in the history
  2. feat: add app group management with shared and individual limits

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    f3349c4 View commit details
    Browse the repository at this point in the history
  3. feat: Include apps with system overlay permissions in Whitelist

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    e48e49a View commit details
    Browse the repository at this point in the history
  4. feat: Refactor routine management to a foreground service architecture

    Key changes include:
    *   **New `RoutinesService`**: A foreground service that monitors routine schedules using a polling mechanism. It ensures routines are activated and deactivated precisely according to their defined windows and maintains a persistent notification showing active routines.
    *   **Centralized Session Management**: Introduced `RoutineSessionManager` to handle the lifecycle of active sessions, including persistence to SharedPreferences, limit calculation, and usage tracking.
    *   **Decoupled Evaluation Logic**: Extracted time calculation and routine matching into `RoutineTimeCalculator` and `RoutineEvaluator` for better testability and cleaner separation of concerns.
    *   **Enhanced UI for App Limits**:
        *   Replaced simple alert dialogs with a modern `ModalBottomSheet` for setting app limits.
        *   Added support for "Block entirely" (0-minute limit) and a stepper interface (±5m/±15m) for granular control.
        *   Improved the routine creation flow with easier preset selection and limit editing.
    *   **Enforcement Logic Update**: Modified `UsageTracker` to prioritize routine limits over the global whitelist, ensuring scheduled wellness windows are strictly enforced.
    *   **Cleanup**: Removed `RoutineScheduler`, `RoutineWorker`, and cross-process broadcast logic as the system now relies on the unified `RoutinesService` and shared storage.
    
    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 2, 2026
    Configuration menu
    Copy the full SHA
    25efd62 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2026

  1. Fix some UI bugs

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    a043318 View commit details
    Browse the repository at this point in the history
  2. feat: Update launcher icons and enhance timer screen layout

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    10e8c8f View commit details
    Browse the repository at this point in the history
  3. feat: Refactor whitelist logic and enhance blocker notifications

    Key changes include:
    *   **Dynamic System App Whitelisting**: Replaced a large hardcoded list of system package names with logic that automatically whitelists all apps flagged as `FLAG_SYSTEM`.
    *   **Updated Whitelist ViewModel**: Improved package retrieval in `WhitelistViewModel` to use `getPreInstalledSystemPackages` on Android 15 (Vanilla Ice Cream) and above, ensuring better compatibility with newer OS versions.
    *   **Notification Grouping**: Introduced `BLOCKER_GROUP_KEY` and a summary notification for blocked apps. Multiple block alerts are now grouped together in the notification shade to reduce clutter.
    *   **Cleaned up Resources**: Removed redundant `setSmallIcon` and `setLargeIcon` calls in `NotificationHelper` and `DailySummaryWorker` to rely on consistent styling.
    *   **UI Adjustments**: Reduced the bottom spacer height in the `AppUsageScreen` from 32dp to 16dp for a tighter layout.
    *   **Code Cleanup**: Removed unused helper methods `getLimitedAppsCount` and `getWhitelistedCount` from the utility classes.
    
    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    7778f35 View commit details
    Browse the repository at this point in the history
  4. feat: Setup data backup rules

    *   **Data Backup and Persistence**:
        *   Added `data_extraction_rules.xml` and updated `backup_rules.xml` to include `sharedpref`, `device_sharedpref`, and `focus_sessions.json`.
        *   Updated `AndroidManifest.xml` to explicitly use these backup and data extraction configurations.
    *   **UI/UX Enhancements**:
        *   **Whitelist Screen**: Overhauled the `WhitelistScreen` with a `Scaffold` and `LargeTopAppBar`. Integrated a search bar directly into the expanded top bar and added a back navigation button.
        *   **Routines Screen**: Added a back navigation icon to the `LargeTopAppBar` and updated the navigation logic in `MainActivity` to support stack popping.
        *   **App Usage Screen**: Refined the loading state UI by centering the indicator and text within a `Box` for better alignment.
    *   **Navigation**: Updated `WhitelistScreenWrapper` and `MainActivity` to pass `navController` and handle back-press events correctly across the new screen structures.
    *   **Notifications**: Standardized notification icons by replacing `round_hourglass_disabled_24` with `ic_launcher_foreground` across `NotificationHelper` and `BlockerService`.
    *   **Code Cleanup**: Minor adjustments to `AndroidManifest.xml` formatting and component initialization.
    
    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    c41135e View commit details
    Browse the repository at this point in the history
  5. Bump to 410

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 3, 2026
    Configuration menu
    Copy the full SHA
    89d3d2c View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2026

  1. chore: Update application icons

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    17dae4f View commit details
    Browse the repository at this point in the history
  2. ignore patch files

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    e17dd52 View commit details
    Browse the repository at this point in the history
  3. feat: Update changelog for version 4.1.0

    Signed-off-by: invokevirtual <purwarpranav80@gmail.com>
    PranavPurwar committed Mar 4, 2026
    Configuration menu
    Copy the full SHA
    e4dc1bd View commit details
    Browse the repository at this point in the history
Loading