Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise default states and state changes in remote API #819

Open
reckart opened this issue Jan 14, 2018 · 0 comments
Open

Revise default states and state changes in remote API #819

reckart opened this issue Jan 14, 2018 · 0 comments
Labels
🐛Bug Something isn't working Module: Remote API
Milestone

Comments

@reckart
Copy link
Member

reckart commented Jan 14, 2018

The default state when data is uploaded through the remote API presently does not make sense in all cases. Also, the annotation state and source document state are connected with each other and when changing the state of annotations, adding new annotations, or deleting annotations, then the source document state needs to be updated as well.

Annotation State  Curation State Document State
all NEW NEW NEW
any IN-PROGRESS NEW ANNOTATION-IN-PROGRESS
all COMPLETE NEW ANNOTATION-COMPLETE
any  IN-PROGRESS CURATION-IN-PROGRESS
any  COMPLETE CURATION-COMPLETE

The document state must be updated whenever an action happens that could potentially affect it:

  • change of annotation state through the UI or remote API
  • upload of annotation through remote API
  • deletion of annotation through remote API
  • change of curation state through the UI or remote API
  • upload of curation through remote API
  • deletion of curation through remote API
@reckart reckart added this to the 3.4.1 milestone Apr 4, 2018
@reckart reckart added 🐛Bug Something isn't working Module: Remote API labels Apr 4, 2018
@reckart reckart modified the milestones: 3.4.1, 3.4.2 May 16, 2018
@reckart reckart modified the milestones: 3.4.2, 3.4.3 Jun 4, 2018
@reckart reckart modified the milestones: 3.4.3, 3.4.4 Jun 14, 2018
@reckart reckart modified the milestones: 3.4.4, 3.4.5 Jun 24, 2018
@reckart reckart modified the milestones: 3.4.5, 3.4.6 Jul 11, 2018
@reckart reckart modified the milestones: 3.4.6, 3.4.7 Aug 9, 2018
@reckart reckart modified the milestones: 3.4.7, 3.4.8, 3.5.1 Dec 2, 2018
@reckart reckart modified the milestones: 3.5.1, 3.5.2, 3.5.3, 3.5.4 Jan 24, 2019
@reckart reckart modified the milestones: 3.5.4, 3.5.5 Feb 26, 2019
@reckart reckart modified the milestones: 3.5.6, 3.6.1 May 7, 2019
@reckart reckart modified the milestones: 3.5.6, 3.5.7 May 20, 2019
@reckart reckart modified the milestones: 3.5.7, 3.5.8 May 29, 2019
@reckart reckart modified the milestones: 3.5.8, 3.5.9 Jun 6, 2019
@reckart reckart modified the milestones: 3.5.9, Bug backlog Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug Something isn't working Module: Remote API
Projects
None yet
Development

No branches or pull requests

1 participant