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

[Feature Request] Sorting #264

Closed
donovanglover opened this issue Dec 26, 2023 · 2 comments · Fixed by #299
Closed

[Feature Request] Sorting #264

donovanglover opened this issue Dec 26, 2023 · 2 comments · Fixed by #299

Comments

@donovanglover
Copy link

Found tui-journal from nixpkgs and think it's cool. Would love to see a sorting feature. For example:

  • Sort by creation time
  • Sort by last modified time
  • Sort by title

Seems like prior discussion was in #9 (comment) so I'm making a new issue as suggested.

@AmmarAbouZor
Copy link
Owner

I think adding sort function could be helpful in some situations (at least to toggle between ascending and descending). I'll work on a pop-up to specify the available sorting options (title and date) in the next few days.

Sort by creation time
Sort by last modified time

We don't save this data for the journals yet. There is only one date that will default to the creation day of the journal and the users can change it as they want.
I actually don't see a huge benefit to save the creation date and last modification date for simple journals. Maybe It would be something to do in the future but currently I'll postpone it for now.

@donovanglover
Copy link
Author

Keeping it simple sounds good to me 👍

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 a pull request may close this issue.

2 participants