You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(contextMenu): migrate core extensions to new context menu API
Migrates core extensions from monkey-patching to the new context menu extension API, demonstrating the migration path for extension developers.
**Migrated extensions:**
- `groupOptions.ts`: Group management context menu items
- `nodeTemplates.ts`: Template save/load context menu items
**Legacy compatibility test:**
- `groupNode.ts`: Kept with monkey-patching as compatibility test case
- Includes documentation explaining the old vs new approach
**Benefits:**
- Type-safe menu item registration
- No prototype pollution
- Easier to test and maintain
- Clear separation of concerns
Depends on PR #5977 (context menu extension API)
0 commit comments