mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
## Summary Extracts desktop UI into apps/desktop-ui package with minimal changes. ## Changes - **What**: - Separates desktop-specific code into standalone package with independent Vite config, router, and i18n - Drastically simplifies the main app router by removing all desktop routes - Adds a some code duplication, most due to the existing design - Some duplication can be refactored to be *simpler* on either side - no need to split things by `isElectron()` - Rudimentary storybook support has been added - **Breaking**: Stacked PR for publishing must be merged before this PR makes it to stable core (but publishing _could_ be done manually) - #5915 - **Dependencies**: Takes full advantage of pnpm catalog. No additional dependencies added. ## Review Focus - Should be no changes to normal frontend operation - Scripts added to root package.json are acceptable - The duplication in this PR is copied as is, wherever possible. Any corrections or fix-ups beyond the scope of simply migrating the functionality as-is, can be addressed in later PRs. That said, if any changes are made, it instantly becomes more difficult to separate the duplicated code out into a shared utility. - Tracking issue to address concerns: #5925 ### i18n Fixing i18n is out of scope for this PR. It is a larger task that we should consider carefully and implement properly. Attempting to isolate the desktop i18n and duplicate the _current_ localisation scripts would be wasted energy.
57 lines
2.0 KiB
Plaintext
57 lines
2.0 KiB
Plaintext
# Desktop/Electron
|
|
/apps/desktop-ui/ @webfiltered
|
|
/src/stores/electronDownloadStore.ts @webfiltered
|
|
/src/extensions/core/electronAdapter.ts @webfiltered
|
|
/vite.electron.config.mts @webfiltered
|
|
|
|
# Common UI Components
|
|
/src/components/chip/ @viva-jinyi
|
|
/src/components/card/ @viva-jinyi
|
|
/src/components/button/ @viva-jinyi
|
|
/src/components/input/ @viva-jinyi
|
|
|
|
# Topbar
|
|
/src/components/topbar/ @pythongosssss
|
|
|
|
# Thumbnail
|
|
/src/renderer/core/thumbnail/ @pythongosssss
|
|
|
|
# Legacy UI
|
|
/scripts/ui/ @pythongosssss
|
|
|
|
# Link rendering
|
|
/src/renderer/core/canvas/links/ @benceruleanlu
|
|
|
|
# Node help system
|
|
/src/utils/nodeHelpUtil.ts @benceruleanlu
|
|
/src/stores/workspace/nodeHelpStore.ts @benceruleanlu
|
|
/src/services/nodeHelpService.ts @benceruleanlu
|
|
|
|
# Selection toolbox
|
|
/src/components/graph/selectionToolbox/ @Myestery
|
|
|
|
# Minimap
|
|
/src/renderer/extensions/minimap/ @jtydhr88
|
|
|
|
# Assets
|
|
/src/platform/assets/ @arjansingh
|
|
|
|
# Workflow Templates
|
|
/src/platform/workflow/templates/ @Myestery @christian-byrne @comfyui-wiki
|
|
/src/components/templates/ @Myestery @christian-byrne @comfyui-wiki
|
|
|
|
# Mask Editor
|
|
/src/extensions/core/maskeditor.ts @trsommer @brucew4yn3rp
|
|
/src/extensions/core/maskEditorLayerFilenames.ts @trsommer @brucew4yn3rp
|
|
/src/extensions/core/maskEditorOld.ts @trsommer @brucew4yn3rp
|
|
|
|
# 3D
|
|
/src/extensions/core/load3d.ts @jtydhr88
|
|
/src/components/load3d/ @jtydhr88
|
|
|
|
# Manager
|
|
/src/workbench/extensions/manager/ @viva-jinyi @christian-byrne @ltdrdata
|
|
|
|
# Translations
|
|
/src/locales/ @Yorha4D @KarryCharon @shinshin86 @Comfy-Org/comfy_maintainer
|