Skip to content

Fix/issue 6563 help lazyload#6567

Open
Tomeshwari-02 wants to merge 4 commits intosugarlabs:masterfrom
Tomeshwari-02:fix/issue-6563-help-lazyload
Open

Fix/issue 6563 help lazyload#6567
Tomeshwari-02 wants to merge 4 commits intosugarlabs:masterfrom
Tomeshwari-02:fix/issue-6563-help-lazyload

Conversation

@Tomeshwari-02
Copy link
Copy Markdown
Contributor

PR Category

  • Bug Fix - Fixes a bug or incorrect behavior
  • Feature - Adds new functionality
  • Performance - Improves performance
  • Tests - Adds or updates test coverage
  • Documentation - Updates to docs, comments, or README

Summary

Lazy-load widgets/help before opening the aux pie menu help widget so right-click help works even when the toolbar help has not been opened first.

Why

HelpWidget was already loaded for the toolbar path, but the aux pie menu path still assumed it was present. That caused HelpWidget is not defined when help was opened directly from a block context menu.

Validation

  • node --check js/piemenus.js
  • node --check js/__tests__/piemenus.test.js
  • Full Jest was not available in this checkout because dependencies are not installed locally.

@github-actions github-actions bot added bug fix Fixes a bug or incorrect behavior size/S Small: 10-49 lines changed area/javascript Changes to JS source files area/tests Changes to test files labels Apr 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@Tomeshwari-02
Copy link
Copy Markdown
Contributor Author

@walterbender Hi, could you please review this PR when you have some time? Thank you!

@github-actions
Copy link
Copy Markdown
Contributor

✅ All Jest tests passed! This PR is ready to merge.

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

Labels

area/javascript Changes to JS source files area/tests Changes to test files bug fix Fixes a bug or incorrect behavior size/S Small: 10-49 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant