[PR #729] [MERGED] [DevExperience] Add @/ root path syntax support #1052

Closed
opened 2026-10-31 22:19:07 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/desktop/pull/729
Author: @huchenlei
Created: 1/24/2025
Status: ✅ Merged
Merged: 1/24/2025
Merged by: @huchenlei

Base: main ← Head: root_path


📝 Commits (2)

  • fbcb683 Add @/ root path syntax support
  • dd0f9ef Replace ../src patterns

📊 Changes

14 files changed (+42 additions, -36 deletions)

View changed files

📝 scripts/resetInstall.js (+1 -1)
📝 tests/unit/comfyConfigManager.test.ts (+1 -1)
📝 tests/unit/comfyServer.test.ts (+1 -1)
📝 tests/unit/comfyServerConfig.test.ts (+1 -1)
📝 tests/unit/comfySettings.test.ts (+1 -1)
📝 tests/unit/handlers/AppHandlers.test.ts (+2 -2)
📝 tests/unit/handlers/appinfoHandlers.test.ts (+4 -4)
📝 tests/unit/handlers/pathHandler.test.ts (+7 -7)
📝 tests/unit/install/installationManager.test.ts (+13 -13)
📝 tests/unit/store/desktopConfig.test.ts (+1 -1)
📝 tests/unit/telemetry.test.ts (+2 -2)
📝 tests/unit/utils.test.ts (+1 -1)
📝 tsconfig.json (+1 -1)
📝 vite.base.config.ts (+6 -0)

📄 Description

Avoids the relative path syntax. Replacing them with @/.

Follow-up: cleanup deep relative imports in the codebase.

┆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.

## 📋 Pull Request Information **Original PR:** https://github.com/Comfy-Org/desktop/pull/729 **Author:** [@huchenlei](https://github.com/huchenlei) **Created:** 1/24/2025 **Status:** ✅ Merged **Merged:** 1/24/2025 **Merged by:** [@huchenlei](https://github.com/huchenlei) **Base:** `main` ← **Head:** `root_path` --- ### 📝 Commits (2) - [`fbcb683`](https://github.com/Comfy-Org/desktop/commit/fbcb683413c301f55f5f2adac00014dbf0eb8cdb) Add @/ root path syntax support - [`dd0f9ef`](https://github.com/Comfy-Org/desktop/commit/dd0f9ef90b2144cb51dae23b1e39d390c30a0542) Replace ../src patterns ### 📊 Changes **14 files changed** (+42 additions, -36 deletions) <details> <summary>View changed files</summary> 📝 `scripts/resetInstall.js` (+1 -1) 📝 `tests/unit/comfyConfigManager.test.ts` (+1 -1) 📝 `tests/unit/comfyServer.test.ts` (+1 -1) 📝 `tests/unit/comfyServerConfig.test.ts` (+1 -1) 📝 `tests/unit/comfySettings.test.ts` (+1 -1) 📝 `tests/unit/handlers/AppHandlers.test.ts` (+2 -2) 📝 `tests/unit/handlers/appinfoHandlers.test.ts` (+4 -4) 📝 `tests/unit/handlers/pathHandler.test.ts` (+7 -7) 📝 `tests/unit/install/installationManager.test.ts` (+13 -13) 📝 `tests/unit/store/desktopConfig.test.ts` (+1 -1) 📝 `tests/unit/telemetry.test.ts` (+2 -2) 📝 `tests/unit/utils.test.ts` (+1 -1) 📝 `tsconfig.json` (+1 -1) 📝 `vite.base.config.ts` (+6 -0) </details> ### 📄 Description Avoids the relative path syntax. Replacing them with `@/`. Follow-up: cleanup deep relative imports in the codebase. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-729-DevExperience-Add-root-path-syntax-support-1856d73d3650817885ddc1692f272f0c) by [Unito](https://www.unito.io) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 22:19:07 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#1052
No description provided.