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

Fix duplicate upload bug, improve upload performance #4658

Merged
merged 10 commits into from
Jan 8, 2018

Conversation

bhousel
Copy link
Member

@bhousel bhousel commented Jan 5, 2018

This will fix a few significant bugs with saving.

We are going to start trying an opportunistic save, then only
start the conflict resolution stuff if the server returns a 409.
Reusing an already open changeset makes sense in this situation.
- Attempt fast save first, only perform conflict resolution if necessary (re: #3056)
- Block reentry of save, and dont keep focus on save button (closes #4641)
- Refactor modeSave() for code clarity (avoid shared state in closure variables)
@bhousel bhousel force-pushed the fix_duplicate_saves branch from 0acf3b4 to a63c4a7 Compare January 5, 2018 20:11
This fixes one of the issues in #4351 where the radio button was not
selected. This was likely introduced during the upgrade to d3 v4, now
that enter selections do not automatically flow into update anymore.
(the fix is to add a `merge` to ensure that the `selection.each` actually
has some things to iterate over)
@bhousel bhousel merged commit 45ffa3b into master Jan 8, 2018
@bhousel bhousel deleted the fix_duplicate_saves branch January 8, 2018 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant