wurmlab / afra

Genome Annotation for the Masses
http://afra.sbcs.qmul.ac.uk
Apache License 2.0
36 stars 21 forks source link

Sync edits with server #91

Open yeban opened 9 years ago

yeban commented 9 years ago

Current state of sync is documented here - https://github.com/yeban/afra/commit/2a3550d7d7a1f54fa38b082ecbf385c0f6f1ba97.

Caveats include:

  1. Persistence fails if user simultaneously starts working on another task (this can only be done by clicking on one of the submissions from user dashboard, so it's not a common use case for Afra).
  2. Sync works only b/w two (or more) tabs of the same browser on the same system. In lines with modern web apps we will want user to resume in any browser on any system.

Resolving those will mean syncing localStorage with server.