Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve install path selection UX #555

Merged
merged 12 commits into from
Dec 24, 2024
Merged

Improve install path selection UX #555

merged 12 commits into from
Dec 24, 2024

Conversation

webfiltered
Copy link
Contributor

@webfiltered webfiltered commented Dec 24, 2024

  • ComfyUI is no longer forcefully appended to the install path selected by the user
    • e.g. Installing to Documents/ComfyUI
    • Old: Documents/ComfyUI/ComfyUI
    • New: Documents/ComfyUI
  • Existing paths can be re-used
  • Paired with frontend commit INSERT_PR_HERE
    • Electron API Types from this PR are required by the frontend PR
    • Works without the frontend commit, but will not display a warning if the path exists

Default install screen - full install path is now shown in frontend:
image

┆Issue is synchronized with this Notion page by Unito

Fix resume install completes but will not start

Report installation status on error

nit

Rename for clarity - InstallationManager

Refactor installationvalidator

Remove redundant code

Remove unused code

Add framework for installation validation

Set run-once install listener to self-remove

[Refactor] Improve promise handling and readability

Remove unused code

Add logging events

Flatten app install call chaining

- Adds framework for app state validation
- Simplifies call chains (even with additions)

Add modal native dialog helpers

Add temporary base path updater - updates YAML

Add containsDirectory FS helper function

Move classes to individual files

nit
Returns control of error messages / display formatting to frontend
Allows multiple errors / issues to be reported simultaneously
@webfiltered webfiltered requested review from a team as code owners December 24, 2024 16:19
@webfiltered webfiltered changed the title Use existing path Improve install path selection UX Dec 24, 2024
@webfiltered webfiltered marked this pull request as draft December 24, 2024 16:26
@webfiltered webfiltered marked this pull request as ready for review December 24, 2024 18:09
@webfiltered
Copy link
Contributor Author

NB / commit history: originally planned to allow this commit to be done async, ahead of the frontend commit.

It's tightly coupled. Really not worth the time investment - or the requirement for a third PR just to clean up aftwards. Moving on.

@huchenlei huchenlei merged commit 61ac92e into main Dec 24, 2024
7 checks passed
@huchenlei huchenlei deleted the use-existing-path branch December 24, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants