mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #482] [MERGED] [Refactor] Improve separation of concerns / lifecycle #903
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#903
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/desktop/pull/482
Author: @webfiltered
Created: 12/14/2024
Status: ✅ Merged
Merged: 12/14/2024
Merged by: @huchenlei
Base:
main← Head:settings-lifecycle📝 Commits (6)
91943b4Remove unused codeeece20eFix lifecycle - keep store simple40a3f55Improve config lifecycle, convert to basic locator6522d51Remove static accessor7dd9df7Add separation of concernsf003223nit - Doc📊 Changes
5 files changed (+66 additions, -42 deletions)
View changed files
📝
src/main-process/appWindow.ts(+2 -2)📝
src/main-process/comfyDesktopApp.ts(+15 -17)📝
src/main.ts(+8 -5)📝
src/store/desktopConfig.ts(+39 -17)📝
src/store/index.ts(+2 -1)📄 Description
Clean up - Part I
DesktopConfiguse()patternIntention is to require less future-effort. No libraries I checked use static classes for this kind of thing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.