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
While the new format is more robust, it will only help loading performance for users with many large notes. Users with many small notes gain some robustness, but will not see any loading performance increase.
Files
riotnotes.json <-- original file migrated.json
{
status: true,
date: datetime,
log: uri,
backup: uri
}
While the new format is more robust, it will only help loading performance for users with many large notes. Users with many small notes gain some robustness, but will not see any loading performance increase.
Files
riotnotes.json
<-- original filemigrated.json
index.json
notes/xxx-yyy-zzz.json
<--- continue to use the existing note json formatmigration-errors.json
tasks
backups/YYYYMMDD-riotnotes.json
-- create
notes/xxx-yyy-zzz.json
-- append xxx-yyy-zzz to
index.json
addNote()
updateNote()
notes/xxx-yyy-zzz.json
index.json
fetchData()
if
index.json
exists follow new loading format-- load previews from
index.json
-- on note load/edit, load full note from
notes/xxx-yyy-zzz.json
else do migration
create new actions
getNoteById()
// used when note is opened in the editor
getFile('notes/xxx-yyy-zzz.json')
parse note
deleteNoteById()
// used when 'delete permanently' option is used
notes/xxx-yyy-zzz.json
index.json
The text was updated successfully, but these errors were encountered: