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

Do not update the group for existing annotations on edit #2911

Merged
merged 1 commit into from Feb 3, 2016

Conversation

Projects
None yet
2 participants
@robertknight
Contributor

robertknight commented Feb 3, 2016

Whenever an annotation was edited, its current group
was set to whichever group was focused in the UI.

Our current model does not allow for moving annotations
between groups however. The only time when annotations
should have their groups set is when the annotation
is newly created and when switching groups before saving
the annotation. We already have separate logic to deal
with both of these cases.

Fixes #2902

Do not update the group for existing annotations on edit
Whenever an annotation was edited, its current group
was set to whichever group was focused in the UI.

Our current model does not allow for moving annotations
between groups however. The only time when annotations
should have their groups set is when the annotation
is newly created and when switching groups before saving
the annotation. We already have separate logic to deal
with both of these cases.

Fixes #2902

seanh added a commit that referenced this pull request Feb 3, 2016

Merge pull request #2911 from hypothesis/fix-group-annot-edit-from-st…
…ream

Do not update the group for existing annotations on edit

@seanh seanh merged commit e799a15 into master Feb 3, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@seanh seanh deleted the fix-group-annot-edit-from-stream branch Feb 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment