Giter Site home page Giter Site logo

studentsagainstcovid19 / corona-aid Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 7.07 MB

Corona Aid Website / Frontend

Home Page: https://www.corona-aid-ka.de

HTML 11.53% Dockerfile 0.04% CSS 17.83% JavaScript 32.99% XSLT 37.41% Python 0.21%
xslt covid-19 html javascript health-departments

corona-aid's Introduction

Corona Aid Logo

Corona Aid

Codacy Badge GitHub Workflow Status Uptime Robot ratio (7 days)

This is the frontend of the Corona Aid application, developed by students of the DHBW Karlsruhe as part of a student project.

Corona Aid ist der Name unseres Projekts. Wir haben einen Prototypen entwickelt, der ausgelasteten Gesundheitsämtern in Zeiten von Covid-19 helfen kann. Die Ämter müssen täglich mit den Patienten in Kontakt treten und z. B. deren Gesundheitszustand erfragen. Diesen Prozess haben wir mithilfe einer interaktiven Kartenanwendung vereinfacht. So wird die Verwaltung von Patientendaten zum Kinderspiel.

What is this project about? Discover more in our documentary repo (only available in German).

Production website

The website is live here: www.corona-aid-ka.de!

Browser support

IE / Edge Firefox Chrome Safari Opera
IE / Edge Firefox Chrome Safari Opera
only Edge last 4 versions last 4 versions last 2 versions last 2 versions

Security policy

If you want to report a security vulnerability, please read our security policy in the SECURITY.md file.

© SAC19 2020

corona-aid's People

Contributors

keksklauer4 avatar marcauberer avatar niklas-23 avatar splines avatar jatsqi avatar andirh avatar codacy-badger avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar

Forkers

jatsqi

corona-aid's Issues

Rather include a hosted version of the openlayers API

I would recommend you to remove the downloaded code of the openlayers API from the project and switch to a hosted version of it.

Having a downloaded version has following disadvantages:

  • It unnecessarily blows up the repo size
  • You are unable to keep track of your code quality, since it's not quite good at the moment (see here). I think this is also the fault of the openlayers library
  • The repo uses a lot of unused code, which is not very clear to understand
  • Slow git response time due to the large amount of files

Do not display phone number on call list

I would not display the phone number in the call list for each person.
As a callcenter employee, I could have the idea to just call the affected person with the phone number from the call list, without opening and locking it. This would lead to an unwanted behaviour of the system / doubled calls.

Small url change

I've improved our backend code for better readability. This has the side effect that you can use ?compress instead of ?compress=true for the infected endpoint, as soon as my pr is merged. ?compress=true is still functional, but I'd appreciate if you update your request url

Call list tooltip bug

Reproduction: Hover over a call list item, scroll down and hover over a item again. You will see, that the tooltip will not be displayed for the current item. Instead a tooltip is shown for another item below.
Btw: Please also hide the horizontal scrollbar, it looks very misleading imho.

Button to close cluster list

I've got a feature request for you: Wouldn't it be nice to have a button for closing the cluster list sidebar in case of opening it accidentally?

Focus on expiration pop-up

The "expiration pop-up" can open up at all times, even if the user has another pop-up opened (see picture below). In this case, it should be clear that the "expiration pop-up" has the highest priority. That's why we should darken the rest of the screen. This way, the user doesn't click on the previously opened pop-up and wonders why the buttons are not working.

image

Also reset rotation

It's a small feature, but it would be nice to have also a reset functionality for the map rotation (on tablets for instance). We could combine this with the reset zoom feature.

validate all html/xml/svg/xslt files

Html

  • index.html
  • colors.html
  • navigation.html
  • optimization.html
  • piecharts.html
  • priority.html

XML

Examples

  • infected_compressed_example.xml
  • infected_id_example.xml
  • config_example.xml
  • symptoms_example.xml

New DTDs

  • help_popup.dtd --> validation of help_popup.xml necessary after merge into master (!)
  • district.dtd
  • district_analytics.dtd

DTDs that were not yet linked in the JS code (temporarily constructed XML files, see the example XML files)

  • calculate_prio_result.xml
  • construct_symptom_popup_xml_result.xml
  • create_pie_chart_result.xml
  • parse_symptoms_result.xml
  • push_history_item.xml
  • push_prescribe_test.xml
    realtime_sse.xml
    realtime_update_merged.xml

XSLT

All XSLT documents were already perfectly valid 😎

  • xslt_calculate_prio.xsl
  • xslt_call_list.xsl
  • xslt_clustered_list.xsl
  • xslt_construct_help.xsl
  • xslt_detailed_view.xsl
  • xslt_edit_symptoms.xsl
  • xslt_merge_symptoms.xsl
  • xslt_notes_popup.xsl
  • xslt_parse_symptoms.xsl
  • xslt_pie_chart.xsl
  • xslt_prio_gpx.xsl
  • xslt_progressbar.xsl
  • xslt_realtime_update.xsl
  • xslt_show_districts.xsl
  • xslt_show_illnesses.xsl
  • xslt_symptom_div.xsl

SVG

assets/icons

  • blur_filter.svg
  • checkbox_not_set.svg
  • check-circle.svg
  • close_button.svg
  • exampleWellbeingHistory.svg
  • help.svg
  • last_button.svg
  • list_button.svg
  • list_button2.svg
  • next_button.svg
  • reset_zoom.svg
  • search_magnifier.svg
  • wellbeing_slider.svg

assets/markers

  • example_pie_chart.svg
  • high_prio.svg
  • intermed_prio.svg
  • lower_prio.svg
  • tried_call.svg
  • veryhigh_prio.svg

assets/wellbeing_indicators

  • wellbeing_bad.svg
  • wellbeing_good.svg
  • wellbeing_intermediate.svg
  • wellbeing_verybad.svg
  • wellbeing_verygood.svg

Automatic Locking does not close every open pop-up

When the user opens the symptoms pop-up and waits long enough, the pop-up "Ihre Session läuft ab. Wollen Sie weiterhin den Patienten bearbeiten?" opens up. If the user waits even longer the detail view will close but the symptoms pop-up stays open. The expected behaviour is that the detail view can't close automatically when the user has a open pop-up OR that every pop-up closes automatically together with the detail view.
Right now the symptom pop-up stays open and leads to an error message when clicking on the "Bestätigen" (submit) button.

image

Adjust Logo

Right now the logo looks like this on the map:
image

I guess it would be better to use the png image instead which only shows the logo without the lettering next to it.
You can download the png image of the "pure" logo here on our Trello board.
Pure Logo preview

Help dialog does not work anymore

Help dialog does not work anymore. Clicking on the ? button only applies the blur effect to the window content, but no dialog is visible.

No pie charts in "clustered points"

The "clustered points" don't reflect the current status you see in the clustered view (right sidebar when you click on a "clustered point". I thought we wanted to show information like "2 people processed, 8 more people to go" in the form of a pie chart.

image

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.