Git Product home page Git Product logo

Comments (7)

dwhly avatar dwhly commented on May 28, 2024

Expected: Annotation 1 should be deleted, I should see annotation 2 in the sidebar.

I'm trying to remember, is this what we designed? The argument being that I might have written something long form, gotten distracted, and then gone to create a new annotation forgetting that I hadn't saved the first.

Should we instead prevent the creation of a new one and perhaps scroll the existing one back into view?

But I'm struggling to find any of the threads of previous discussion around this, and may not be recalling correctly.

from client.

robertknight avatar robertknight commented on May 28, 2024

@seanh 's descriptions of the actual and expected behavior are correct. This is broken because a couple of my recent changes did not correctly account for annotations without server assigned IDs. PR on its way.

from client.

robertknight avatar robertknight commented on May 28, 2024

Also there was an existing but previously unnoticed bug where the orphan status of new annotations was not correctly initialized.

from client.

dwhly avatar dwhly commented on May 28, 2024

🎉

from client.

seanh avatar seanh commented on May 28, 2024

Nice, @robertknight

from client.

jeremydean avatar jeremydean commented on May 28, 2024

I had thought we decided that two annotations can never be under construction at the same time?

from client.

nickstenning avatar nickstenning commented on May 28, 2024

No, you can have multiple in-progress drafts, but if your draft is empty (no text or tags) it will be discarded when you start a new annotation.

from client.

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.