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

Use async/await in annotation view #190

Draft
wants to merge 31 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2b88342
var -> let
timonegk Mar 30, 2021
1209c88
only call event.preventDefault() when necessary
timonegk Mar 30, 2021
2f8f913
make createAnnotation async
timonegk Mar 30, 2021
a41932b
less code duplication for resetSelection
timonegk Mar 30, 2021
682f6c1
make loadAdjacentImage async
timonegk Mar 30, 2021
fef88c7
use async/await syntax instead of promise syntax
timonegk Mar 30, 2021
17ed6ec
make loadAnnotateView and loadAnnotations async
timonegk Mar 30, 2021
c199a14
remove tool.initialized (value is never accessed)
timonegk Mar 30, 2021
906f670
make deleteAnnotation async
timonegk Mar 30, 2021
3b27350
make loadImageList async
timonegk Mar 30, 2021
632f5dd
make loadAnnotationTypeList async
timonegk Mar 30, 2021
8c23e28
make image loading async
timonegk Mar 30, 2021
7e3d5e5
execute annotation creation and loading of next image in parallel
timonegk Mar 30, 2021
4faf28f
move cancelSelection for bounding boxes to the correct place
timonegk Mar 30, 2021
260278b
call loadAnnotateView before preloadImages
timonegk Mar 30, 2021
6ab2279
cleanup the mess of resetting/reloading the tool
timonegk Mar 30, 2021
28eea08
clean up some deep and confusing call stacks
timonegk Mar 30, 2021
4e3ff43
improve logic of image cache
timonegk Mar 30, 2021
c75ebb2
fix some comments
timonegk Mar 30, 2021
35248c7
new function changeImage
timonegk Mar 30, 2021
f6c8c77
cleanup setting of blurred/concealed check boxes
timonegk Mar 30, 2021
c542ad0
do not keep every image in the browser history
timonegk Mar 31, 2021
19e0311
remove restoreSelection from global variables
timonegk Mar 31, 2021
2dcae96
remove mouse event details from global variables
timonegk Mar 30, 2021
877c251
fix escape for multiline
timonegk Mar 30, 2021
ffc6aea
do not reload image list every time
timonegk Mar 31, 2021
6b720a5
always show scroll bar in annotation view
timonegk Mar 31, 2021
65d5083
call resetSelection when restoring an annotation that is not in image
timonegk Mar 31, 2021
a0bce56
fix race condition by waiting for the image before drawing on it
timonegk Mar 31, 2021
a7c23e0
better error handling when creating an annotation
timonegk Apr 1, 2021
1259800
better support for points
timonegk Apr 6, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading