feat: add hasPlanningData
property to teams.settings
#2457
Merged
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.
As more councils are coming onboard, this change will let us skip PRs for Trello tickets like this one and instead just add the property
"hasPlanningData": true
toteams.settings
in the prod Hasura console for this council. No changes to permissions or the staging data sync are necessary for this to work as expected.We will still open PRs to add API GIS metadata when a council's granular Article 4 variables become available.
Also updated council onboarding step in README here: https://github.com/theopensystemslab/planx-team-onboarding/tree/main#after-running-this-script
Future scope: expose this property via the Team Settings page in the Editor or via admin endpoint in the short term (probably not worth it?)