Skip to content

fix(marketplace): detect pending install/uninstall state on window open#36

Merged
pabloinigoblasco merged 1 commit into
developmentfrom
fix/marketplace-pending-restart-detection
Apr 7, 2026
Merged

fix(marketplace): detect pending install/uninstall state on window open#36
pabloinigoblasco merged 1 commit into
developmentfrom
fix/marketplace-pending-restart-detection

Conversation

@pabloinigoblasco
Copy link
Copy Markdown
Collaborator

@pabloinigoblasco pabloinigoblasco commented Apr 7, 2026

Summary

  • Add hasPendingInstall / hasPendingUninstall to ExtensionManager to query staged operations on disk
  • Show "Needs Restart" badge in marketplace cards when a deferred Windows install or uninstall is detected

Previously, reopening the marketplace after a Windows deferred operation showed an incorrect "Install" button instead of the "Needs Restart" badge.

Test plan

  • Install extension on Windows, close marketplace
  • Reopen marketplace → should show "Needs Restart" (not "Install")
  • Uninstall extension on Windows, close marketplace
  • Reopen marketplace → should show "Needs Restart" (not "Uninstall")

Add hasPendingInstall / hasPendingUninstall to ExtensionManager to query
staged operations on disk. Show "Needs Restart" badge in marketplace cards
when a deferred Windows install or uninstall is detected.

Previously, reopening the marketplace after a Windows deferred operation
showed an incorrect "Install" button instead of the "Needs Restart" badge.

Contents:
- Add hasPendingInstall() / hasPendingUninstall() to ExtensionManager
- Implement pending install/uninstall detection on disk
- Show Needs Restart badge for pending operations on window open
@pabloinigoblasco pabloinigoblasco merged commit 93e7410 into development Apr 7, 2026
2 checks passed
@pabloinigoblasco pabloinigoblasco deleted the fix/marketplace-pending-restart-detection branch May 4, 2026 12:36
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.

1 participant