This PR adds support for pinning notes and sorting them by last updated date. Draft because only pinning is done for now.
[x] Pinning
[ ] Sorting
By default the notes will be sorted by a new database column updatedAt which holds the last time a note was modified or updated (excluding pinning?)
I've also fixed a few minor issues I ran into, such as:-
Created At date of a note would be updated if it was opened and closed even if the title or description was not updated. With the new fix and sorting feature the Created At column is never updated, while the updatedAt column is updated whenever the note is edited.
When long pressing a note from the home screen the note's title or description might be selected which is an annoying experience for the user. Selecting text from the edit screen still works as expected.
Some icons did not flip along the Y axis for RTL languages.
If the description of a SettingsBox is long enough it will overflow into the action component area such as the Switch.
The icon for the support email SettingsBox was not aligned with the icons of the other SettingsBoxs
This PR adds support for pinning notes and sorting them by last updated date. Draft because only pinning is done for now.
updatedAt
which holds the last time a note was modified or updated (excluding pinning?)I've also fixed a few minor issues I ran into, such as:-
Created At
date of a note would be updated if it was opened and closed even if the title or description was not updated. With the new fix and sorting feature theCreated At
column is never updated, while theupdatedAt
column is updated whenever the note is edited.SettingsBox
is long enough it will overflow into the action component area such as theSwitch
.SettingsBox
was not aligned with the icons of the otherSettingsBox
s