mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[PR #986] [MERGED] [API] Prefer enum over loose constants #1259
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#1259
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/986
Author: @webfiltered
Created: 2/23/2025
Status: ✅ Merged
Merged: 2/23/2025
Merged by: @webfiltered
Base:
main← Head:api-enums📝 Commits (2)
87906e9[API] Prefer enum over loose constants1095e0b[Cleanup] Remove unused constants📊 Changes
5 files changed (+38 additions, -20 deletions)
View changed files
📝
src/constants.ts(+23 -5)📝
src/main-process/comfyServer.ts(+2 -2)📝
src/services/sentry.ts(+3 -3)📝
src/virtualEnvironment.ts(+7 -7)📝
tests/integration/testEnvironment.ts(+3 -3)📄 Description
Deprecates old loose constants in favour of string enums.
┆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.