Repository navigation
fix(uninstall): the uninstall page says build throughout, with even spacing - #2360
Conversation
…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
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Swarmhost agentic reviewThe 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
left a comment
There was a problem hiding this comment.
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.
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
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-instancesflag and the$comfyRemoveInstances*variables keep their names; they are not shown.src/main/lib/uninstallRemovalPage.test.tsreads that page out ofinstaller.nshand 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
scripts/installer.nsh)src/main/lib/uninstallRemovalPage.test.ts)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