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

Disable install button during installation #769

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oscfdezdz
Copy link
Collaborator

From the main commit:

Introduces a new installing state that is set before activating
`ext.install` action. To deal with cancellations, a new `install-status`
signal is added to ExmManager which is emitted whenever it happens and
reverts the button state to the last one it had, either default or
unsupported.

ExmSearchRow drops `is-installed` and `is-supported` properties in favor
of a new `manager` property to connect to ExmManager's `install-status`
signal.

The implementation will most likely be simplified in the future with the
unified subsystem, binding the downloading state of ExmExtension to the
installing state introduced here.

Fix #673

Use shell_extensions_call_install_remote_extension/finish instead.
Introduces a new installing state that is set before activating
`ext.install` action. To deal with cancellations, a new `install-status`
signal is added to ExmManager which is emitted whenever it happens and
reverts the button state to the last one it had, either default or
unsupported.

ExmSearchRow drops `is-installed` and `is-supported` properties in favor
of a new `manager` property to connect to ExmManager's `install-status`
signal.

The implementation will most likely be simplified in the future with the
unified subsystem, binding the downloading state of ExmExtension to the
installing state introduced here.
@oscfdezdz oscfdezdz marked this pull request as draft January 23, 2025 18:41
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.

Disable install button during extension installation
1 participant