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

Sort the Notes list by updated time #43

Open
3 tasks
maheshj01 opened this issue Aug 20, 2024 · 2 comments
Open
3 tasks

Sort the Notes list by updated time #43

maheshj01 opened this issue Aug 20, 2024 · 2 comments
Labels
easy-fix Should take couple of hours or less to fix P3 Low Priority: A bug or a feature request we plan to work on in near future (default)

Comments

@maheshj01
Copy link
Owner

maheshj01 commented Aug 20, 2024

Recently updated notes should be shown on top when rendering the list of notes
The Notes document has the following fields (no updateTime)

image

This issue will be marked as resolved by completing the following

  • Add a lastUpdated field to Notes model (Existing Notes don't have this field, so handle it gracefully by considering createdAt as lastUpdated
  • When Notes are edited also updatelastUpdated field
  • When rendering the list sort by lastUpdated field
@maheshj01 maheshj01 added easy-fix Should take couple of hours or less to fix P3 Low Priority: A bug or a feature request we plan to work on in near future (default) labels Aug 20, 2024
@kk7188048
Copy link

Can you be more descriptive please about this issue?

@maheshj01
Copy link
Owner Author

Hi @kk7188048, I have update the issue description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy-fix Should take couple of hours or less to fix P3 Low Priority: A bug or a feature request we plan to work on in near future (default)
Projects
None yet
Development

No branches or pull requests

2 participants