Code Monkey home page Code Monkey logo

dm's People

Contributors

shannonbradshaw avatar thecoloryes avatar timandres avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dm's Issues

Text Editor Annotation plugin fails on quote wrapped strings

In a previous developer's code, a "Node Not Found" error is being raised when trying to highlight strings which are wrapped with quotation marks. I suspect this may have to do with the following code: if (range.getHtmlFragment() == range.getValidHtml()) in TextEditorAnnotate#addAnnotation.

"Orphaned" text highlights remain in project graph

Similar to #10

When a user effectively deletes a text highlight by backspacing through it, the oa:SpecificResource and oa:TextQuoteSelector remain in the graph, as do all annotation references to those resources. The server or front end should detect these deletions and remove the related resources from the project graph.

"Orphaned" texts remain in project graph

Because DM allows texts to exist as annotations on other resources in a project without being listed in the project contents (as shown to the user in the Project Viewer), texts can become unlinked from those annotations without ever being deleted. This means that they will be inaccessible to the user, but their metadata will still exist in the graph, and their contents and history will still exist in the relational database. Beyond causing bloat, this also pollutes the exported project graph, since that graph starts as a dump of the project graph stored in the database.

I am currently working on a script to clean up the graph for export, but this should be parsed out from deleted annotations sent to the server and handled in real time.

Simplify use of MySQL Database

Due to the use of long character sequences (for URIs) as indexes, MySQL databases require significant reconfiguration to work with DM. This could be alleviated by creating a URI model and referencing the PK as an index rather than the full URI. This requires creating a database migration, and modifying all models with URI fields.

Parser is failing on string literals which include quotation marks

The n3 parser is failing to escape some quotations in string literals, leading to invalid N3 in quads in the quad store, which in turn leads to improper N3 serialization. It has not yet been determined if this only happens with literals wrapped with quotes at the end, or any literals. This might also be solved by updating to the latest version of N3.js.

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.