Git Product home page Git Product logo

hotspot's People

Contributors

dependabot[bot] avatar dionmcm avatar johngrimes avatar lukeswindale avatar patrickdc1991 avatar stav09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hotspot's Issues

Upgrade to Webpack 4

We're using quite an old version of Webpack, and some of our loaders and plugins are causing problems for security updates because of the old transitive dependencies they bring in to the bundle.

This task is to:

  1. Update to the latest version of Webpack
  2. Update all Webpack loaders and plugins
  3. Make any necessary updates to the Webpack configuration
  4. Refactor and simplify where appropriate

Add version identifier into built application

Currently, there is no way of correlating a deployed version of the software with a Git revision.

This could be implemented by adding a variable to the config.json, similar to Polecat: https://browse.medserve.online/config.json.

The way this is done in Polecat is by using Git to pass through the revision at HEAD in the dockerize script: https://github.com/AuDigitalHealth/polecat/blob/master/scripts/dockerize.sh#L3

Which is then picked up and put in an environment variable in the Dockerfile: https://github.com/AuDigitalHealth/polecat/blob/master/Dockerfile#L12

The new environment variable will need to be whitelisted in docker/buildConfig.sh.

RemoteFhirResource.getResource() does not handle 304 - Not Modified response

Expected behaviour

  • I expected Hotspot to render the requested resource

Actual behaviour

  • I was presented with an error message, stating "Could not sniff format as either JSON or XML.". This is because the server returned a 304 response with an empty body. In this case Hotspot would need to load the cached response but it would appear not to at the moment

Steps to reproduce

  • I think the server was actually incorrectly returning a 304 in this case but I guess it still needs to be handled. Not sure how to force the 304 locally.. however, on the problematic server clicking a link from an external source is enough to trigger it (ie. click a link posted in another application .... perhaps Slack?). The sample link is http://<INTERNAL_SERVER>/fhir/ValueSet/adverse-reaction-agent-1

Environment

  • Problem occurring when opening URL in chrome from external application (implies that you cannot load without looking at the cache). Internal onto sandbox server

Add resource type to UI

Currently, it is not obvious what type of resource you are viewing within Hotspot.

It would be good to show the current resource type somewhere on the UI, here's a wireframe:

screen shot 2018-03-05 at 16 57 59

Set up CircleCI

We need a CircleCI build set up which will build and test Hotspot, as well as build the Docker image and push it to Docker Hub.

It would also be good to have a badge at the top of the README with the CircleCI build status.

Enable Circle CI for branches

Enable the automatic execution of the Circle CI build on branches that are the subject of a pull request.

The Docker image from a branch build should be tagged as the name of the branch and pushed to Docker Hub.

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.