Repository navigation
Help mode update - #97
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
Four moderate active issues remain in popover cleanup, async hook coordination, directive invalidation, and hidden-target filtering.
4 open issues
What changed in this PR
This pull request replaces the legacy help dialog with reusable guided-tour and hover-help components, supporting directive-based step collection, keyboard and mouse navigation, visibility handling, sanitized HTML descriptions, and dedicated help-mode UI.
Changes:
- Adds
HelpModeTour,HelpModeHover, shared utilities, and thev-help-modedirective. - Migrates
DrawToolbarto directive-based help metadata and hover tooltips. - Removes the legacy
HelpModeDialogimplementation and updates the demo and README.
| File | Description |
|---|---|
| src/main.js | Removes global registration of the deprecated help dialog. |
| src/components/index.js | Exports the new help-mode components, utilities, area definitions, and directive. |
| src/components/HelpModeTour/helpModeUtils.js | Provides shared area, visibility, coverage, overlay, and HTML-sanitization helpers. |
| src/components/HelpModeTour/HelpModeTour.vue | Implements the guided help tour with keyboard and mouse navigation and target highlighting. |
| src/components/HelpModeTour/helpModeDirective.js | Registers reactive help metadata on elements and collects ordered help steps. |
| src/components/HelpModeHover/HelpModeHover.vue | Implements highlighted hover help with overlays and popovers. |
| src/components/HelpModeDialog/HelpModeDialog.vue | Removes the legacy help dialog implementation. |
| src/components/DrawToolbar/DrawToolbar.vue | Adds help metadata to drawing controls and updates tooltip behavior. |
| src/App.vue | Removes legacy help-dialog state, demo controls, and tooltip visibility wiring. |
| README.md | Documents help-mode components, directive usage, step configuration, areas, and collection. |
Review effort: Lite
alan-wu
left a comment
There was a problem hiding this comment.
Move from Approve to Request changes.
Hi @alan-wu, I've done the fix and tested the integration. The fix also includes the background and button styles. f014317 On guided tour mode -
On hover mode -
The demo has been updated with the latest fixes. |
|
@alan-wu, I found one more update needed while testing the portal integration. I will update this quickly and inform you again for review.
|
The bug is fixed in mapintegratedvuer. |
alan-wu
left a comment
There was a problem hiding this comment.
Thanks, the implementation looks good and a good use of directive.







This pull request update help-mode with "help mode tour" and "help mode hover". In help mode tour, the user can navigate help tooltips using the keyboard arrow keys or the mouse. In help mode hover, the user can see help mode tooltips by hovering over elements. Hidden elements will not show help mode tooltips. Help mode description accepts basic HTML. In the guided tour, the new area selector has been added so users can see help tooltips for specific areas.
Related PRs
There are some CI failures for
flatmapvuerormapintegratedvuerbecause they need themap-utilitiesdependency. Those failures should resolve after updating map-utilities (after the new version is released with help-mode updates).All updates are on demo: https://mapintegratedvuer-mapcore-754fcb3bf891.herokuapp.com/#/.