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

Keeping the downloading books always at the top. #4211

Merged
merged 4 commits into from
Feb 7, 2025
Merged

Keeping the downloading books always at the top. #4211

merged 4 commits into from
Feb 7, 2025

Conversation

MohitMaliFtechiz
Copy link
Collaborator

@MohitMaliFtechiz MohitMaliFtechiz commented Feb 5, 2025

Fixes #4206

  • Added a new "Downloading:" section in OnlineFragment to display currently downloading books at the top.
  • The language and search filter will not affect this meaning if a user selects another language and searches any ZIM file via the search feature, the "Downloading:" section always shows on the top and the filter will be applied to the remaining books.
screen-20250205-170313.mp4
  • Refactored the ZimManageViewModelTest according to this new change.
  • Refactored the DownloadTest which was failing after making this change.

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.03%. Comparing base (c1a3b2b) to head (08f7751).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4211      +/-   ##
============================================
+ Coverage     56.91%   57.03%   +0.11%     
- Complexity     1547     1550       +3     
============================================
  Files           313      313              
  Lines         13590    13600      +10     
  Branches       1703     1703              
============================================
+ Hits           7735     7757      +22     
+ Misses         4679     4666      -13     
- Partials       1176     1177       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* Added a new "Downloading:" section in `OnlineFragment` to display currently downloading books at the top.
* The language, and search filter will not affect this meaning if a user selects another language and searches any ZIM file via the search feature, the "Downloading:" section always shows on the top and the filter will be applied to the remaining books.
@MohitMaliFtechiz MohitMaliFtechiz marked this pull request as ready for review February 6, 2025 06:24
@MohitMaliFtechiz MohitMaliFtechiz marked this pull request as draft February 6, 2025 06:52
@kelson42
Copy link
Collaborator

kelson42 commented Feb 6, 2025

@MohitMaliDeveloper Screencast looks perfect to me! Thx!

@MohitMaliFtechiz MohitMaliFtechiz marked this pull request as ready for review February 6, 2025 09:00
@MohitMaliFtechiz
Copy link
Collaborator Author

@kelson42 The PR is ready for review.

@kelson42 kelson42 merged commit 549bb5a into main Feb 7, 2025
31 checks passed
@kelson42 kelson42 deleted the Fixes#4206 branch February 7, 2025 00:15
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.

Keep downloading books always at the top
3 participants