Maptio / maptio

http://www.maptio.com
Other
24 stars 5 forks source link

Close circle details when opening new map #727

Closed rgoj closed 2 years ago

rgoj commented 2 years ago

Description

Bad news: this is a dreadful, dreadful hack to avoid digging through state management and still be able to avoid the even more dreadful, potentially data-loss-inducing bug that was caused by panel with old circle details data staying open after you opened a new map.

Good news: We agreed to fix the workspace state management soon - and then overall state management in the app, yay!

Good news: The hack means we don't need to add warning messages that we planned in case no quick hack was available to us.

From the self-service onboarding spreadsheet:

State management for when you create a second map or switch between maps - when the circle details stay open - add a message (Please refresh) when you click the "create" button and ask the user to confirm