Skip to content

/plugins: add marketplace upgrade flow#20478

Merged
canvrno-oai merged 6 commits into
mainfrom
canvrno/tui_plugins_menu_v2_marketplace_upgrade
May 1, 2026
Merged

/plugins: add marketplace upgrade flow#20478
canvrno-oai merged 6 commits into
mainfrom
canvrno/tui_plugins_menu_v2_marketplace_upgrade

Conversation

@canvrno-oai

Copy link
Copy Markdown
Contributor

This PR adds marketplace upgrade to the /plugins menu so users can update configured marketplaces. It adds a Ctrl+U shortcut on eligible marketplace tabs, a loading state, and the app-server request flow needed to perform marketplace/upgrade. After a successful upgrade, the TUI refreshes plugin data, plugin mentions, and user config so updated marketplace contents show up across the menu and other plugin surfaces. It also preserves the current marketplace tab on no-op and failure paths and surfaces backend error details directly in the TUI.

  • Add a Ctrl+U upgrade option for user-configured marketplace tabs in /plugins
  • Show the upgrade footer hint only on upgradeable marketplace tabs
  • Show a loading state during marketplace/upgrade
  • Surface already-up-to-date and per-marketplace failure results from the backend
  • Refresh plugin data, plugin mentions, and user config after successful upgrades
  • Add tests and snapshot updates for the shortcut flow, loading state, and failure messaging

Steps to test:

  1. Add a /plugin marketplace to Codex TUI.
  2. Open /plugins, move to that marketplace tab, and confirm the footer shows Ctrl+U to upgrade.
  3. Press Ctrl+U and confirm the popup switches into an upgrade loading state.
  4. When the request finishes, confirm you see the expected result: updated marketplace contents on success, an already-up-to-date message on no-op, or backend error details on failure. On no-op or failure, confirm the popup stays on the same marketplace tab.

@canvrno-oai canvrno-oai marked this pull request as ready for review April 30, 2026 18:57

@fcoury-oai fcoury-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Validated that a user-configured Git marketplace can be added over SSH, upgraded from a newer remote revision, refreshed locally, and then correctly reports as already up to date on a second upgrade.

Code looks good, approved!

@canvrno-oai canvrno-oai merged commit 610eefb into main May 1, 2026
25 checks passed
@canvrno-oai canvrno-oai deleted the canvrno/tui_plugins_menu_v2_marketplace_upgrade branch May 1, 2026 18:26
@github-actions github-actions Bot locked and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants