forked from covid19india/covid19india-react
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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>
typo
* 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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of PR
Type of PR
Relevant Issues
Fixes #...
Checklist
Screenshots