Skip to content

feat: Sort notes and folders in recent and browse pages #1408

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Edgiest05
Copy link

Introduced a button SortButton located at the top-right of the UI in recent and browse pages (near the syncing one):
button

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.
dropdown

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.

Copy link

codecov bot commented Dec 1, 2024

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).

Files with missing lines Patch % Lines
lib/components/home/sort_button.dart 13.82% 81 Missing ⚠️
lib/pages/home/browse.dart 0.00% 18 Missing ⚠️
lib/pages/home/recent_notes.dart 62.50% 3 Missing ⚠️
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     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@QubaB
Copy link
Contributor

QubaB commented Feb 16, 2025

Thank you for Your code, I merged it to my personal Saber.

@QubaB
Copy link
Contributor

QubaB commented Jul 16, 2025

I like to sort folders by Name and files by date. Can this be implemented?

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.

2 participants