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

chore: add error feedback for editors if using List with "map" field without FindProperty first #3556

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

jessicamcinchak
Copy link
Member

The List component's new "map" field requires address data from state to position the map viewport - this means the component needs to come after a "FindProperty". Currently in testing, if you don't remember this, the larger List will load but the map field will show an empty/non-loading map.

Now just throw a quick "graph error" (same pattern as other postion-dependent geo components like PlanningConstraints)!
Screenshot from 2024-08-26 10-30-12

Tests for the "map" fields still outstanding / to-be picked up in follow-up PR

Copy link

github-actions bot commented Aug 26, 2024

Removed vultr server and associated DNS entries

Copy link
Contributor

@DafyddLlyr DafyddLlyr left a comment

Choose a reason for hiding this comment

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

Working as expected - perfect!

@jessicamcinchak jessicamcinchak merged commit 0dbb6d4 into main Aug 26, 2024
12 checks passed
@jessicamcinchak jessicamcinchak deleted the jess/list-map-field-graph-error branch August 26, 2024 10:21
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