Giter Site home page Giter Site logo

hubble's People

Contributors

laurensrietveld avatar rinkehoekstra avatar saramagliacane avatar

Stargazers

 avatar  avatar

Watchers

 avatar

hubble's Issues

Annotation data problems

The SnippetLoader.java class (com.data2semantics.cds.ui.server.loaders) loads the annotations, and uses the values prefix, exact, postfix to create a snippet. The retrieval is currently inaccurate and plain wrong, because the annotations in the dataset consist of messy, wrong and duplicate entries. The queries in the SnippetLoader.java file are tweaked (in a bad way) for demo purposes, to retrieve multiple distinct snippets.

Solution:

  • create proper annotations
  • match them with a publication uri instead of a filename, so we need to have pdf files within our system, but we can refer to the publication
  • fix the queries in the snippet loader

Drawing annotations onto text

Currently, the PdfAnnotator.java draw the annotations (residing in rdf) onto pdf.
This is done using bounding box coordinates, not using the actual prefix/postfix.

Todo:

  • We probably shouldnt be drawing anything in pdf, but focus on how to tackle this problem providing we have the publication as text or xml
  • Find a way to nicely draw annotations using prefix/postfix, instead of coordinates on a pdf page

Streamline the UI

  • Cut away stuff that's not intuitive
  • Add a banner + logo (?)
  • Add more intuitive labels

Load data from Linked Life Data

The query in PatientLoader to retrieve info from linked life data does not work: the query is wrong, and will always retrieve empty results.

Retrieve treatment info from lld

In PatientLoader.java (com.data2semantics.cds.ui.server.loaders), the 'hadRecentTreatment' information is currently taken from the aers triple store. This information should reside in the linked life data triplestore, but isnt (due to a bug I presume).
Solution: Find a reliable source of information for treatments, or do it ourself (properly)

Implement loading behavior

The View.java file (com.data2semantics.cds.ui.client.view) contains onLoadingFinish() and onLoadingStart() methods, which are unimplemented. Having more data in the prototype, might increase loading times, making this issue more important.

Example of the loading panel for the old GWT layout: https://github.com/Data2Semantics/CDSInterface/blob/4119d2723f3893a0722f9b286b2442b632e7eeab/src/com/data2semantics/mockup/client/ui/LoadingPanel.java

Loading panel should not -block- the interface. You should still be able to click buttons

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.