mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #958] [MERGED] [Refactor] Improve AppState public interface #1235
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#1235
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/958
Author: @webfiltered
Created: 2/19/2025
Status: ✅ Merged
Merged: 2/19/2025
Merged by: @webfiltered
Base:
main← Head:app-state-locator📝 Commits (5)
7387aec[Refactor] Improve AppState public interfaceef79e7c[Test] Remove old tests1c3ce1a[Test] Add AppState tests1d3eed1Use app state locator directly in class initializers5dc488aUpdate test📊 Changes
9 files changed (+197 additions, -31 deletions)
View changed files
📝
src/desktopApp.ts(+4 -5)➕
src/infrastructure/appStartError.ts(+9 -0)📝
src/main-process/appState.ts(+26 -4)📝
src/main-process/appWindow.ts(+3 -2)📝
src/main.ts(+3 -3)📝
tests/unit/desktopApp.test.ts(+4 -16)➕
tests/unit/main-process/appState.test.ts(+134 -0)📝
tests/unit/main-process/appWindow.test.ts(+1 -1)📝
tests/unit/setup.ts(+13 -0)📄 Description
useAppState()┆Issue is synchronized with this Notion page by Unito
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.