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

Rejecting predictions using HTML (Apache Annotator) #4668

Open
Serena290 opened this issue Mar 27, 2024 · 1 comment
Open

Rejecting predictions using HTML (Apache Annotator) #4668

Serena290 opened this issue Mar 27, 2024 · 1 comment

Comments

@Serena290
Copy link

Describe the bug
When I use an external recommender (sbert) and want to reject a prediction by double clicking it in one of my uploaded documents, it accepts it. So clicking once and doing a double click accepts predictions. This happens when using the Editor HTML (Apache Annotator).

Expected behavior
When I double click a prediction, it gets rejected and not accepted.

Please complete the following information:

  • Version: 31.3
  • build ID: 6743f93
  • OS: OS X
  • Browser: chrome
@reckart
Copy link
Member

reckart commented Apr 2, 2024

Hm, I think supporting the double-click-to-reject here is particularly difficult because a double-click on text actually creates a selection and a selection creates an annotation - and distinguishing between a case where a double-click on an annotation suggestion would reject it seems quite tricky - in particular if there are multiple suggestions at the same position or if there are suggestions and annotations overlapping with each other...

reckart added a commit that referenced this issue Apr 2, 2024
- Try introducing a double-click detection - however, doesn't work properly at the moment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants