Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Original forked #1

Merged
merged 128 commits into from
May 8, 2020
Merged

Original forked #1

merged 128 commits into from
May 8, 2020

Conversation

cooldashing24
Copy link
Owner

Description of PR

Type of PR

  • Bugfix
  • New feature

Relevant Issues
Fixes #...

Checklist

  • Compiles and passes lint tests
  • Properly formatted
  • Tested on desktop
  • Tested on phone

Screenshots

jeremyphilemon and others added 30 commits April 24, 2020 02:10
* Remove unused variables
* Add react-tooltip in package.json
* Update package-lock.json
* Add statistics for active, recovered and deaths

* Add separate maps for different type of cases

* Fix bugs related to deaths/deceased usage

* Switch border to appropriate colors.

* Remove unnecessary useCallback

* Add styling to district/state text above map

* Fix unknown district information not showing

* Add comma formatting to numbers on legend

* Fix flexbox height; make map boundary strokes thinner

* Add map switcher.

* Add prop to MapExplorer for switching map type

* Fix alignments for map switcher.

* Use useEffect hook to update mapOption from prop

Co-authored-by: jeremyphilemon <jeremyphilemon@outlook.com>
jeremyphilemon and others added 28 commits May 3, 2020 19:22
* Add district maps for whole India
* Feat: Add containment zones to map
* Fix multiple districts highlighting across different states
* Update district names
* Add separate buttons to switch between state/district view
* Revert to earlier buttons; fix percentages on tooltips
* Fix map switching
* Fix district names
* Add state borders
* Scale zone legend based on number of zones
* Add transitions to zone legend
* Improv: Use single map file for Indian states and districts
* Refactor: Combine states which are updated concurrently
* Refactor: Remove redundant states in MapExplorer
* Improv: Remove test data state
* Fix: District counts not showing up
* Fix: Use single state for highlighting districts/states
* Also fix India district map rendering
* Fix multiple renders and crash
* Add zones to state pages
* Memoized breadcrumbs in state page.
* Remove unnecessary undefined district value
* Update timeseries only when it's in view
* Used intersection observer to check if timeseries is in view
* Fix synchronization issues
* Fix nasty synchronization bug
* Lighten colours of zone map
* Fix map transitions
* Add click to expand in India district view
* Fix colours of district names in zone map
* Colour district name text based on zone
* Keep original colours for zone map in dark mode
* Add intersection observer polyfill
* Invert zone map colours in the middle of fill transition
* Fix typo

Co-authored-by: jeremyphilemon <jeremyphilemon@outlook.com>
* stop propagation for all other tooltips

* Revert "stop propagation for all other tooltips"

This reverts commit cbd94e2.

* stop propagation for all other tooltips
* Feat: Localization support. (#357)
* Updated config and rendered LanguageSwitcher
* Removed unused components
* Disabled i18n debug for the production env

* Enabled i18nNext saveMissing with a script to catch the results

With `saveMissing` option enabled the i18nNext library sends POST
request to the mentioned endpoint with the missing locales.

We need this is because static parsers can not detect dynamic data we
are receiving from APIs.

During the development the server can be started using `node utility/missingLocaleServer.js`
The server will write missing locales to `missing_locales.json` file"

Then we need to replace public/locales/en.json file with
missing_locales/json.
The server is not directly editing public/locales/en.json file because
the create-react-app then keeps restarting the app in the development

* Locale changes

 - Renamed: public/locales/en.json -> public/locales/en_old.json
 - With utility/localeMissingServer.js gathered missing_locales.json
 - Copied missing_locales.json -> public/locales/en.json

* Added useTranslation hook to Row.js
* Add t to dependency array.
* Added more t tags
* Added t tags to menu entries
* Add missing keys to en.json.
* Translation tags for the right side of the page
* Renamed missing_locales.json to all_locales.json
* Translation tags for left side of page.
* Resovled remaining conflicts
* Removed the tag because i18next was throwing error
* Created and used isDevelopmentOrTest function
* Added missing tags in table
* Added missing locales from all_locales.json

Co-authored-by: Harsh Zalavadiya <harshzalavadiya@users.noreply.github.com>
Co-authored-by: jeremyphilemon <jeremyphilemon@outlook.com>
- Ensures testing data tooltip doesn't disappear
* active, recovered graph

* change of delta graph acc. to arraykey

* render deltabargraph without animation

* showing graph for -ve active cases

* rounded border for -ve delta active case graph

* removed happy-msg from recovered and active

* changed stylling for deceased happy-msg

* requested changes for memo and using state

* break loop when -ve value found

* Fix: Move labels above axis for negative valued bars

* Feat: Add transitions to state bar graphs

Co-authored-by: Ayush Shukla <shuklaayush247@gmail.com>
@cooldashing24 cooldashing24 self-assigned this May 8, 2020
@cooldashing24 cooldashing24 merged commit 46c588c into cooldashing24:master May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet