Git Product home page Git Product logo

korona.ws's People

Contributors

dependabot[bot] avatar drashmk avatar kamil-kozlowski avatar kkostepski avatar konradkalemba avatar mhajder avatar nownick avatar sewerynkalemba avatar thebergamo avatar tomashpl avatar tymek avatar tymon-ccwe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

korona.ws's Issues

zakres dat na wykresie

ja tylko z malutk膮 sugesti膮

image
przypadki pokazywane na tym wykresie powinny byc do ostatniego minionego dnia (dzisiejsza data -1) wtedy wykres bedzie przedstawia艂 wla艣ciw膮 krzyw膮. :)

Broken tiles

On my PC the tiles are broken:

image

It seems that noscript is by default blocking some scripts from unpkg. I think you should compile them into your application instead of relying on unpkg on the production.

Information about fatality cases

It is well known that the virus can cause life-threatening illnesses which can lead to death. Are there any plans to add an information about fatality cases? I am willing to help so feel free to reach me out.
BTW thank you for this app. It is really helpful. Good job馃憦

Z艂y tekst w tooltipach w polskiej wersji

W polskiej wersji tooltip przy dziennym wzro艣cie zgon贸w, potwierdzonych przypadk贸w i dziennym przyro艣cie wykonanych test贸w wy艣wietla co艣 takiego:

image

W angielskiej wersji jest OK, tekst to 艂adnie sformatowane Today's change.

Chart

艢wietny pomys艂, wykonanie.

Z mojej strony Ma艂y pomys艂...
Du偶o os贸b szuka w necie wykres贸w.
Chodzi g艂贸wnie wykres dzienny ilo艣ci test贸w do ilo艣ci test贸w pozytywnych.

My艣l臋 偶e to bardzo wa偶na kwestia gdy偶 w ka偶dym innym kraju robi ich si臋 znacznie wi臋cej. My ju偶 po agregacji zrobili艣my dopiero te 5k, gdzie inne kraje w tym czasie mia艂y ju偶 ponad 30k. Skala jest ogromna...

W dodatku mo偶na pokusi膰 si臋 o warto艣ci procentowe powy偶szych danych tj ilo艣膰 ca艂o艣ci wykrytych do ca艂o艣ci test贸w.

My艣la艂em o czym艣 na wz贸r tego plus ilo艣膰 pozytywnych test贸w tj ilo艣膰 zaka偶onych per dzie艅.

Screenshot_20200315-155059

Bug: Overlapping text in data sources tab

Hi!

The data sources table have some overlapping text - the column names and the first row overlap. (I used the Safari browser - the issue could not be reproduced on the Chrome)

image

Latest cases

Hello,
It would be nice to have latest cases listing next to cities chart tab. Something like in the picture, latest cases on the top. Thanks to that, it would be easier to find new cases, because now you need to remember all numbers and old cases locations to notice a new one, or check every pin on the map to find a case with a latest date.
image

I wanted to prepare a pull request with suggested changes, but I'm not able to run the app on my local env due to following error:

Installations: Missing App configuration value: "projectId" (installations/missing-app-config-values).

live update

Does this map support live update? I have it opened for hours and data is not updated. Then I refreshed whole page and data was updated. I can see that there is websocket but I this that it does not handle updates.

Daily change chart is misleading

When I see daily change chart, the only change which I can clearly see is new cases. putting deaths and cures in the same column as new cases is misleading, because at first glance I can see that the change was bigger than it really is.

I think that much better would be showing new cases, cures and deaths next to each other, or on separate daily change charts

Adding English version

Hey guys, there are a lot of foreigners and expats in Poland and some of them don't know Polish. So I decided to take this initiative and add English version of the website using i18n tool. I'll send you the PR today, hope it will be useful.

Showing cities location after clicking on them

Hi,

I think it would be good idea to show the city on the map after you click on them in the "Cases/Potwierdzone przypadki" tab. Not everyone is aware when e.g "Be艂偶yce" are located on the map.

Cheers!

Overlapping sections

On smaller displays (laptop, 14'), the city list section is overlapping infected/fatalities statistics.

Screenshot attached:
2020-03-12_14h09_02

Recovered people

There was no official information about these 13 recovered. GIS reported wrong information.
image

Search Bar

Hello
I think it would be good idea to add search bar above latest cases. We can search here e.g by city or date and table will shows results.
search bar

Error: clientAppId must be set to a non-empty string

While trying to setup the project locally I've faced the following error:

Error: clientAppId must be set to a non-empty string
Function.Stitch.initializeAppClient
src/core/Stitch.ts:115
Module../src/helpers/stitch.js
src/helpers/stitch.js:13
  10 |   REACT_APP_MONGO_DB_NAME,
  11 | } = process.env;
  12 | 
> 13 | const client = Stitch.hasAppClient(REACT_APP_STITCH_APP_ID)
  14 |   ? Stitch.getAppClient(REACT_APP_STITCH_APP_ID)
  15 |   : Stitch.initializeAppClient(REACT_APP_STITCH_APP_ID);
  16 | 

I've added the following config into the .env (on the root of the application):

REACT_APP_FIREBASE_API_KEY="AIzaSyCPS3X5r_4yRqpOzjA4C5VbhQJTF7Yix4U"
REACT_APP_FIREBASE_AUTH_DOMAIN="korona-ws.firebaseapp.com"
REACT_APP_FIREBASE_DATABASE_URL="https://korona-ws.firebaseio.com"
REACT_APP_FIREBASE_PROJECT_ID="korona-ws"
REACT_APP_FIREBASE_APP_ID="1:796612519278:web:615f751de390eb229acd7f"
REACT_APP_FIREBASE_MEASUREMENT_ID="G-ZMLEREM05R"

Maybe REACT_APP_STITCH_APP_ID is missing on .env and it's mandatoy?

New deaths visual indication

Given the fact that death ratio is expected to oscillate in range of 1-5 %, current visual indication of death ratio will soon become irrelevant and not informative. It would be nice to think of some different way to showcase this on the map. Some I can think about are:

  1. different dots colors based on deadliness: 0-1% orange 2-4% red 4%< black or similar
  2. switch button to display either deaths or number of infections on the map

Current death ratio visual indicator:
Screenshot 2020-03-13 at 17 21 28

Basic identification for the app

Even though a default React app icon is a bit virus-shaped (馃槢), we should make our own basic identification - what I mean is an icon / a logo. It would also help us in terms of PWA (#31). Feel free to submit one.

Data source

Hi all!

Currently the data is updated manually from MZ Twitter account. However, in the long run this approach is not effective.

I found the official website - https://www.gov.pl/web/koronawirus/wykaz-zarazen-koronawirusem-sars-cov-2 where we can get the data from automatically. Their data are a bit inconsistent though - there are cities specified in some cases, in others there are "powiaty".

There is one more source we scrap the data from - https://docs.google.com/spreadsheets/d/1ierEhD6gcq51HAm433knjnVwey4ZE5DCnu1bW7PRG3E/htmlview?usp=sharing&sle=true

Any thoughts?

GPU usage

I have 95% GPU usage on this page

Voivodeships view in the chart

  1. Voivodeships with long names are not fully displayed.

korona

  1. Since we have only voivodeships here, it means that we will have maximum of 16 elements there. I think the scroll is not needed anymore. Especially now, we have 3 nested scrolls which is not user friendly (particularly on mobile phones).

Background map

It appears that you are using Openstreetmap tiles directly from [a/b/c].tile.openstreetmap.org which is (at least) discouraged by Tile Usage Policy. OSM Foundation tile servers are under heavy load recently (twitter post).

I would suggest manually downloading tiles (only for Poland, there are some ways to limit displaying other regions) for required zoom levels (6-11, according to Tile Calculator by Geofabrik, it shouldn't be more than 100 MB, or 35 MB if you limit to 6-10) and providing them on your own server (simple web server should be enough). These low zoom tiles aren't generated by OSM servers often, so there should be no major differences between catched-offline tiles and those from tile.osm.org

It was also pointed by one Openstreetmap contributor that on mobile chrome, the attribution is hidden and one has to scroll the page to see it. It appears that there is a problem with hiding top address bar or the webpage is too long.

image 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.