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

Open
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

@oscfdezdz oscfdezdz marked this pull request as draft January 23, 2025 18:41
@oscfdezdz oscfdezdz force-pushed the disable-install-button-during-installation branch 2 times, most recently from 9429a32 to e3f08cf Compare January 29, 2025 20:18
@oscfdezdz oscfdezdz marked this pull request as ready for review January 29, 2025 20:20
Copy link

@eken12345 eken12345 left a comment

Choose a reason for hiding this comment

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

Like this

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 force-pushed the disable-install-button-during-installation branch from e3f08cf to cb4b9be Compare February 1, 2025 12:25
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
2 participants