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

Fixed the redundancy of the 'All-Books-Mode' option for Bookmarks, Notes, and History in custom apps. #3525

Merged
merged 1 commit into from Nov 12, 2023

Conversation

MohitMaliFtechiz
Copy link
Collaborator

Fixes #3523

Since custom apps only have a single zim file, there is no need to display these switches, which can potentially confuse users. Therefore, we have hidden these switches in custom apps.

Custom apps

customappsswitches.mp4

Kiwix App

kiwixappswitches.mp4

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (969ad0d) 49.15% compared to head (fc5817d) 49.21%.
Report is 3 commits behind head on develop.

❗ Current head fc5817d differs from pull request most recent head 4c8f7cb. Consider uploading reports for the commit 4c8f7cb to get more accurate results

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #3525      +/-   ##
=============================================
+ Coverage      49.15%   49.21%   +0.06%     
+ Complexity      1075     1072       -3     
=============================================
  Files            285      285              
  Lines          10365    10334      -31     
  Branches        1382     1378       -4     
=============================================
- Hits            5095     5086       -9     
+ Misses          4451     4431      -20     
+ Partials         819      817       -2     
Files Coverage Δ
.../kiwixmobile/core/extensions/ActivityExtensions.kt 38.70% <0.00%> (-0.64%) ⬇️
...va/org/kiwix/kiwixmobile/core/page/PageFragment.kt 44.57% <60.00%> (+2.07%) ⬆️

... and 8 files with indirect coverage changes

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

…tes, and History in custom apps.

* Since custom apps only have a single zim file, there is no need to display these switches, which can potentially confuse users. Therefore, we have hidden these switches in custom apps.
@kelson42
Copy link
Collaborator

Merging unfortunately without any review :(

@kelson42 kelson42 merged commit ae41355 into develop Nov 12, 2023
7 of 8 checks passed
@kelson42 kelson42 deleted the Issue#3523 branch November 12, 2023 17:04
@gouri-panda
Copy link
Collaborator

@kelson42 @MohitMaliDeveloper I'll review/test this. I'll open a ticket if I'll find something.

Copy link
Collaborator

@gouri-panda gouri-panda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kelson42 @MohitMaliDeveloper Looks good to me! We should have add some tests for this since it's some vital code in the main app.

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.

All-Books-Mode Redundant for Bookmarks, Notes and History in Custom Apps
4 participants