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

feat!: add map chart components #7

Merged
merged 40 commits into from
Sep 27, 2023
Merged

feat!: add map chart components #7

merged 40 commits into from
Sep 27, 2023

Conversation

davidlougheed
Copy link
Member

No description provided.

@davidlougheed davidlougheed changed the title [WIP] feat!: add map chart components feat!: add map chart components Sep 19, 2023
@davidlougheed davidlougheed marked this pull request as ready for review September 19, 2023 14:29
Copy link
Contributor

@v-rocheleau v-rocheleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far! Only have a couple of questions

package.json Show resolved Hide resolved
src/Components/Maps/BentoChoroplethMap.tsx Outdated Show resolved Hide resolved
src/Components/Maps/BentoMapContainer.tsx Outdated Show resolved Hide resolved
src/types/chartTypes.ts Outdated Show resolved Hide resolved
src/Components/Maps/controls/MapLegendContinuous.tsx Outdated Show resolved Hide resolved
src/Components/Maps/controls/MapLegendDiscrete.tsx Outdated Show resolved Hide resolved
src/types/chartTypes.ts Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link
Member

@gsfk gsfk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No real comments on React code from my end, and no issues in testing.

For the readme:

  • "Using a Map" doesn't mention PointMap
  • do the maps use ChartConfigProvider or is this only for Pie and Bar charts?

I'm assuming some features (like remembering which map position you were centered on last) will be handled by whatever app is calling the charts library, rather than the library itself.

The only really obvious missing element is translation handling, map labels appear to be in "local" language only. For the North this actually looks good, since local languages are included rather than forgotten, but in the future there may be a need for specifying, eg, English or French.

@davidlougheed davidlougheed requested review from v-rocheleau and removed request for SanjeevLakhwani September 27, 2023 14:57
Copy link
Contributor

@v-rocheleau v-rocheleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm! Well done on isolating leaflet peer deps

src/Components/Maps/controls/MapLegendContinuous.tsx Outdated Show resolved Hide resolved
@davidlougheed davidlougheed merged commit 25552df into main Sep 27, 2023
1 check passed
@davidlougheed davidlougheed deleted the feat/maps branch September 27, 2023 19:08
@github-actions
Copy link

🎉 This PR is included in version 2.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants