-
Notifications
You must be signed in to change notification settings - Fork 24
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
Avoid proofreading actions while the last one is not finished #6325
Merged
Merged
Changes from 5 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
6847eca
show frontend as busy during proofreading action, missing: disable co…
daniel-wer 786dd9b
remove unused import
daniel-wer 87904bf
disable inputs for input catchers if wk is busy
daniel-wer 85a58b8
replace dropdown placement bottomCenter by bottom according to deprec…
daniel-wer 94a171a
update changelog
daniel-wer 6698b0f
upgrade antd to 4.18.9, remove unused type ignores
daniel-wer 4a3add4
Merge branch 'master' of github.com:scalableminds/webknossos into bus…
daniel-wer 1cb8389
revert change to yarn.lock and fix typing
daniel-wer ec27098
Merge branch 'master' of github.com:scalableminds/webknossos into bus…
daniel-wer 252facc
save available mappings in store
daniel-wer 0e367d6
Merge branch 'master' into busy-proofreading
daniel-wer 11d379a
Merge branch 'master' into busy-proofreading
daniel-wer bce8f22
Merge branch 'master' into busy-proofreading
daniel-wer f048ece
Merge branch 'master' into busy-proofreading
daniel-wer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,7 +234,7 @@ class SynapseTree extends React.Component<Props, State> { | |
<Dropdown // Lazily create the dropdown menu and destroy it again, afterwards | ||
overlay={() => this.createSegmentDropdownMenu(data.id)} | ||
autoDestroy | ||
placement="bottomCenter" | ||
placement="bottom" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Saw this deprecation warning: |
||
visible={this.state.activeSegmentDropdownKey === key} | ||
onVisibleChange={(isVisible) => | ||
this.handleSegmentDropdownMenuVisibility(key, isVisible) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we no longer undo the action when the call failed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was an oversight while merging the original proofreading PR. Undo/Redo is actually not allowed if the proofreading tool is active and a warning in that regard is shown to the user if it is triggered. This was added kind of last-minute, because the actual proofreading actions cannot be undone yet. Unfortunately, that's why this line had to be removed for now.