-
Notifications
You must be signed in to change notification settings - Fork 408
refactor: move core graph modules into workbench layer #6689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🎭 Playwright Test Results❌ Some tests failed ⏰ Completed at: 11/14/2025, 01:20:24 AM UTC 📈 Summary
📊 Test Reports by Browser
🎉 Click on the links above to view detailed test results for each browser configuration. |
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 11/14/2025, 01:10:28 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 2.94 MB (baseline 2.94 MB) • 🔴 +734 BMain entry bundles and manifests
Status: 4 added / 4 removed Graph Workspace — 799 kB (baseline 799 kB) • 🔴 +50 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 8 kB (baseline 8 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 1 added / 1 removed Panels & Settings — 306 kB (baseline 306 kB) • ⚪ 0 BConfiguration panels, inspectors, and settings screens
Status: 6 added / 6 removed UI Components — 266 kB (baseline 266 kB) • ⚪ 0 BReusable component library chunks
Status: 5 added / 5 removed Data & Services — 12.6 kB (baseline 12.6 kB) • ⚪ 0 BStores, services, APIs, and repositories
Status: 2 added / 2 removed Utilities & Hooks — 5.87 kB (baseline 5.87 kB) • ⚪ 0 BHelpers, composables, and utility bundles
Status: 1 added / 1 removed Vendor & Third-Party — 5.32 MB (baseline 5.32 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 3.92 MB (baseline 3.92 MB) • ⚪ 0 BBundles that do not match a named category
Status: 15 added / 15 removed |
Before (pre-refactor)
useCoreCommands→core/graph/subgraph/proxyWidgetUtils→ renderer stores/services → renderer chunks loaded even for workbench-only consumers.src/core/**imported Pinia stores (domWidgetStore,subgraphNavigationStore) and renderer canvas stores.After (current state)
src/renderer/**.litegraphServicemaintains optional renderer handlers. Workbench code consumes stable APIs instead of importing renderer modules or using dynamicimport().useCoreCommands→litegraphService.invokeToggleWidgetPromotion()→ renderer handler (if registered)litegraphServicecontext menu hook →widgetPromotionHandlers.addWidgetPromotionOptionsscripts/app(renderer bootstrap) still imports the renderer module directly, which is acceptable for full renderer entrypoints.┆Issue is synchronized with this Notion page by Unito