FriesI23/mhabit
68.9
Adequate · 17 November 2026
101.9k
lines of production code
Dart
primary language
5
measurements over time
What this system is
Features
Add Linux desktop platform support
The application now supports Linux desktop environments. This change introduces the necessary CMake build configuration, GTK-based native window integration (including adaptive header bars for GNOME and traditional title bars for other window managers), and the application entry point required to run the Flutter UI on Linux.
linux · high confidence
Add localized app names for Android build flavors
The Android app now displays the correct localized app name in the launcher for each build flavor. The generic store flavor (f\_store) uses the standard 'Table Habit' name across all supported languages, while the development flavor (f\_dev) appends 'Dev' (e.g., 'Table Habit Dev') to clearly distinguish it from the release version.
android/app · high confidence
Add macOS app support
The application now runs on macOS. This change introduces the native macOS runner configuration, including the app delegate, main window setup, and entitlements for sandboxing, network access, and file access. It also configures the app metadata, such as the display name 'mhabit', and declares that the app does not use non-exempt encryption to comply with export regulations.
macos/Runner · high confidence
Add macOS platform support
This change adds the initial macOS platform support for the application. It introduces the Xcode workspace configuration, the main menu interface (MainMenu.xib) with standard application menu items, and the necessary build configuration files (xcconfig) to define the app name (mhabit), bundle identifier, and compiler warnings for both Debug and Release builds.
macos/Runner.xcodeproj/project.xcworkspace, macos/Runner/Base.lproj, macos/Runner/Configs · high confidence
Added Android Play Store deployment lanes via Fastlane
The android/fastlane directory now includes Fastlane configuration files (Appfile, Fastfile, and README) that enable automated builds and submissions to the Google Play Store. Users can now execute specific lanes to clean the environment, run Flutter unit tests, build Android App Bundles (AABs) for specified flavors, and deploy updates to the Play Store with optional parameters for tracks, metadata, and changelogs. The deployment process supports dry-run validation and intelligent reuse of existing build artifacts to optimize CI/CD workflows.
android/fastlane · high confidence
Added Microsoft Store submission safety and changelog staging scripts
New PowerShell scripts in the msstore directory now protect the Microsoft Store submission pipeline from overwriting manual drafts and automate release note updates. The check\_draft\_ownership.ps1 script verifies that any pending Store submission matches the ID recorded by the CI pipeline, preventing accidental overwrites of drafts created in Partner Center. The update\_changelog.ps1 script automatically stages per-locale release notes from Android fastlane metadata onto the Store submission draft, ensuring the Store listing reflects the current build's changelog.
scripts/msstore · high confidence
Added Windows code-signing certificate and CSR
The repository now includes a self-signed X.509 certificate (publish.crt) and its corresponding Certificate Signing Request (publish.csr) in the windows/certificate directory. These files are intended for signing Windows installer builds, supporting the newly added Windows installer builder action.
windows/certificate · high confidence
Added macOS App Store distribution via fastlane
New fastlane configuration files (Appfile, Fastfile, Matchfile) have been added to the macos/fastlane directory to automate macOS app distribution. This setup enables CI-driven code signing using match with a dedicated git-based certificate repository, builds the app for specified flavors, and uploads packages to the App Store (public track) or TestFlight (beta/alpha tracks), including automatic submission for review on the public track and changelog handling for TestFlight.
macos/fastlane · high confidence
Added macOS Xcode schemes for flavor-based builds
New Xcode scheme files have been added to the macOS project configuration to support app flavors. The default 'Runner' scheme is included alongside three flavor-specific schemes: 'f\_dev', 'f\_generic', and 'f\_store'. Each flavor scheme is configured with distinct build configurations (e.g., Debug-f\_dev, Profile-f\_store) and includes a pre-action script to prepare the Flutter framework, enabling developers to build and run different app variants from Xcode.
macos/Runner.xcodeproj/xcshareddata · high confidence
Expanded app localization with new and updated language files
The app's localization layer has been updated with new generated translation files for Arabic, Czech, German, Spanish, Basque, Persian, French, Hebrew, Hungarian, Italian, Japanese, and Norwegian Bokmål. These files provide the translated strings for the habit editing interface, including habit names, color pickers, daily goals, frequency selectors, and reminder settings, enabling users to interact with the app in their preferred language.
lib/l10n · high confidence
Habit editing UI reorganized with adaptive layout and custom color support
The habit editing interface has been restructured into a dedicated widget directory, introducing several user-facing improvements. A new custom color picker allows users to select specific colors and tinting options for habits, with the picker dialog adapting its layout to screen width. The app bar now uses an adaptive component that supports inline editing and adaptive back/close buttons. Group selection has been upgraded to an inline picker on larger screens and an overlay on smaller ones, supporting search and creation. Daily goal input tiles now display context-aware hints based on whether the habit is normal or negative, and the frequency picker has been refactored for cleaner state management. All components have been migrated to use the new adaptive UI framework for consistent cross-device behavior.
_lib/pages/habit\_edit/\widgets · high confidence
Habit grouping and sorting capabilities added
Users can now organize habits into groups and control their display order. This change introduces a batch-modify dialog for assigning habits to groups, along with new sorting options that allow habits and groups to be ordered by type (such as name, color, creation date, or habit count) or by a custom manual drag-and-drop sequence. The system also supports natural-language sorting for more intuitive ordering of text-based items.
_lib/pages/habits\_display/\providers · high confidence
Initial Flatpak packaging for Table Habit
The Table Habit application is now available as a Flatpak package, enabling installation on Linux systems via Flathub. This release includes the necessary build manifest (io.github.friesi23.mhabit.yml), application metadata (metainfo.xml), and desktop entry files. The package bundles the app for both x86\_64 and ARM64 architectures, integrates the Noto Sans CJK font for proper character rendering, and utilizes the Freedesktop 25.08 runtime.
_configs/flatpak\builder, flatpak · high confidence
Initial Linux platform support
This change introduces the Linux desktop platform for the application. It adds the necessary CMake build configuration to link the Flutter engine and system libraries (GTK, GLib, GIO), and generates the plugin registrant code to initialize key plugins including dynamic color, file selection, secure storage, timezone, native window chrome, URL launching, and window management.
linux/flutter · high confidence
Initial Windows platform support for the Flutter application
This change introduces the necessary build configuration and plugin registration files to enable the Flutter application on Windows. The new CMakeLists.txt sets up the Flutter library and wrapper targets for the Windows-x64 architecture, while the generated plugin registrant files explicitly register native plugins including connectivity\_plus, file\_selector\_windows, flutter\_secure\_storage\_windows, native\_natural\_sort, share\_plus, and url\_launcher\_windows, allowing these features to function on the new platform.
windows/flutter · high confidence
Initial macOS platform support added
The application now supports macOS, enabling users to run the app on Apple desktop operating systems. This change introduces the necessary Flutter macOS configuration files and a generated plugin registrant that integrates key platform capabilities, including secure password storage, local notifications, file selection, and network connectivity monitoring.
macos/Flutter · high confidence
Introduce code generation for proxy classes
Added the \mhabit\_proxy\_annotation\ and \mhabit\_proxy\_builder\ packages to enable automatic generation of proxy classes. The annotation package defines a \Proxy\ annotation that specifies a target class, while the builder package uses a build runner to generate a proxy implementation that delegates all public methods and getters/setters to the base instance, supporting optional use of annotated names and preserving deprecation metadata.
_packages/mhabit\_proxy\_annotation, packages/mhabit\_proxy\builder · high confidence
Introduce custom color generation via code generation
This change introduces a new code-generation capability for custom color palettes. A new \mhabit\_color\_annotation\ package provides the \GenerateCustomColors\ annotation, while the \mhabit\_color\_builder\ package implements a \build.yaml\-registered builder that reads color configuration (including primary min chroma, light/dark tones, and color seeds) from the project's \pubspec.yaml\ under the \mhabit\_color\_builder\ section and generates corresponding Dart code. This allows users to define custom color schemes in their pubspec and have them automatically generated at build time.
_packages/mhabit\_color\_annotation, packages/mhabit\_color\builder · high confidence
Introduce dedicated group management page
Users can now manage habit groups through a new GroupManagePage, which provides the ability to create, edit, and delete groups with confirmation dialogs and undo support. The page includes sorting options for groups and integrates with the app's adaptive UI and provider architecture for state management.
_lib/pages/group\manage · high confidence
Introduce structured WebDAV sync task framework
The app now uses a new \AppSyncTask\ framework in \lib/models/\_app\_sync\_tasks\ to manage WebDAV synchronization. This change introduces a structured lifecycle for sync operations, including task states (idle, running, cancelling, completed), configurable timeouts, and explicit cancellation support. It replaces ad-hoc sync logic with reusable sub-tasks for fetching metadata, querying the local database, merging local and server data, and executing individual habit and group syncs. The framework also handles error reporting, session management, and progress tracking, providing a more reliable and maintainable sync experience for users.
_lib/models/\_app\_sync\tasks · high confidence
Introduces dedicated notification channels and types for app syncing and debugger features
The notification system now supports two new distinct notification types: 'appSync' and 'appDebugger'. This introduces dedicated notification channels (IDs 5 and 6) for syncing status updates (syncing, synced, failed) and debugger information, respectively. The change includes new platform-specific notification details classes for Android, iOS/macOS, Linux, and Windows to handle these new types, a dedicated tap handler to route debugger notification taps to the app debugger page, and a new provider (\NotiAppSyncProvider\) to manage sync-related notifications with platform-specific implementations and throttling. Existing channels have been renamed to use localized names where available.
lib/reminders · high confidence
Introduces mhabit\_adaptive\_ui package for platform-adaptive UI components
The new \mhabit\_adaptive\_ui\ package provides a comprehensive set of adaptive UI components that automatically render using the appropriate platform style (Material or Apple/Cupertino) based on the current context. This includes adaptive app bars, navigation bars, list tiles, dialogs, modals, and form controls, ensuring a consistent user experience across different operating systems while adhering to native design guidelines.
_packages/mhabit\_adaptive\ui/lib · high confidence
Native desktop window chrome and size/position persistence
The app now uses native window decorations and remembers window size and position across restarts. On macOS, the window uses a fused title bar with native controls; on Windows and Linux, it uses the native title bar appearance. Window geometry (position and size) is automatically saved and restored on all supported platforms, with platform-specific storage mechanisms (AppKit autosave on macOS, Win32 placement on Windows, GTK geometry on Linux). Also in this area: 1 commit (1 fix) fixing packages/mhabit\_desktop\_window\_chrome; 1 commit (0 fixes) modifying macos, packages/mhabit\_desktop\_window\_chrome.
_packages/mhabit\_desktop\_window\chrome · medium confidence · unverified
New App Settings page with adaptive UI and localization support
The app now includes a dedicated App Settings page (lib/pages/app\_settings) that consolidates user configuration options. This page supports adaptive layouts for different window sizes and platforms, including specific handling for Apple sidebar navigation and iPad window controls. Users can now manage system language settings (with platform-specific support for Android, iOS, and macOS), customize theme colors and modes, adjust date formats, set the first day of the week, and configure reminders and sync status. The implementation also introduces new widgets for clearing app cache, managing habit imports, and adjusting display options, all integrated with the new provider architecture for state management.
_lib/pages/app\settings · high confidence
New Habits Status Changer page for batch check-in management
A new Habits Status Changer page has been added, allowing users to view and batch-update the status of habit check-ins. The page features a split layout on wider screens (main section with date/status selection and secondary section with habit details), supports saving changes with a confirmation dialog, and provides options to delete or reset selected records. It integrates with the app's provider architecture for state management and uses adaptive UI components for consistent styling.
_lib/pages/habits\_status\changer · high confidence
New Python-based release and build automation scripts
The repository now includes a new set of Python scripts in \scripts/python-scripts/bin\ to handle release and build tasks, replacing previous shell-based approaches. These scripts include \bump\_version.py\ for confirming and writing version bumps to \pubspec.yaml\, \gen\_fastlane\_changelog.py\ for parsing changelogs and generating Android and Darwin release notes, \normalize\_arb.py\ for formatting localization files with template support, \release\_postgen.py\ for orchestrating post-release metadata generation (Fastlane, Apple, Flatpak), and \sync-rules.py\ for creating reference links to project rules in AI tool configurations (Claude, Copilot, Continue, Cursor) instead of copying content. A \.gitignore\ file is also added to exclude Python virtual environments and cache files.
scripts/python-scripts · high confidence
New adaptive UI widget library and habit-specific date picker
The \lib/widgets/\_widgets\ directory now contains a comprehensive suite of new components supporting the app's adaptive UI migration and habit-specific features. This includes \AdaptiveConfirmDialog\ and \AdaptiveModalMaterialBridge\ for platform-aware modals, \WindowSizeClassLayoutBuilder\ for responsive layout logic, and \ExperimentalFeatureGate\ for feature-flagged UI. Habit-specific enhancements are provided via \HabitDatetimePickerDialog\ (which merges selected dates with current time and includes preset date chips) and \HabitDatePickerMixin\. Additional utility widgets include \AnimatedLinearProgress\, \DragHandleButton\ for reordering, \ColorSwatchButton\ for color selection, \CryptoDonateButton\, \ChangelogBanner\, and \FilterableMenuField\ for searchable dropdowns.
_lib/widgets/\widgets · high confidence
New and updated build, release, and localization automation scripts
The scripts directory now includes dedicated tooling for packaging and releasing the application across platforms. New scripts handle building macOS DMGs (build\_dmg.sh), generating and publishing Flatpak bundles (build\_flatpak.sh, build\_flatpak\_pre.sh), and creating Microsoft Store MSIX packages (build\_msix\_store.cmd). Release management is supported by scripts for version bumping (release\_bump.sh/cmd), post-generation tasks like Fastlane changelog and metadata updates (release\_postgen.sh/cmd), and changelog generation for Android and Apple platforms (gen\_changelogs.sh/cmd, gen\_changelogs\_darwin.sh/cmd). Localization and asset generation have been updated: ARB files are normalized via Python scripts (normalize\_arb.sh/cmd), icon fonts are generated using a custom Dart tool (gen\_icons.sh/cmd), and app icons are updated (gen\_logo.sh/cmd). Additionally, a verification script (verify\_generated.sh/cmd) ensures generated code remains consistent with source files.
scripts · high confidence
New app error page with crash log copying
The application now includes a dedicated error page (AppErrorPage) that displays unhandled exception details and stack traces. It features a floating action button that copies the current crash information, including the exception message, stack trace, and the last 200 lines of debug logs, to the system clipboard, along with a confirmation snackbar.
_lib/pages/app\error · high confidence
New app notification configuration page
A new AppNotifyConfigPage has been added, allowing users to manage notification settings for specific channels. The page displays toggle switches for 'appSyncing' and 'appSyncFailed' channels, enabling users to enable or disable notifications for these events directly from the app settings.
_lib/pages/app\_notify\config · high confidence
New batch check-in UI components for habit status changes
The habits status changer now includes a dedicated set of UI widgets to support a new batch check-in flow. Users can now select dates via a dedicated date picker tile with navigation controls, choose record statuses (such as skip, ok, dual, or zero) using a segmented button, and provide skip reasons via a chip-based input field. The interface is completed with a confirm button that allows saving or resetting the batch changes, and an adaptive app bar that manages the navigation context for this flow.
_lib/pages/habits\_status\_changer/\widgets · high confidence
New changelog dialog and robust version matching for pre-release builds
Users can now view the current version's changelog in an adaptive dialog that presents as a sheet on compact screens and a modal on larger ones, with an option to view the full changelog history. The underlying parser has been updated to reliably match the app's version to the correct changelog entry, specifically handling pre-release suffixes (e.g., \-pre\, \-dev\) and build number variations that might otherwise cause the wrong section to be displayed.
_lib/pages/app\changelog · high confidence
New experimental features management page
A new 'Experimental Features' page has been added to the application, allowing users to toggle specific capabilities directly from the UI. This page exposes controls for 'Habit Search', 'Habit Grouping', and 'Natural Sort' (locale-aware collation). It includes a warning banner that appears when any experimental feature is enabled, providing a dismissible alert to users about the nature of these features.
_lib/pages/expermental\features · high confidence
New fastlane helper modules for deployment, signing, and changelog management
Added three new Ruby helper modules to the fastlane directory to support iOS/macOS App Store submission workflows. DeployLaneHelper provides utilities for handling dry-run modes and skips In-App Purchase precheck validation when using App Store Connect API Keys. MatchSigningHelper standardizes environment variable naming for code signing profiles across iOS, macOS, tvOS, and Catalyst platforms. TestflightChangelogHelper automates the resolution and loading of localized changelogs for Testflight submissions, supporting both Android metadata structures and Flutter build numbers.
fastlane · high confidence
New localized assets and translation infrastructure
The application now includes new asset files to support internationalization and visual updates. This adds a license file for the 'beta' icon, a new 'Today Done' illustration (with a color-parameterized template), and a comprehensive set of new localization files (ARB JSON) for Arabic, Czech, German, Spanish, Basque, and Persian, alongside a tracking file for untranslated strings.
assets · high confidence
New provider for the Habit Status Changer page
A new \HabitStatusChangerViewModel\ has been introduced to manage the state and logic for the habit status changer feature. This provider handles loading habit summaries, managing the selection of dates and statuses, and processing skip reasons. It integrates with the application's event system to listen for changes in habit data and records, ensuring the UI stays synchronized with the underlying data model, and utilizes a generated \copyWith\ extension for immutable form state updates.
_lib/pages/habits\_status\_changer/\providers · high confidence
New structured logging system with categorized loggers and debug file output
The application now uses a new structured logging system in lib/logging that categorizes logs by type (such as debugger, build, value, navi, db, profile, network, and appsync) and provides specialized loggers for text, widget, value changes, and sync tasks. In debug mode, logs are printed to the console with detailed formatting; in release mode, they are written to a file at the app's debug log path, with warnings and errors written immediately. The system also captures unhandled Flutter and platform errors, routing them to the debugger logger for easier troubleshooting.
lib/logging · high confidence
New support providers for animation sync, habit charting, and page load management
This change introduces several new support providers in the \lib/providers/support\ directory. It adds \AnimationScaleSync\ (with an Android-specific implementation and a stub for other platforms) to synchronize the Android system animation scale with Flutter's \timeDilation\, ensuring animations respect system settings while allowing debug overrides. It also introduces \HabitDetailChartHelper\ utilities to manage date range calculations and data fetching for habit score and frequency charts across yearly, monthly, weekly, and daily views. Additionally, a \PageLoadRuntime\ class is added to manage asynchronous page load sessions with cancellation and state tracking, and an \AboutInfo\ model is introduced to handle application metadata and donation links via JSON serialization.
lib/providers/support · high confidence
New tooling for deterministic icon font generation and screenshot data seeding
The tools directory now includes a new icon font generation pipeline (\tools/bin/gen\_icons.dart\) that produces deterministic builds by respecting the \SOURCE\_DATE\_EPOCH\ environment variable, and a screenshot data generator (\tools/bin/gen\_screenshot\_data.dart\) that creates seed JSON files for UI previews. These tools are configured via new YAML files (\tools/config/screenshot\_seed.yaml\ and \tools/config/screenshot\_seed\_natural\_sort.yaml\) defining habit groups, strategies, and natural-language sorting test cases, and are supported by a new analyzer options file (\tools/analysis\_options.yaml\).
tools · high confidence
New utility infrastructure for time, paths, and cross-platform operations
This change introduces a suite of new utility classes in lib/utils to standardize core app behaviors. AppClock provides a mockable time source to replace direct DateTime.now() calls, enabling better testability and time control. AppPathProvider v2 refactors file storage locations, moving debug logs and sync failure logs to application cache/support directories and introducing a dedicated subdirectory for sync-failed logs. LocalTimeZoneManager adds explicit support for Windows timezone resolution (converting Windows timezone names to IANA) alongside existing Android, iOS, macOS, and Linux handlers. Additional utilities include CascadingAsyncDebouncer for handling async action debouncing, HabitDateRangeCalculator for complex date range logic, and XShare for platform-aware file sharing and saving (using share\_plus on mobile and file save dialogs on desktop).
lib/utils · high confidence
Windows platform support
The application now runs on Windows. This change adds the native Windows runner files (CMake build configuration, Win32 window management, and Flutter host code) required to build and launch the app on the Windows platform.
windows/runner · high confidence
macOS support added with multi-flavor build configuration
The macOS platform is now supported, introducing a new Xcode project structure that enables building multiple application flavors (dev, generic, and store) via distinct Info.plist configurations. This change adds the necessary build targets, assets, and localization files for the macOS runner, allowing users to install and run the application on macOS devices.
macos/Runner.xcodeproj · high confidence
Removals
Removal of legacy common dialog and picker components
The \confirm\_dialog.dart\, \donate\_dialog.dart\, and \habit\_record\_number\_picker.dart\ files have been deleted from the \lib/view/common\ directory. This removes the previous implementations of the generic confirmation dialog, the donation dialog (which supported Buy Me a Coffee, PayPal, Alipay, and WeChat Pay), and the habit record number picker dialog. Users will no longer interact with these specific UI components in their current form, as they have been replaced or refactored elsewhere in the application.
lib/view/common · high confidence
Removal of legacy habit tracking widget components
The \lib/component/widgets\ directory has been cleaned up by deleting five legacy widget files: \date\_picker.dart\, \habit\_calendar\_space\_bar.dart\, \habit\_daily\_status\_container.dart\, \habit\_form\_flexible\_space\_bar.dart\, and \habit\_list\_tile.dart\. These components, which previously handled date selection, calendar navigation, daily status display, form layout, and list tiling, are no longer part of the codebase.
lib/component/widgets · high confidence
Removal of legacy model layer files
The \lib/model\ directory has been cleaned up by deleting several legacy model files, including \about\_info.dart\, \global.dart\, \habit\_display.dart\ (and its generated \habit\_display.g.dart\), \habit\_form.dart\, \habit\_summary.dart\, and \score.dart\. This removes the underlying data structures and logic for app metadata, global state, habit display filtering, form definitions, summary calculations, and scoring that were previously defined in this location.
lib/model · high confidence
Removed Chinese-language commit message template
The Chinese-language commit message template (commit-zh.template) has been removed from the templates/git directory. Users will no longer have access to this specific localized template for structuring commit messages.
templates · high confidence
Removed debug settings and habits import dialog views
The app no longer includes the 'Develop' subgroup in settings (containing log level, debug menu toggle, and database export/clear options) nor the habits import confirmation dialog. These UI components have been deleted from the codebase, meaning users can no longer access these specific configuration and import features through the app interface.
_lib/view/for\_app\setting · high confidence
Removed habit editing UI components
The habit color picker, date picker, and target days picker dialogs have been removed from the \lib/view/for\_habit\_edit\ directory. This deletion eliminates the specific UI widgets previously used for selecting habit colors, setting start dates, and configuring target day counts within the habit editing flow.
_lib/view/for\_habit\edit · high confidence
Removed legacy database helper files for habits and records
The \lib/db/db\_helper/habits.dart\ and \lib/db/db\_helper/records.dart\ files have been deleted. These files previously contained the data models (\HabitDBCell\, \RecordDBCell\), database table constants, and direct SQLite operations (insert, update, load) for habits and records. Their removal indicates a structural refactor of the database layer, likely moving this logic to a different location or architecture within the application.
_lib/db/db\helper · high confidence
Removed legacy view and component files
Deleted the legacy \lib/view\ directory structure, including the main app shell (\app.dart\), habit display and detail pages, edit forms, and the centralized \component/widget.dart\ barrel file. This removes the old UI implementation and its associated view-model wiring, paving the way for the new architecture.
lib/view · high confidence
Architecture
Habit detail page restructured with new provider architecture
The habit detail page has been reorganized into a modular structure, splitting the implementation into separate files for the main page, providers, styles, and widgets. The provider layer now explicitly manages the HabitDetailViewModel along with dependent chart view models (frequency and score charts) through a dedicated PageProviders widget, ensuring proper lifecycle management and state synchronization. This change improves code maintainability and separation of concerns within the habit detail view.
_lib/pages/habit\detail · high confidence
Habits display page restructured into a dedicated module
The habits display logic has been reorganized from the legacy \lib/view/common\ directory into a new \lib/pages/habits\_display\ module. This change introduces dedicated page components for the main habits list (\HabitsTabPage\) and the Today view (\TodayTabPage\), along with a new \HabitsPageProviders\ setup to manage view-model dependencies. It also adds a new \HabitGroupModifyHandler\ helper to manage batch group modifications and a \HabitDisplayNavigationChrome\ interface to coordinate primary actions and contextual chrome with the app shell.
_lib/pages/habits\display · high confidence
Profile storage handlers reorganized into dedicated files
The profile storage layer has been restructured to improve maintainability and separation of concerns. Individual settings—such as theme colors, sync options, habit grouping, and search behavior—are now persisted via dedicated handler classes (e.g., \AppThemeColorProfileHandler\, \AppSyncSwitchHandler\, \HabitGroupingExperimentalFeature\) rather than a monolithic structure. This change introduces a standardized \ProfileHelper\ pattern for serialization and deserialization, ensuring consistent handling of complex types like locales, JSON maps, and experimental feature flags across the application.
lib/storage/profile/handlers · high confidence
Refactored profile storage with new helper infrastructure
The profile storage layer has been reorganized to introduce a new \ProfileHelper\ abstraction for managing user settings. This change adds a \converter.dart\ utility for type-safe encoding and a \profile\_helper.dart\ framework that standardizes how profile data (such as booleans, integers, and JSON maps) is read from and written to \SharedPreferences\. The existing storage logic is now consolidated and re-exported through a new \handlers.dart\ barrel file, streamlining access to individual setting handlers like theme colors, habit grouping, and search preferences.
lib/storage/profile · high confidence
Removal of legacy provider architecture
The \lib/provider\ directory has been completely removed, deleting all legacy ViewModel and provider classes (including \AppReminderViewModel\, \HabitSummaryViewModel\, \HabitDetailViewModel\, and file import/export providers). This change eliminates the old state management and business logic layer, indicating a migration to a new provider implementation or architecture elsewhere in the application.
lib/provider · high confidence
Replaces manual sync triggers with a centralized event bus and restructures workflow providers
The workflow provider layer has been reorganized to use a new \AppEventBus\ for decoupling system events (such as sync triggers, startup, and settings changes) from direct method calls. This change introduces dedicated providers for managing app-wide settings, notification configurations, and reminders, while consolidating sync logic into \AppSyncOwner\ which now subscribes to events rather than relying on manual triggers. Additionally, the diff includes new files for managing habit groups (\GroupManager\), file-based habit import/export (\HabitFileImportRunner\, \HabitFileExportRunner\), and third-party imports (specifically Loop Habit Tracker CSV support via \ThirdPartyImportOwner\).
lib/providers/workflow · high confidence
Behavioural changes
1 commit (0 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 1 commit, 11 files: “feat(ios): add configurable and localized habit widgets (\#687)” (refs \#687).
_lib/entries/habit\widget, pigeons · medium confidence · unverified
60 commits (3 fixes) modifying ios
A change to existing behaviour in ios — 60 commits (3 fixs), 211 files: “chore: bump version to v1.24.5+161 (\#576)”; “feat(ios): add configurable and localized habit widgets (\#687)”; “chore: add App Uses Non-Exempt Encryption to plist”; and 57 more (refs \#576, \#687, \#468, \#523, \#474, …).
ios · medium confidence · unverified
Adaptive UI for Group Management screens
The Group Management interface now supports both Material and Apple design styles. The app bar, group list/grid items, and the create/edit dialog have been rebuilt to use platform-specific widgets (e.g., \AdaptiveSliverAppBar\, \AdaptiveListTile\, \AdaptiveModal\), ensuring the layout and controls match the user's preferred aesthetic.
_lib/pages/group\_manage/\widgets · high confidence
Adaptive UI migration for App Debugger widgets
The App Debugger interface now adapts its visual style to the platform: Material Design is used on Android/Windows/Linux, while Apple-style controls are used on iOS/macOS. This change introduces new widget components (ChangeLogsSwitcherTile, DebuggerAppBar, DebuggerCard, DebuggerInfoCard, DebuggerLogCard) that switch between Material and Cupertino implementations based on the current AdaptiveStyle, ensuring native-looking switches, app bars, and action buttons for debugging features like log collection and sharing.
_lib/pages/app\_debugger/\widgets · high confidence
Adaptive UI overhaul for the Habits display page
The Habits display page now features a fully adaptive interface that dynamically switches between Material Design and Apple (Cupertino) styling based on the platform. This update introduces distinct top app bars for view, search, and selection modes, along with a new contextual chrome system that manages shell elements like floating action buttons and bottom toolbars. Users will also see a new confirmation dialog for batch group modifications and an enhanced search filter menu with keyboard accessibility. The Today page cards have been refined to support grid layouts and custom theme colors.
_lib/pages/habits\_display/\widgets · high confidence
Adaptive UI widgets and navigation controls
The app now renders its common UI components using the new adaptive UI framework, automatically switching between Material and Apple (Cupertino) styles based on the platform. This change introduces several new widgets in the common library: navigation and theme controls (settings and theme mode buttons), a pop-scope consumer for handling system back gestures, and a sliver-based habit group tree for displaying grouped habits. It also adds adaptive versions of existing dialogs (sync confirmation, export confirmation, donation) and forms (group editing, habit record number picking), ensuring consistent cross-platform behavior for user interactions.
_lib/pages/common/\widgets · high confidence
Adaptive habit display action bars for search, view, selection, and options
The habits display now uses a unified, platform-adaptive action system across its main views. New widgets in the actions folder provide native-feeling toolbars and menus for sorting, grouping, filtering, and theming habits (options), searching habits (search), selecting and bulk-editing habits (selection), and the main view header (view). These components automatically render Material or Cupertino styles based on the current platform, handle action placement policies (pinned vs. overflow), and expose callbacks for all user interactions like toggling filters, changing sort/grouping, or archiving/deleting selected items.
_lib/pages/habits\_display/\widgets/actions · high confidence
Adopts native natural sort and fixes iOS 26 double-tap edge issue
The application now uses the native\_natural\_sort package for cross-platform natural-language collation, replacing previous custom logic, and initializes this via FFI on Windows. On iOS, the app now uses a custom FixedIos26FlutterBinding to resolve a double-tap issue at the top edge on iPadOS 26. Additionally, the entry point has been refactored to use AppEntry instead of App, and timezone handling has been consolidated into LocalTimeZoneManager.
lib · high confidence
Android build environment and CI pipeline configuration
The Android module now includes the Gradle wrapper scripts (gradlew and gradlew.bat) to ensure consistent builds, and the .gitignore file has been updated to exclude Fastlane artifacts (such as Play Store service accounts, reports, and screenshots) alongside standard build outputs. These changes support the newly added CI pipeline for Android Play Store submissions.
android · medium confidence
App Sync Server Editor UI components restructured into dedicated widgets
The App Sync Server Editor form has been refactored to use a modular widget architecture. UI elements for configuring sync settings—such as connection retry counts, timeouts, network type selection (including mobile networks and low-data mode), SSL certificate handling, and credential inputs (username, password, path)—are now implemented as distinct, reusable widgets. This change improves the maintainability and clarity of the editor's interface without altering the underlying configuration capabilities.
_lib/pages/app\_sync\_server\_editor/\widgets · high confidence
App Sync Server Editor restructured with dedicated form view model and provider wiring
The App Sync Server Editor page has been refactored to use a new \AppSyncServerFormViewModel\ that manages form state, tracks edits, and handles type-specific logic (e.g., WebDAV settings) via a handler pattern. The page now uses a \PageProviders\ wrapper to wire this view model with the \AppSyncSettingsAccess\ via a proxy provider, ensuring settings are attached and updates are propagated. This change improves separation of concerns by moving form logic out of the UI layer into a dedicated provider, while maintaining existing save, cancel, and delete confirmation behaviors.
_lib/pages/app\_sync\_server\editor · high confidence
App Sync page restructured with adaptive UI and provider wiring
The App Sync settings page has been rebuilt to use the adaptive UI framework, replacing the previous layout with sliver-based scrolling and adaptive list sections. The page now integrates a new provider layer (PageProviders) to expose AppSyncSettingsAccess to its child widgets, and server configuration is handled via a dedicated editor dialog. The interface includes controls for enabling sync, adjusting the fetch interval, viewing sync fail logs, and a debug tile visible only in developer mode.
_lib/pages/app\sync · high confidence
App settings UI migrated to adaptive Material and Apple styles
The App Settings page widgets have been rewritten to support adaptive UI, rendering distinct Material and Apple (Cupertino) styles based on the user's theme preference. This change introduces new settings controls for language selection, calendar bar occupancy, cache clearing, date display formats, and theme customization, all of which now adapt their layout and controls (such as segmented buttons or choice tiles) to the active style. A new Developer subgroup has been added to allow toggling between UI styles, Apple sidebar modes, and text direction overrides, while existing tiles for notifications, sync failures, and habit imports have been updated to follow the new adaptive patterns.
_lib/pages/app\_settings/\widgets · high confidence
App shell and navigation restructured for adaptive UI
The app's entry point and navigation infrastructure have been reorganized to support the new adaptive UI system. The \AppEntry\ widget now initializes a \GoRouter\-based navigation coordinator and a dedicated \AppNavigationChromeController\ to manage shell-level UI state. New files in this location define the declarative navigation destinations (\AppNavigationDestinations\), the navigation chrome controller (\AppNavigationChromeController\), and the adaptive navigation shell (\AppNavigationShell\). This shell handles platform-specific navigation bars, Apple sidebar styling, and auxiliary destinations like theme mode switching. The provider hierarchy has also been consolidated into \AppProviders\ to manage the new workflow and UI state dependencies required by the adaptive shell.
lib/entries/app · high confidence
Automated macOS CI build and setup scripts
Added \ci\_post\_clone.sh\ and \ci\_pre\_xcodebuild.sh\ to the macOS CI pipeline. The post-clone script now automatically installs Flutter artifacts for macOS and fetches project dependencies using the local Flutter submodule. The pre-build script configures the build process to use the detected Xcode scheme (if available) or default to a standard release build, ensuring consistent configuration-only builds during CI.
_macos/ci\scripts · high confidence
Custom color palette regenerated with updated shades
The app's custom color palette (cc1–cc10) has been regenerated using the mhabit\_color\_builder tool, resulting in updated light-theme color shades for primary colors, containers, and on-colors (e.g., cc1 changed from \#6750A4 to \#9078D0). The previous manual color logic in lib/theme/\_colors/colors.dart was removed and replaced by the generated custom\_color.dart and custom\_color.g.dart files, while crypto-specific colors were moved to a dedicated theme file.
_lib/theme/\colors · high confidence
Database schema migration to version 7 with habit grouping and custom color support
The local SQLite database has been upgraded to version 7, introducing support for habit grouping and custom habit colors. This change adds a new \mh\_groups\ table to store habit groups and adds a \group\_id\ column to the \mh\_habits\ table to link habits to their respective groups. Additionally, \custom\_color\ and \custom\_color\_tinted\ columns have been added to the \mh\_habits\ table to allow users to assign specific colors to habits. The migration logic in \db\_helper.dart\ ensures these schema changes are applied automatically when upgrading from previous versions.
lib/storage/db · high confidence
Database schema upgrade to version 10 and new sync/debug infrastructure
The app's local database has been upgraded from version 3 to version 10, introducing new tables and columns to support habit grouping, manual sort positions, and expanded sync extras. To support this, new JSON converters have been added for contributor collections, habit display operation configs, and normalized lists. The app now includes a dedicated subdirectory for logging sync failures, and the \AppInfo\ module has been expanded to detect Linux architectures and rectangular-screen iPhones. Additionally, a \SortGuard\ utility has been introduced to prevent race conditions during data sorting, and the \utils\ module now generates deterministic record UUIDs based on habit UUIDs.
lib/common · high confidence
Debugger page reorganized with adaptive UI and new routing
The App Debugger page has been restructured to support adaptive UI styles (Apple vs. Material) and migrated to go\_router for navigation. The page now uses the AppDebuggerViewModel to manage logging levels and log collection status, and includes new actions to download, clear, and share debug logs and info. The floating action button is now conditional on the adaptive style, and the previous context extension for provider reading has been removed in favor of direct Provider usage.
_lib/pages/app\debugger · high confidence
Demo scripts updated to reflect new habit model and moved to demo directory
The debug scripts for habit record calculations and auto-marking have been relocated from the test directory to the demo directory. These scripts now utilize the updated habit model, specifically importing the new \habit\_color\ module and initializing \HabitSummaryData\ with the new \color\ and \type\ fields instead of the legacy \colorType\. Additionally, generated records now include the \parentUUID\ field to align with the current data structure.
demo · high confidence
Enforced commit message standards with automated templates
The repository now enforces structured commit messages via a new \.githooks\ setup. The \commit-msg\ hook validates that messages follow the conventional format (e.g., \feat(scope): description\) or specific version-bump patterns, rejecting non-compliant messages. Additionally, the \prepare-commit-msg\ hook automatically injects context-specific templates (default, bugfix, or bumpversion) based on the commit type or changes to \pubspec.yaml\, streamlining the creation of valid commit messages.
.githooks · high confidence
Generated asset and font accessors introduced
The application now uses FlutterGen-generated code to provide type-safe access to bundled resources. New files \assets.gen.dart\ and \fonts.gen.dart\ expose typed getters for icons, images (including donation and empty-state assets), SQL scripts, configuration files, and font families, replacing the previous manual export structure in \lib/assets/assets.dart\.
lib/assets · high confidence
Gradle wrapper upgraded to version 8.14.3 with enhanced integrity checks
The Android build system now uses Gradle 8.14.3 instead of 7.5, introducing a SHA-256 checksum verification for the distribution archive and a network timeout setting to improve build reliability and security. This upgrade ensures that the Gradle binary is validated before execution, reducing the risk of corrupted or tampered downloads during the build process.
android/gradle · high confidence
Group management page logic and sorting implementation
The Group management page now includes a dedicated ViewModel that handles group data loading, selection state, and undo capabilities. Users can sort groups using a new native natural sort algorithm (via the native\_natural\_sort package) which respects locale settings, with session-level overrides falling back to global profile settings. The page subscribes to application events to automatically reload data when groups are modified, ensuring the UI stays synchronized with underlying changes.
_lib/pages/group\_manage/\providers · high confidence
Habit detail page adopts adaptive UI with custom colors and reorganized widgets
The habit detail page now renders platform-specific interfaces: Material and Apple styles are applied to the app bar, action buttons, and charts based on the current adaptive style. The app bar and its actions (edit, archive, unarchive, clone, export, delete, and record calendar) are now adaptive, with the Apple layout including a pinned check-in action. Habit colors are now applied to UI elements like the app bar title, FAB, and progress indicators using the new HabitColor model. The page layout has been reorganized into a dedicated widgets directory, and the frequency/score charts now support side-by-side layouts and respect text scaling. The habit detail view model is now shared via context within the replacement record calendar dialog, and the heatmap calendar is wrapped in a gesture detector to support tap interactions.
_lib/pages/habit\_detail/\widgets · high confidence
Habit detail page logic is restructured into dedicated view models
The logic for the habit detail page has been refactored to improve separation of concerns. The main \HabitDetailViewModel\ now manages core state and subscribes to application events (such as habit edits, status changes, and group changes) to trigger data reloads. Additionally, new dedicated view models have been introduced for the frequency and score charts (\HabitDetailFreqChartViewModel\ and \HabitDetailScoreChartViewModel\), which handle their own chart-specific state, data aggregation, and scroll direction caching. This change centralizes event handling in the main provider while delegating chart-specific rendering logic to specialized components.
_lib/pages/habit\_detail/\providers · high confidence
Habit display UI components removed
The habit display view layer has been refactored by deleting several UI components: the edit-mode and view-mode app bars, the floating action button, the main menu dialog, and the sort type picker dialog. This removes the previous UI implementation for managing habit display settings, sorting, and filtering within this specific view area.
_lib/view/for\_habit\display · high confidence
Habit edit page restructured with dedicated provider and widget organization
The habit editing interface has been reorganized to improve code maintainability and separation of concerns. The main page logic is now contained in a new \page.dart\ file, which manages the UI state and user interactions for editing habit details. A dedicated \providers.dart\ file centralizes the dependency injection setup, specifically wiring the \HabitFormViewModel\ with necessary services like \GroupManager\ and \AppEventBus\. Additionally, a \widgets.dart\ file exports a comprehensive set of reusable UI components for habit editing, such as color pickers, frequency selectors, and reminder tiles, replacing the previous scattered widget definitions. This structural change isolates the edit page's internal implementation details from the rest of the application.
_lib/pages/habit\edit · high confidence
Introduce adaptive UI widgets for the App Sync settings page
The App Sync settings page now uses a new set of widgets in the \\_widgets\ directory that adapt to the user's preferred platform style (Material or Apple). This includes an app bar with a sync enable switch, a tile to export failed sync logs, a dialog to select the fetch interval, and a summary tile displaying the configured sync server. These components replace previous implementations to provide a consistent, platform-native look and feel for sync configuration.
_lib/pages/app\_sync/\widgets · high confidence
Introduce iOS 26 double-tap fix and ViewModel proxy providers
This update adds a custom Flutter binding (FixedIos26FlutterBinding) to resolve a double-tap issue at the top edge of the screen on iPadOS 26, and introduces ViewModelProxyProvider classes that extend ChangeNotifierProxyProvider with optional post-frame callbacks for view-model updates. Additionally, the widget library is reorganized with new files for app-bar action budgeting, string-length input rules, and shared styles, while several animation and helper modules are relocated to the widgets directory.
lib/widgets · high confidence
Introduce structured provider for habit editing form state
The habit editing page now uses a dedicated \HabitFormViewModel\ provider to manage form state, group selection, and event subscriptions. This change centralizes the logic for loading and tracking habit groups (including version-based change detection for UI selectors), handling group creation, and pushing specific app events (such as habit creation or updates) to keep the rest of the application in sync. It also establishes the lifecycle for reminder permission requests and integrates with the global event bus to react to group changes.
_lib/pages/habit\_edit/\providers · high confidence
Introduce unified AppRootView with GoRouter and adaptive window support
The app now uses a new \AppRootView\ widget in \lib/entries/common\ to manage the root UI structure. This change migrates navigation to \go\_router\ (available via the \.router\ constructor) while maintaining backward compatibility for non-router setups. It also integrates adaptive window controls, specifically handling rectangular iPhone margins and avoiding iPad window controls, and applies a global \UnfocusOnTap\ wrapper to improve keyboard and focus behavior.
lib/entries/common · high confidence
Migrate routing to go\_router with adaptive navigation and predictive back fixes
The app's navigation layer has been rebuilt using go\_router, introducing a shell-based tab navigation model for the 'Habits' and 'Today' branches coordinated by a new AppNavigationCoordinator. This change brings adaptive UI support: route transitions can be enabled or disabled based on window size, and a custom AppMaterialPage implementation resolves a Flutter framework issue (flutter/flutter\#152323) where predictive back gestures incorrectly popped routes covered by ancestor dialogs or sheets. Navigation is now managed through strongly-typed helpers (e.g., HabitCreateExtra, HabitDetailExtra) that wrap go\_router's extra payload, and legacy providers like AppFirstDayViewModel have been replaced by a dedicated CurrentRouteObserver for tracking navigation state.
lib/routes · high confidence
Modernized About page UI and dialog behavior
The widgets in the About page have been migrated to the adaptive UI system, replacing standard ListTiles with AdaptiveListTile variants and switching dialogs to adaptive sheets (AdaptiveModal) for License, Third-Party License, and Privacy content. This migration also updates the icon library from material\_design\_icons\_flutter to flutter\_material\_design\_icons, improves error logging for URL launch failures, and enhances the Version tile by supporting a mono-color logo mode and integrating a dedicated changelog dialog triggered by long-press.
_lib/pages/app\_about/\widgets · high confidence
New model layer for habit status changes, scoring, and sync configuration
The \lib/models\ directory has been restructured to introduce a new, action-based model layer. Habit and record status updates are now handled via dedicated action classes (\ChangeHabitStatusAction\, \ChangeRecordStatusAction\) that manage state transitions and versioning, replacing previous direct mutation patterns. A new scoring subsystem (\\_score/\) provides a \HabitScoreCalculator\ and type-specific score implementations (\NormalHabitScore\, \NegativeHabitScore\) to compute and track habit progress. Additionally, the models now include explicit configuration classes for application settings, including \AppNotifyConfig\ for notification channels, \AppSyncOptions\ for sync intervals, and a robust \AppSyncServer\ hierarchy (with \AppWebDavSyncServer\ and \AppFakeSyncServer\) that supports structured forms and JSON serialization for sync providers.
lib/models · high confidence
Refactored theme pipeline and added Linux Flatpak font support
The theme system has been reorganized to centralize theme construction in a new \AppThemeBuilder\ class, which now handles light, dark, and elevated dark theme assembly as a single testable unit. This change also introduces support for Linux Flatpak environments by adding a bundled Noto Sans CJK font loader that registers the font directly with Flutter's collection, ensuring deterministic typography when system fonts are unavailable. Additionally, the color exports have been updated to include a new \crypto\_colors\ module, and the \AppThemeType\ enum has been adjusted to implement \EnumWithDBCode\ instead of \EnumWithDBCodeABC\.
lib/theme · high confidence
Regenerated icon font definitions with updated identifiers and assets
The icon definition files in lib/theme/\_icons have been regenerated using the icon\_font\_generator tool. This update changes the internal structure of the generated Dart classes (HabitCalIcons, CommonIcons, HabitProgressIcons, HabitSortIcons) by replacing the previous private helper classes with direct IconData constants and a shared iconFontFamily constant. Consequently, the static icon identifiers have been renamed (e.g., from calendar\_create to calendarcreate) and their Unicode code points have been reassigned (e.g., from 0xf101 to 0xe000). The generated code now includes embedded SVG previews and explicit documentation comments for each icon, ensuring the font assets are correctly declared in pubspec.yaml.
_lib/theme/\icons · high confidence
Reorganized App About page structure and updated tile styling
The App About page has been restructured into a dedicated \lib/pages/app\_about\ directory, introducing a new \PageProviders\ component to manage \AboutInfo\ data via \FutureProvider\ and consolidating widget exports. The visual presentation of list tiles has been adjusted, with the leading icon height reduced from 56.0 to 28.0, and the page now utilizes adaptive UI components like \AdaptiveSliverAppBar\ and \AdaptiveListSection\ for improved layout consistency.
_lib/pages/app\about · high confidence
Reorganized extension utilities and added adaptive navigation helpers
The extension library has been reorganized from a single \lib/extension\ directory into a pluralized \lib/extensions\ folder, with several files renamed or moved to reflect their specific domain (e.g., \context\_extensions.dart\ now provides a \maybeRead\ helper for Provider, and \colorscheme\_extensions.dart\ now offers opacity-adjusted color variants). New capabilities include adaptive navigation context extensions that expose sidebar state and auxiliary action visibility for the Apple-style UI, a \naturalSort\ extension wrapping the \native\_natural\_sort\ package for locale-aware collation, and extensions for habit group sorting and custom color resolution.
lib/extensions · high confidence
Reorganized storage provider architecture with new initialization builders
The storage layer has been restructured to use dedicated provider and builder widgets for managing asynchronous initialization. New \DBHelperBuilder\ and \ProfileBuilder\ widgets now handle the setup of \DBHelperViewModel\ and \ProfileViewModel\ respectively, wrapping their creation in \ChangeNotifierProvider\ and managing loading/error states via \FutureBuilder\. This replaces previous initialization patterns with a more explicit, widget-based approach that ensures the database and profile data are fully initialized before the application content is built, improving reliability and error handling during startup.
lib/storage · high confidence
Scroll to top on tab reselection and debug group creation
Users now experience automatic scrolling to the top of the current page when they reselect the active tab in the navigation bar, implemented via a new \NavigationScrollToTopMixin\ that registers with the global scroll controller. Additionally, the debug tools have been updated to support creating temporary habits within groups, allowing developers to test group-related UI and logic more easily.
lib/pages/common · high confidence
Snackbar helpers migrated to standalone functions with explicit dismissal behavior
The snackbar utility functions have been moved from the BuildWidgetHelper singleton in lib/component/helper.dart to standalone functions in lib/widgets/\_helpers/snackbar\_helper.dart. This change updates the API to accept explicit duration parameters and, crucially, adds a persist: false flag to dismiss snackbars to ensure they auto-dismiss after the specified duration, addressing a Flutter 3.38+ breaking change where snackbars with actions no longer auto-dismiss by default.
_lib/widgets/\helpers · high confidence
Standardized local automation entrypoints and project tooling
The project now uses a unified Makefile to standardize local development workflows (init, build, format, test, etc.) across Windows and Unix systems, replacing ad-hoc scripts. This change introduces FVM (Flutter Version Management) via .fvmrc and a Flutter submodule to ensure consistent SDK versions, and updates the .gitignore to exclude new build artifacts, Python virtual environments, and sensitive key files while preserving essential VS Code workspace settings.
(repo-wide) · high confidence
UI settings providers migrated to profile-based persistence
The \lib/providers/app\_ui\ directory has been reorganized to centralize UI configuration management. All providers in this location—including theme, language, sort, filter, scroll behavior, developer tools, and adaptive UI settings—have been refactored to use \ProfileHandlerLoadedMixin\ instead of the legacy \GlobalProxyProviderInterface\. This change moves the persistence of UI preferences from the global state object to the user profile, ensuring that settings like theme type, language, sort mode, and display filters are now stored and restored per-profile. Additionally, new providers have been introduced to manage specific UI behaviors: \AppAppleCollapsedSidebarViewModel\ for controlling the adaptive sidebar, \AppCompactUISwitcherViewModel\ for toggling compact UI dimensions, \AppCachesViewModel\ for managing input-fill caches and confirmation flags, \GroupExpandTimerConfigViewModel\ for adjusting group expansion animation speeds, and \CustomColorHistoryViewModel\ for tracking recently used custom colors.
_lib/providers/app\ui · high confidence
macOS app bundle display names localized for dev, generic, and store builds
The macOS application now displays localized app names in the Finder and system UI, varying by build scheme. Dev builds show "Table Habit (Dev)" (or the localized equivalent like "桌上习惯 开发版" for Simplified Chinese), while generic and store builds show the standard localized name (e.g., "Table Habit" or "桌上习惯"). This change adds or updates \InfoPlist.strings\ files across multiple languages (including Arabic, Czech, German, Spanish, Basque, French, Hebrew, Hungarian, Italian, Japanese, Norwegian, Dutch, Polish, Portuguese, Russian, Turkish, Ukrainian, Vietnamese, and Chinese variants) to ensure the correct display name appears for each build type.
macos/Localizations · high confidence
macOS installer configuration and code-signing options added
The installer build process now includes specific configuration for creating a macOS DMG and exporting the app for distribution. A new config file defines the DMG layout, including the application icon, window dimensions, and file placement (linking to /Applications and including the built app). Additionally, a plist file is added to configure GitHub export options, specifying the distribution method as 'developer-id' and allowing the team ID to be injected via an environment variable, which supports the code-signing requirements for the macOS application.
installers · high confidence
Test coverage
Added comprehensive unit tests for the habits display page; Added macOS window chrome and persistence tests; Added smoke tests for the app settings page; Added test coverage for adaptive UI components; Added tests for habit detail page and record deletion confirmation; Added unit tests for navigation chrome and app shell; Expanded unit test coverage for core application components.
Dependencies
Migrate to Flutter 3.44 workspace with Melos and new internal packages
The project has upgraded to Flutter 3.44 and Dart 3.12, restructuring the codebase into a monorepo workspace managed by Melos. This introduces several new internal packages: \mhabit\_adaptive\_ui\ for adaptive layout components, \mhabit\_color\_annotation\ and \mhabit\_color\_builder\ for custom color theme generation, and \mhabit\_proxy\_annotation\ and \mhabit\_proxy\_builder\ for internal build\_runner proxy generation. The main app now depends on updated libraries including \adaptive\_actions\, \markdown\_widget\, and \native\_natural\_sort\, while the Android build configuration has been modernized to use the Flutter Gradle Plugin, Java 17, and new product flavors (generic, dev, store).
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 68.1 → 68.9 (+0.8)
- Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 80.7 → 78.6 (-2.1)
- Architecture 95.6 → 95.8 (+0.2)
- Maturity 76.6 → 76.6 (0.0)
- Readiness 63.1 → 63.1 (0.0)
- Security 65.1 → 65.1 (0.0)
- Performance 77.7 → 100.0 (+22.3)
Resolved (8)
- Duplicated block (11 lines × 2) (lib/reminders/providers/noti_app_sync_provider.dart)
- Duplicated block (14 lines × 2) (lib/pages/habit_detail/_providers/habit_detail.dart)
- Duplicated block (18 lines × 2) (lib/pages/common/_widgets/habit_record_number_picker.dart)
- Duplicated block (8 lines × 2) (lib/pages/habit_edit/page.dart)
- Duplicated block (9 lines × 2) (lib/storage/db_helper_provider.dart)
- Low cohesion: AppDeveloperViewModel (LCOM4 6) (lib/providers/app_ui/app_developer.dart)
- No ADRs found
- Projects may be oversized for their cohesion
New (174)
- AppSupportOwner._showReminderIfEligible (cognitive 17) (lib/providers/workflow/app_support.dart)
- Duplicated block (11 lines × 2) (lib/reminders/providers/noti_app_sync_provider.dart)
- Duplicated block (14 lines × 2) (lib/pages/habit_detail/_providers/habit_detail.dart)
- Duplicated block (18 lines × 2) (lib/pages/common/_widgets/habit_record_number_picker.dart)
- Duplicated block (9 lines × 2) (lib/storage/db_helper_provider.dart)
- Edited copies of one member (3 members, 10+ corresponding lines) (lib/pages/app_sync_server_editor/page.dart)
- Edited copies of one member (3 members, 11+ corresponding lines) (lib/pages/app_about/_widgets/app_about_issue_tracker_tile.dart)
- Edited copies of one member (3 members, 11+ corresponding lines) (lib/storage/db/handlers/habit.dart)
- Edited copies of one member (3 members, 12+ corresponding lines) (lib/pages/app_settings/_widgets/app_setting_clear_cache.dart)
- Edited copies of one member (3 members, 13+ corresponding lines) (lib/models/app_event.dart)
- Edited copies of one member (3 members, 14+ corresponding lines) (lib/pages/app_about/_widgets/app_about_contact_email_tile.dart)
- Edited copies of one member (3 members, 14+ corresponding lines) (lib/pages/habits_display/_widgets/actions/habit_display_search_actions.dart)
- Edited copies of one member (3 members, 15+ corresponding lines) (lib/pages/habit_edit/_widgets/habit_frequency_picker.dart)
- Edited copies of one member (3 members, 16+ corresponding lines) (lib/providers/workflow/app_reminder.dart)
- Edited copies of one member (3 members, 17+ corresponding lines) (lib/pages/app_sync_server_editor/_widgets/app_sync_server_conn_retry_count.dart)
- Edited copies of one member (3 members, 24+ corresponding lines) (lib/logging/loggers/text_logger.dart)
- Edited copies of one member (3 members, 24+ corresponding lines) (lib/pages/habit_detail/_providers/habit_detail.dart)
- Edited copies of one member (3 members, 24+ corresponding lines) (lib/pages/habit_edit/_widgets/habit_edit_daily_goal_tile.dart)
- Edited copies of one member (3 members, 25+ corresponding lines) (lib/pages/app_sync_server_editor/_widgets/app_sync_server_conn_retry_count.dart)
- Edited copies of one member (3 members, 28+ corresponding lines) (lib/providers/workflow/habits_file_exporter.dart)
- …and 154 more
Changes since last survey
- 24 commits — 18 feature/other, 6 fixes
By area
- (repo) — 5 commits
- (root) — 4 commits
- assets/l10n — 3 commits
- android/app — 2 commits
- .github/ISSUE_TEMPLATE — 1 commit
- configs/contributors.json — 1 commit
- docs/rules — 1 commit
- docs/wiki — 1 commit
- lib/l10n — 1 commit
- lib/pages — 1 commit
- macos/Localizations — 1 commit
- packages/mhabit_desktop_window_chrome — 1 commit
- test/harness — 1 commit
- test/support — 1 commit
Notable commits
- fix: fix(docs): update donor entry date for @Epholys and add new donation record
- fix: fix(import): preserve Loop history and record notes (#706)
- fix: fix(macos): preserve Flutter bundle versions
- fix: fix(search): restore browsing after empty Apple search (#703)
- fix: fix(support): restore startup reminders on Windows and Linux (#708)
- fix: fix(sync): handle mixed WebDAV authentication challenges (#705)
- change: Merge branch 'main' into weblate-translation
- change: Merge pull request #702 from FriesI23/weblate-translation
- change: Merge pull request #710 from FriesI23/weblate-translation
- change: Merge pull request #713 from FriesI23/weblate-translation
- change: Merge remote-tracking branch 'github/main' into weblate-translation
- change: chore(l10n): credit Weblate translation contributors
- change: chore(l10n): sync Arabic translations and contributor credits
- change: chore: Bump version to v1.27.19+208-pre
- change: chore: Bump version to v1.27.20+209
- change: docs: add personal project links and Markdown lint config
- change: docs: move community planning and feedback to GitHub
- change: docs: update Flutter badge and SDK upgrade rule
- change: feat(l10n): add Welsh and Esperanto locale support (#711)
- change: feat(settings): expose UI style and Sidebar appearance (#709)
- …and 4 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
FriesI23/mhabit was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 04e078a5af72ee11e7b321cd71b198591a42b43e — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.