-
Notifications
You must be signed in to change notification settings - Fork 29
[WIP] Live Collab M3 - Proofreading (without segments list) #8723
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
Open
philippotto
wants to merge
95
commits into
master
Choose a base branch
from
live-m3
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
95 commits
Select commit
Hold shift + click to select a range
5d6ff54
wip: ignore user state updates; update to skeleton and volume changes
philippotto ce266b0
stop polling aggressively when an unapplicable update was encountered
philippotto b330a37
live update to proofreading actions
philippotto 93b4789
update comment
philippotto 19cffd8
integrate live bbox updates for skeleton tracing
philippotto e4aeb61
rename BoundingBoxType to BoundingBoxMinMaxType
philippotto 7d74402
rename UserBoundingBoxToServer to UserBoundingBoxForServer
philippotto f16688e
refactor bbox types a bit (mainly move them to common module)
philippotto 1694d89
refactor update action application code into own folder and new files…
philippotto e9605c4
fix cyclic dep
philippotto e65f24a
fix type
philippotto 1072cda
fix bbox updates for volume by accessing correct tracing
philippotto 03c8998
rename to BoundingBoxProto where applicable
philippotto e76f0a1
also rename to UserBoundingBoxProto
philippotto 7c02290
also rename AdditionalAxisProto
philippotto 0481bed
misc
philippotto 5931fb6
support createTree update action
philippotto 01cae25
also implement updateTree
philippotto 1cd1935
misc
philippotto 3cc4a6f
implement more live updates of skeleton actions; add some tests
philippotto 4ea23ba
clean up chain reduce
philippotto c03e04d
wip: skeleton update action tests
philippotto 0a507ae
add values method for EdgeCollection
philippotto a0c18cb
fix cachedMaxNodeId
philippotto e8a245e
typing
philippotto a794535
add todo comment
philippotto 35e64d8
also pass prev and current tracing to compact function so that moved …
philippotto 73f1b79
prepare testing bbox related actions
philippotto 9e234da
fix skeleton specs (don't concat and then compact because that scenar…
philippotto 3ff93c7
fix bounding box test in skeleton.spec
philippotto d50c728
finish skeleton spec and fix bbox related test
philippotto dcdce64
support more update actions
philippotto 6f0c98a
improve typing
philippotto c118dd8
refactor to fix cyclic deps
philippotto 49a3b8b
refactor fixtures
philippotto 13ec558
write and fix volume specs for UA application
philippotto 71cab45
misc
philippotto a7ced9f
fix merge-related problems in specs
philippotto eb0b54c
prepare hybrid fixtures for proofreading tests and clean up
philippotto 23835bd
replace volumeTracing in spec with existing fixture and fix wrong id
philippotto 7972857
DRY more fixtures
philippotto 2eac7ac
refactor preprocessing of dataset in model initialization
philippotto 035ae5f
introduce StoreDataset to add type safety for mandatory preprocessing…
philippotto dfe41ef
implement first test for proofreading (merges two agglomerates)
philippotto 3a67f16
also add test for proofreading min cut
philippotto f95cdd7
refactor spec
philippotto 2963c7c
further refac
philippotto 70fb5b9
fix wrong import
philippotto 13b91a3
reconfigure tsconfig to be compatible with tsgo (no more baseUrl)
philippotto 46510c2
Merge branch 'master' of github.com:scalableminds/webknossos into liv…
philippotto 2a3b7c1
also add proofreading specs for incorporating update actions from server
philippotto 2f02cb1
format
philippotto dd73fc9
clean up
philippotto 6d515db
update changelog
philippotto 302d078
speed up tests by reducing sleep in ensureSavedState
philippotto cb645d0
bump timeouts a bit
philippotto e66e72f
add test for reloading bucket if it changed on the server
philippotto 78833e5
bump save delay a bit to fix flaky test
philippotto 26f02fb
Merge branch 'master' into live-m2
philippotto 42c3ebb
use ViewModeValues constant where possible
philippotto 1662292
incorporate some feedback
philippotto 7b3adab
read activeTreeId and activeNodeId directly from store instead of usi…
philippotto 0928f6c
more feedback
philippotto 81b5a60
more feedback
philippotto 2ea0341
refresh layer in finalization step too
philippotto 82e1682
swap param order for updateMappingWithMerge
philippotto f22bc56
also swap order for updateMappingWithMerge
philippotto d4353fa
more feedback
philippotto a94a7a6
fix incorrect invocation of saga
philippotto bd46a5a
fix incorrect newActiveNodeId
philippotto ae2299b
Merge branch 'master' of github.com:scalableminds/webknossos into liv…
philippotto d8dbc69
remove one todo and make watchChangedBucketsForLayer a bit clearer
philippotto bd536d0
show error and terminate synchronizing saga in error case
philippotto a9fa06c
fix race condition between getNewestVersionForAnnotation and getUpdat…
philippotto 51e08f1
format
philippotto 5059116
fix that some actions were not applied because of allowUpdate==false
philippotto 33bb355
refactor transformStateAsReadOnly
philippotto 9efae18
move some sagas to new subfolders
philippotto d27ad2e
fix imports
philippotto c771e9b
split save sagas into filling and draining modules
philippotto 3abc0a9
add missing files
philippotto 762621e
add explicit release mutex functionality
philippotto 9220879
remove superfluous didShowFailedSimultaneousTracingError logic (unnec…
philippotto afe2a94
acquire mutex in proofreading and release after saving
philippotto e5b1c95
retry even 409 errors
philippotto b9f14b5
Revert "retry even 409 errors" because saving should only be done when a
philippotto 0142486
extract save mutex saga into own module
philippotto ac6b2ab
refactor further
philippotto fa99630
disable eager mutex acquisition and also poll for updates when allow …
philippotto 87d39a6
add DISABLE_EAGER_MUTEX_ACQUISITION bool
philippotto 06f2e3f
add todo comment
philippotto a85c777
move isMutexAcquired to store
philippotto 2de18a7
refactor mutex acquisition to use less state
philippotto aaeebf0
make mutex-acquisition ad-hoc when trying to save
philippotto 1cec124
in backend, make agglomerateIds and mag optional in proofreading upda…
fm3 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
since we’re not using any info from the findOne other than whether to delete, we could merge the two into one query and just DELETE WHERE annotationId = a AND userId = u