Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(favorites): updated starred state is not reflecting #199

Merged
merged 4 commits into from
Mar 3, 2022

Conversation

aman-singh7
Copy link
Member

Fixes #70

Describe the changes you have made in this PR - The changed of state of starred is not reflected after the screen is popped. For example, in featured circuits if user starred a project then move back and again returning to that project still shows the previous state i.e. unstarred and similar thing in profile favorites section, if user unstarred the project then it is not removed from there.

Screenshots of the changes (If any) -

Screenrecorder-2022-02-04-01-31-20-963.mp4

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@Nitish145
Copy link
Member

@manjotsidhu are these changes working as expected?

@coveralls
Copy link

coveralls commented Feb 13, 2022

Pull Request Test Coverage Report for Build 1866700109

  • 61 of 115 (53.04%) changed or added relevant lines in 10 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 70.718%

Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/viewmodels/projects/project_details_viewmodel.dart 4 5 80.0%
lib/ui/views/projects/featured_projects_view.dart 1 3 33.33%
lib/models/projects.dart 17 20 85.0%
lib/viewmodels/profile/profile_viewmodel.dart 0 4 0.0%
lib/ui/views/profile/user_favourites_view.dart 3 8 37.5%
lib/ui/views/profile/user_projects_view.dart 3 8 37.5%
lib/viewmodels/projects/featured_projects_viewmodel.dart 0 5 0.0%
lib/viewmodels/profile/user_projects_viewmodel.dart 0 6 0.0%
lib/viewmodels/profile/user_favourites_viewmodel.dart 3 10 30.0%
lib/ui/views/projects/project_details_view.dart 30 46 65.22%
Totals Coverage Status
Change from base Build 1837629610: -0.02%
Covered Lines: 3910
Relevant Lines: 5529

💛 - Coveralls

@aman-singh7
Copy link
Member Author

@manjotsidhu Have you tested the changes? 😅

@manjotsidhu
Copy link
Member

@manjotsidhu Have you tested the changes? 😅

Yes, just now. The changes are not working as expected. There are some issues. I will share it with you shortly

@manjotsidhu
Copy link
Member

Screenrecorder-2022-02-18-18-44-04-785.mp4

@aman-singh7
Copy link
Member Author

aman-singh7 commented Feb 18, 2022

Screenrecorder-2022-02-18-20-04-56-66.mp4

@manjotsidhu fixed it. Could you please test now?

@manjotsidhu manjotsidhu merged commit 39c6d40 into CircuitVerse:master Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Showing starred in unstarred project
4 participants