Some user can't have Anki on work computers so the extension become useless in such case.
It needs to take advantage of chrome storage sync API to save and sync data across computers.
Steps needed:
Store:on successful connection
deckNames,
modelNames,
noteTypes,
noteFields
allTags
Check: while starting
if there is above stored data,
retreive data
show a button to submit locally.
Submit:
Store the whole note in locallySavedNotes object.
Settings:Restore Notes
Loop through `locallySavedNotes'
and send each note to Anki
Additional tab with saved notes
providing a deleteNote to delete saved notes before sending them to Anki.
Some user can't have Anki on work computers so the extension become useless in such case. It needs to take advantage of chrome storage sync API to save and sync data across computers. Steps needed: Store: on successful connection
Check: while starting if there is above stored data,
Submit: Store the whole note in
locallySavedNotes
object. Settings: Restore Notes Loop through `locallySavedNotes' and send each note to AnkiAdditional tab with saved notes
deleteNote
to delete saved notes before sending them to Anki.deleteNotes: