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

[Bug] MultiMask fully refreshes during map summary polling #233

Open
mradamcox opened this issue Nov 22, 2024 · 0 comments
Open

[Bug] MultiMask fully refreshes during map summary polling #233

mradamcox opened this issue Nov 22, 2024 · 0 comments
Labels
component: frontend type: bug Something isn't working

Comments

@mradamcox
Copy link
Collaborator

Describe the problem

While auto-refreshing is happening in the map overview (which is enabled if any session is in progress within the map documents), if a new layer has been created, then the entire MultiMask component is re-initialized, meaning any unsaved work on a mask will be lost (very bad). This needs to be handled better, and here are a couple of idea for how to do it:

  1. When there is a change in the item_lookup of the Map object, then add a button "new layers available" that would allow the user to chose when the MultiMask should be updated
  2. A new layer is just "slipped" into the interface without reinitializing the whole thing. The same strategy for this would be used to handle the bug described in [parker's ticket 2]

Related note: I would like to redesign the layout of this entire page in the future, but this issue should be handled even before that happens.

Expected behavior

Don't lose work in the MultiMask when the map summary page refreshes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: frontend type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant