Skip to content

Gracefully handle context event - #314

Merged
alan-wu merged 12 commits into
ABI-Software:mainfrom
alan-wu:context-restore
Oct 16, 2025
Merged

alan-wu merged 12 commits into
ABI-Software:mainfrom
alan-wu:context-restore

Conversation

@alan-wu

@alan-wu alan-wu commented Oct 15, 2025 •

Copy link
Copy Markdown
Member

This pull request require the following changes: AnatomicMaps/flatmap-viewer#66

This pull request will handle context lost and provide a way to restore it.

Context will be forced to stop when changing the flatmap using the map selector, the context will be restored once that map is brought back and restore all previous state (beside filter, that is handled by map-viewer.)

I have made some changes on minimap as well and make sure it is only rendered after the map is ready.

It also add a new flatmap error message to allow user to manually restore the context which will support some edge cases in map-viewer such as opening too many flatmapvuers causing current active map to lose context.

@akhuoa akhuoa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested and verified.

@alan-wu
alan-wu merged commit 4e11a4c into ABI-Software:main Oct 16, 2025
1 check failed
@alan-wu
alan-wu deleted the context-restore branch November 12, 2025 02:47
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