bcgov / bcgov/smk

UI events can be handled unexpectedly by multiple tools

Open
#160 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Some UI events are handled by more than one tool. When many tools are enabled, an event may be unexpectedly handled by another tool that isn't immediately in context. For example, a map click made with the Markup polygon tool is also handled by the Identify tool: each click to add a point to the polygon also shows features at the clicked map location. One workaround is to turn off the Identify tool when using the Markup tool.

There may be other such conflicts between tools.

Look into ways of mitigating these conflicts. This was mitigated for the Geoark tool in pull request https://github.com/bcgov/smk/pull/156.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Geoark mitigation in pull request #156, then examine how the Markup polygon and Identify tools handle the same map click events. Identify other conflicting tool interactions and define completion as mitigating unexpected multiple handling without breaking the intended tool behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.