Skip to content

fix(uninstall): the uninstall page says build throughout, with even spacing - #2360

Merged
vqt123 merged 1 commit into
mainfrom
vinh/desk-605-uninstall-build-wording
Nov 21, 2026
Merged

vqt123 merged 1 commit into
mainfrom
vinh/desk-605-uninstall-build-wording

Conversation

@vqt123

@vqt123 vqt123 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

What changes for a person

When you uninstall Comfy Desktop on Windows, a page asks what else to remove. That page now says "build" everywhere, and its three options sit at even spacing.

A build is one ComfyUI setup that Comfy Desktop created and runs. The app already calls them builds; this page still said "instance" and "install".

Why

The rest of the app calls these setups builds, so this page was the one place that still said "instance" and "install" for the same thing. Its spacing was also uneven: the first description reserves room for three lines but its text wraps to two, which leaves an extra empty line under it that the other two options do not have. The Desktop owner asked for both fixes in DESK-605, with a screenshot of the page.

Before and after

Where on the page Before After
First option Delete all ComfyUI instances Delete all ComfyUI builds
First option's description Removes every ComfyUI install ... including an install's own input and output ... Removes every ComfyUI build ... including a build's own input and output ...
Third option's description ... Folders you picked outside a deleted instance are kept. ... Folders you picked outside a deleted build are kept.
Note at the bottom ... except files inside a deleted instance. ... ... except files inside a deleted build. ...
Spacing The first option's description left an extra empty line under it, so the second option sat lower than the third Each description is followed by the same gap before the next option

What gets deleted does not change.

Details for reviewers

  • scripts/installer.nsh, un.ComfyRemovalChoicesPage: four strings. The first description's label goes from 24u (three lines) to 16u (two lines, what its text wraps to), and every control below it moves up 8u (33, 46, 66, 79, 102). The --delete-instances flag and the $comfyRemoveInstances* variables keep their names; they are not shown.
  • src/main/lib/uninstallRemovalPage.test.ts reads that page out of installer.nsh and checks that no shown text says instance or install, that the first option reads "Delete all ComfyUI builds", and that all three descriptions reserve the same height with the same gap before the next option. On main it fails: the first option's text, four strings with instance or install, and heights 24/16/16. With this change it passes.

Change breakdown

Category Files Added Deleted Share of changed lines
Product code 1 (scripts/installer.nsh) 7 7 22%
Tests 1 (src/main/lib/uninstallRemovalPage.test.ts) 51 0 78%

Not run: the Windows installer was not built and the uninstaller was not opened, so the page was not looked at on screen. The test checks the text and the reserved heights, not how Windows wraps the text.

Ref DESK-605

…pacing

The first option's description reserved three lines (24u) but wraps to two,
so the gap under it was larger than under the other two. It now reserves
two lines (16u) and the controls below move up 8u.

The page now says build in every place it said instance or install, to
match what the app calls them. The --delete-instances flag and its
variables keep their names; nobody sees them.

Ref DESK-605
@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The uninstaller removal-choice page now refers to ComfyUI builds and updates the control layout. Tests check the page wording, checkbox-label pairs, description heights, and spacing.

Changes: Removal choices page

Layer / File(s) Summary
Removal-choice wording, layout, and tests
scripts/installer.nsh, src/main/lib/uninstallRemovalPage.test.ts
The page changes “instances” and “installs” wording to refer to builds, and moves the model, shared input/output, and explanatory controls upward. Tests check the page wording, three checkbox-label pairs, consistent description heights, and equal gaps between options.

Possibly related PRs

Suggested reviewers: benceruleanlu, deepme987

Merge Risk: Minimal · up to 4d129

The uninstall page now says "build" instead of "instance" or "install" and spaces the three options evenly. Deletion behavior is unchanged. The risk is minimal. The text wrapping and layout on a real Windows uninstaller were not checked visually.

Pre-merge checks: Passed 2

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 10b13254-a8f6-4c6f-a116-4cd0444606ef
Commits

Reviewing files that changed from the base of the PR and between ba5bd4e and 4d1295f.

Files selected for processing: 2

  • scripts/installer.nsh
  • src/main/lib/uninstallRemovalPage.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@vqt123
vqt123 marked this pull request as ready for review November 21, 2026 05:55
@vqt123
vqt123 requested review from a team as code owners November 21, 2026 05:55
@vqt123 vqt123 self-assigned this Nov 21, 2026
@comfy-greenlight-bot

comfy-greenlight-bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Swarmhost agentic review

The current assessment is available to employees in the internal Slack review thread.

Evaluation budget remaining for this pull request: 98 automatic and 99 manual.

Updated by Swarmhost's agentic review process.

@comfy-greenlight-bot comfy-greenlight-bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request at head commit 4d1295f has been reviewed and approved by Swarmhost's agentic review process.

The detailed evaluation is available to employees in the internal Slack review thread.

@vqt123
vqt123 added this pull request to the merge queue Nov 21, 2026
Merged via the queue into main with commit 022fd56 Nov 21, 2026
29 checks passed
@vqt123
vqt123 deleted the vinh/desk-605-uninstall-build-wording branch November 21, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants