You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reversed sorting is applied, new notes are still added to the top of the note previews list. This is because in ViewNotes.createNote(), we have:
// Add new note in datastore
const notes = await this.dataStore.get('notes');
notes.unshift(newNote);
this.dataStore.set('notes', notes);
Steps to Reproduce
Have more than one note
Change Sort By to "Oldest First"
Click "New Note"
Recommended Fix
Create datastore state for sort, which can be accessed by methods like createNote() to determine if new note is added to the beginning or end of the list.
The text was updated successfully, but these errors were encountered:
Description
When reversed sorting is applied, new notes are still added to the top of the note previews list. This is because in
ViewNotes.createNote(),
we have:Steps to Reproduce
Recommended Fix
Create datastore state for
sort
, which can be accessed by methods likecreateNote()
to determine if new note is added to the beginning or end of the list.The text was updated successfully, but these errors were encountered: