feat(goals): revamp goals UI and add goal details - #52
Open
esraaehab333 wants to merge 5 commits into
Open
Conversation
esraaehab333
requested review from
SherifAshraf2020 and
mSaayeh
as code owners
August 11, 2026 10:18
…tails/repository implementation
…nd observeGoals methods
…ing, and clear search focus
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.
What & Why
Revamp the Goals experience and make goal data fully usable across the Goals list and Goal Details screen.
This update improves the Goals UI, adds navigation to goal details, introduces search and priority-based sorting, and strengthens goal/task persistence through the local database and repository layer.
Key Changes
Revamped the Goals screen UI and goal cards.
Added Goals search functionality.
Added goal filtering and priority-based sorting.
Added navigation from a goal card to its Goal Details screen.
Added a dedicated Goal Details screen with its own state and ViewModel.
Added
GetGoalUseCase,CreateGoalUseCase, andDeleteGoalUseCase.Added
targetDateto theGoaldomain model and mappings.Updated goal repository handling to:
Added mapping from
TaskEntityto the domainTaskmodel.Updated Goal and Task DAOs to support the new goal/task loading flow.
Added the required
feature:add-taskdependency to the Goals feature.Updated app navigation to support
GoalDetailsRoute.Added/updated Arabic and English strings for the revised Goals experience.
Removed obsolete Goals UI components that are no longer used.
Related
Testing
Notes for Reviewers
Please review the changes across the UI, navigation, domain, repository, and local persistence layers, as this PR contains both UI and data-layer changes rather than a UI-only adjustment.