Giter Site home page Giter Site logo

Comments (11)

reckart avatar reckart commented on July 23, 2024

@betoboullosa @matchlesswei What do you think about this?

from inception.

betoboullosa avatar betoboullosa commented on July 23, 2024

I think it might make sense, but maybe it's not entirely clear to the user that deleting from the history also deletes the annotation. A possible help would be showing a warning like this: "Attention, this action will also delete the corresponding annotation. Proceed?".

from inception.

matchlesswei avatar matchlesswei commented on July 23, 2024
  • first jump to the annotation
  • then delete that annotation

from inception.

reckart avatar reckart commented on July 23, 2024

We have a reusable ConfirmationDialog which could be used here.

from inception.

matchlesswei avatar matchlesswei commented on July 23, 2024

@reckart so you mean 1. jump to the annotation 2. ask the user for confirmation 3. delete the annotation?

from inception.

reckart avatar reckart commented on July 23, 2024

Aye. That would incorporate @betoboullosa valid concern.

from inception.

matchlesswei avatar matchlesswei commented on July 23, 2024

@betoboullosa @reckart the confirmationDialog only shows up before deleting the annotation? Or it shows up everytime the user clicks the trash bin in the learning history?

from inception.

reckart avatar reckart commented on July 23, 2024

Only for accepted annotations if the deletion from the history also triggers a deletion of the actual annotation.

from inception.

reckart avatar reckart commented on July 23, 2024

AnnotationDetailEditorPanel.actionDelete(AjaxRequestTarget) (or via AnnotationActionHandler interface) should be used to trigger the deletion. Mind this might cause a second confirmation dialog to pop up if deleting the annotation triggers the deletion of further annotations (e.g. relations attached to the deleted span).

from inception.

matchlesswei avatar matchlesswei commented on July 23, 2024

@reckart @betoboullosa
Do we ask for a confirmation to delete the history and annotation(if user choose cancel, then history is kept)?
Or do we delete that history without confirmation, then ask for a confirmation to delete the annotation?

from inception.

reckart avatar reckart commented on July 23, 2024

I would say just for the annotation. The history item would be deleted anyway.

from inception.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.