feat: Sort notes and folders
Introduced a button SortButton located at the top-right of the UI in recent and browse pages (near the syncing one):
When pressed it shows a dropdown for a predetermined selection, provided in the static class SortNotes.
Such selection is preserved as a preference and is kept on app restart.
Sdk version change is not related to my own implementation, but instead is a workaround to compilation errors that made it impossible to test on android emulator.
Codecov Report
Attention: Patch coverage is 15.00000% with 102 lines in your changes missing coverage. Please review.
Project coverage is 45.67%. Comparing base (
c873848) to head (8c45153).
Additional details and impacted files
@@ Coverage Diff @@
## main #1408 +/- ##
==========================================
- Coverage 46.09% 45.67% -0.42%
==========================================
Files 117 118 +1
Lines 8683 8794 +111
==========================================
+ Hits 4002 4017 +15
- Misses 4681 4777 +96
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Thank you for Your code, I merged it to my personal Saber.
I like to sort folders by Name and files by date. Can this be implemented?
@QubaB it is possible to implement and it is quite easy to do so given that I already handle files and directories separately when sorting, unfortunately I personally don't need this level of fine tuning and I probably won't be working on that
OK, I will customize it to my needs. Thank you for the very nice improvement.