Skip to content

POLAR@3: Introduce interaction masking via core for routing - #873

Open
oeninghe-dataport wants to merge 6 commits into
nextfrom
vue3/routing-with-interaction-masking
Open

POLAR@3: Introduce interaction masking via core for routing#873
oeninghe-dataport wants to merge 6 commits into
nextfrom
vue3/routing-with-interaction-masking

Conversation

@oeninghe-dataport

@oeninghe-dataport oeninghe-dataport commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

See #842 (comment)

Blocked by #842

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://Dataport.github.io/polar/pr-preview/pr-873/

Built to branch gh-pages at 2026-07-29 14:26 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@dopenguin
dopenguin force-pushed the vue3/migrate-plugin-routing branch from dba4ddd to bb8948e Compare July 13, 2026 08:39
@dopenguin
dopenguin force-pushed the vue3/routing-with-interaction-masking branch 2 times, most recently from 91c741e to ce3404b Compare July 14, 2026 20:22
@dopenguin dopenguin added enhancement New feature or request refactor Refactoring of previous code labels Jul 14, 2026
@dopenguin dopenguin added this to the POLAR@3 milestone Jul 14, 2026
@dopenguin
dopenguin force-pushed the vue3/routing-with-interaction-masking branch from 497b9e6 to ce3404b Compare July 14, 2026 20:33
Base automatically changed from vue3/migrate-plugin-routing to next July 15, 2026 10:00
@dopenguin
dopenguin requested a review from a team July 15, 2026 10:00
@dopenguin
dopenguin force-pushed the vue3/routing-with-interaction-masking branch from ce3404b to a481dd8 Compare July 15, 2026 10:53
@dopenguin
dopenguin force-pushed the vue3/routing-with-interaction-masking branch from a481dd8 to 0254104 Compare July 15, 2026 13:54
@oeninghe-dataport
oeninghe-dataport force-pushed the next branch 2 times, most recently from a353df3 to 6a19ea0 Compare July 17, 2026 08:49

@dopenguin dopenguin 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.

🏓 @oeninghe-dataport

I'd suggest tackling this ASAP so #447 and draw benefit from this already merged change.

Comment thread src/core/stores/index.ts

/**
* Masks an interaction for a plugin.
* If the interaction is already masked by another plugin, an error is thrown.

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.

So, if I start the draw plugin and want to draw a polygon, then decide that I want to instead find a route but forget to turn of the draw plugin - maskInteraction fails in routing with an error but the user does not receive an information about that. That doesn't really seem the way to go.

This can currently be tested if one removes the if-statement in maskInteraction and then clicking on one of the input-fields of the routing plugin.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The expected behaviour is that I can activate the next plugin s.t. the previous is deactivated then. This is implemented w/ 5fb2060

Comment thread src/core/stores/main.ts Outdated
Comment thread src/core/stores/main.ts Outdated
@oeninghe-dataport

Copy link
Copy Markdown
Collaborator Author

🏓 @dopenguin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request refactor Refactoring of previous code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants