Skip to content

Help mode update - #362

Merged
alan-wu merged 22 commits into
ABI-Software:mainfrom
akhuoa:feature/help-mode-tour
Dec 2, 2026
Merged

alan-wu merged 22 commits into
ABI-Software:mainfrom
akhuoa:feature/help-mode-tour

Conversation

@akhuoa

@akhuoa akhuoa commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

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

  1. Help mode update map-utilities#97
  2. Help mode update #362
  3. Help mode update scaffoldvuer#200
  4. Help mode update mapintegratedvuer#589
  5. Help mode update plotvuer#70

There are some CI failures for flatmapvuer or mapintegratedvuer because they need the map-utilities dependency. 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/#/.

@akhuoa

akhuoa commented Oct 28, 2026

Copy link
Copy Markdown
Member Author

There are two failing checks.

  1. Formatting: it will be fixed after merging Add .prettierignore to exclude autogenerated files #363.
  2. Staging maps: it will be fixed after updating production maps.

@akhuoa
akhuoa marked this pull request as ready for review November 23, 2026 23:03
@akhuoa akhuoa changed the title [WIP] Add help mode tour Help mode update Nov 25, 2026
@akhuoa
akhuoa requested a lite review from Copilot November 25, 2026 02:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The change cannot pass a clean install/build because it imports help-mode exports unavailable in the pinned @abi-software/map-utilities 1.14.0 dependency.

1 open issue
What changed in this PR

This pull request replaces the legacy help-mode implementation with directive-driven guided tour and hover help powered by @abi-software/map-utilities, adding contextual help across flatmap controls, legends, species selection, settings, and map popups.

Changes:

  • Adds help-mode metadata and step collection to flatmap components.
  • Replaces legacy dialog, props, events, and tooltip state with HelpModeTour and HelpModeHover.
  • Updates demo documentation and Cypress fixtures to remove obsolete help-mode configuration.
File Description
src/​components/​MultiFlatmapVuer.vue Registers help-mode directives and exposes collected help steps for the active flatmap.
src/​components/​legends/​DynamicLegends.vue Adds help metadata and drawer callbacks for featured dataset markers.
src/​components/​FlatmapVuer.vue Adds help steps for map controls, legends, settings, markers, and map popups while removing legacy tooltip state.
src/​App.vue Replaces the legacy help dialog with Help Tour and Hover Help controls.
docs/​demo-multiflatmapvuer.md Removes obsolete help-mode configuration from the demo documentation.
cypress/​fixtures/​MultiFlatmapPropsStaging.json Removes obsolete help-mode fixture configuration.
cypress/​fixtures/​MultiFlatmapPropsReference.json Removes obsolete help-mode fixture configuration.
cypress/​fixtures/​MultiFlatmapPropsDevel.json Removes obsolete help-mode fixture configuration.
cypress/​fixtures/​MultiFlatmapPropsCurrent.json Removes obsolete help-mode fixture configuration.

Review effort: Lite

Comment thread src/App.vue Resolved
@akhuoa
akhuoa requested a review from alan-wu November 25, 2026 05:01
@alan-wu

alan-wu commented Nov 30, 2026

Copy link
Copy Markdown
Member

Looks good to me, thanks a lot. I like the use of directives and how it replace all the props. Very nice. Thanks.

@alan-wu
alan-wu merged commit 4acb5fb into ABI-Software:main Dec 2, 2026
5 checks passed
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.

3 participants