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

[Place Page Revamp] Filters out charts that have no data #4842

Draft
wants to merge 25 commits into
base: master
Choose a base branch
from

Conversation

gmechali
Copy link
Contributor

Implements the fix for removing charts that have no data on either of the cases according to their block scope.
So either for the current place, the child places, or the peer places within the parent.

Modifies the call to relatedPlaces such that it comes BEFORE placeCharts (as opposed to in parallel). We have to do this in order to pass in the parent place dcid to the placeCharts method so that we can verify we have data for peer places within parent.

With this change, all charts that have NO data are removed.

gmechali and others added 25 commits January 10, 2025 18:02
…lace page for california. More testing to come.
…atedplaces response to pass it into place charts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants