Add project management feature to organize habits#28
Merged
AlexGladkov merged 5 commits intoJan 27, 2026
Conversation
Defines the feature design for project-based habit categorization including data model, UI changes, migration strategy, and acceptance criteria. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ement UI - Created ProjectEntity and ProjectDao for database operations - Added projectId column to HabitEntity with migration from v7 to v8 - Implemented project use cases (Create, GetAll, Update, Delete) - Updated existing use cases to support project filtering - Built ProjectListViewModel with state management - Created project management UI (List, Card, EditDialog) - Added "My Projects" navigation to Profile screen - Wired ProjectModule into DI system Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Updated ComposeViewModel to load projects and handle project selection - Added project selection to ComposeViewState and ComposeEvent - Updated DailyViewModel to support project filtering - Added project filter state and event to DailyViewState and DailyEvent - Modified habit creation to save projectId when selected - Modified daily habits query to filter by selected project Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Documents what has been completed and what remains for the projects feature. Core data layer, domain layer, and state management are fully implemented. Remaining work is primarily UI components (dropdowns, filter chips) and testing across platforms. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Created shared ColorUtils.kt with parseColor function - Removed duplicate parseColor implementations from ProjectCard and ProjectEditDialog - Improved code maintainability and DRY principle compliance Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements a comprehensive project management system that allows users to organize their habits into projects with color-coded visual organization.
Changes
parseColorutility to eliminate code duplicationTechnical Details
🤖 Generated with Claude Code