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

fix: fully unload dialogs when not in use #627

Merged

Conversation

pedrolamas
Copy link
Member

As it currently stands, most dialogs are loaded on the Vue object tree but kept hidden until needed, something I believe we actually do not need, so this PR changes that!

Before:

image

After:

image

The UpdatingDialog works a bit differently, so that one I kept as is.

I've also fixed a bug on the FileNameDialog, where clicking outside the dialog would close it but we wouldn't be able to open it again!

Signed-off-by: Pedro Lamas [email protected]

@pedrolamas pedrolamas requested a review from matmen April 13, 2022 11:40
@pedrolamas pedrolamas added the GH - Bug Something isn't working label Apr 13, 2022
@pedrolamas pedrolamas added this to the 1.18 milestone Apr 13, 2022
@pedrolamas pedrolamas added the Code - Optimizations Everything that relates to code optimizations! label Apr 13, 2022
@pedrolamas pedrolamas merged commit 25d5e29 into fluidd-core:develop Apr 13, 2022
@pedrolamas pedrolamas deleted the pedrolamas/unload-dialogs branch April 13, 2022 13:18
matmen pushed a commit to matmen/fluidd that referenced this pull request Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code - Optimizations Everything that relates to code optimizations! GH - Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants