Giter Site home page Giter Site logo

Prevent overlapping annotations about recogito-js HOT 5 OPEN

hbast avatar hbast commented on June 12, 2024
Prevent overlapping annotations

from recogito-js.

Comments (5)

rsimon avatar rsimon commented on June 12, 2024

I'm afraid not. Overlapping annotations are a feature ;-)

Not sure how one would go about implementing this. It's certainly possible, and would have to go into the selection handling somehow. But personally, I'm no longer developing this library any further, since all focus is now on the successor - also & especially because of realtime issues such as this.

from recogito-js.

hbast avatar hbast commented on June 12, 2024

We have created a well-running prototype with the current library. A switch would probably mean a few days of work. How different are the libraries? Where can I find out about the interfaces? Our purpose is still that we want to integrate the annotation library as JS into a website.

from recogito-js.

rsimon avatar rsimon commented on June 12, 2024

Fully understood. There are some interfaces that are similar to the legacy API. (There's still an r/anno object with some of the same methods and events as RecogitoJS. But much of the advanced features, especially the stuff to drive collaboration, sits in a new state management object.

I'm aware the new version has no documentation yet. This will change over time. But some patience will be needed. I wish I could suggest something more encouraging: but, for now, you'd need to dig into the code itself, I'm afraid.

from recogito-js.

hbast avatar hbast commented on June 12, 2024

Don't get me wrong. I am very grateful for the work you put into the projects and the super fast support you provide. I can also understand that you no longer want to support the old library. My Javascript knowledge is limited to the basics and I haven't had any experience with React so far. I also get the new library compiled, but at this point I'm lost. With a minimal example, like the one here in the project, access to the new library would perhaps be much easier. You must be testing the system locally somehow, right? Wouldn't it be helpful for newcomers to include a simple example in the repo?

from recogito-js.

rsimon avatar rsimon commented on June 12, 2024

No offense taken! I'm totally aware that improving the docs would mean removing a huge roadblock, and be beneficial to the dissemination of the library. It is high up on my list, but, well, there's always something new getting in the way ;-)

However, yes, I am testing locally of course. It's a super simple setup that doesn't show a lot of the features. But it's all in the test files here (vanilla JS version) and here (React version).

These files are what gets launched when your run npm install -> npm start in the corresponding package folders.

from recogito-js.

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.