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 annotations #1028

Merged
merged 3 commits into from
Aug 12, 2020
Merged

Fix annotations #1028

merged 3 commits into from
Aug 12, 2020

Conversation

di72nn
Copy link
Member

@di72nn di72nn commented Jul 29, 2020

Turns out annotations got broken when I switched to async TaskService: adding an annotation is supposed to be a synchronous operation. That is fixed with introduction of Future support in TaskService/ServiceHelper (may be useful for other stuff in the future).

Annotation deletion seems to have been broken from the very beginning. I don't know how I missed that.

Fixes #1026.

Copy link
Contributor

@Strubbl Strubbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm the deletion function is fixed now.

Directly after adding an annotation it was not possible to touch the edit button. Now it is possible.

i reviewed the code and it looks good to me.

In general, after touching an annotated text to get the annotation popup, the time from seeing the annotation popup incl. the edit/delete buttons to the disappearing of the edit/delete buttons is very short. Can we increase the time before the edit/delete buttons disappear? Or can we always show them?
This should go into a separate PR as i am merging this fix now.

Thank you

@Strubbl Strubbl merged commit 0dad025 into master Aug 12, 2020
@Strubbl Strubbl deleted the fix_annotations branch August 12, 2020 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Annotations are not updated or deleted
2 participants