Skip to content

fix(ui): keep backends off the add-on browse list - #12878

Merged
mudler merged 1 commit into
masterfrom
fix/addon-browse-kind
Oct 24, 2026
Merged

mudler merged 1 commit into
masterfrom
fix/addon-browse-kind

Conversation

@mudler-agent

Copy link
Copy Markdown
Collaborator

What changed

The add-on Browse list showed backend entries next to add-ons, each with its own install flow. Backends belong on the Backends page, so they are now kept off the add-on pages.

  • The add-on catalog adapter asks the library for kind: addon (the host default) instead of all, so totals and paging count add-ons only. It also drops any entry that still reports kind: backend. Entries with no kind stay add-ons.
  • BrowseView.jsx: removed installBackend, backendWork, installedBackends, the backend branch of openInstall, the backend confirm dialog and the backend-only facts. The add-on install and turn-on flow is unchanged.
  • The Find add-ons tab, the Apps view and the first-run screen use the same adapter, so they no longer receive backend entries.
  • The Backends page and the library API are not changed.

Tests

  • npm run test:unit in core/http/react-ui: 197 passed, 0 failed. Added a case that backend entries are dropped and no-kind entries are kept; updated the dispatch-shape and backend-entry cases.
  • npm run build: succeeds.
  • ESLint on the changed files: no errors.
  • Playwright: e2e/addons-backend-library.spec.js now expects a backend entry to be absent from the Browse tab (and kind: addon in the search request). The backend install specs on the Browse tab were removed. This spec was not run here because it needs the Go test server and a browser; CI runs it.

The add-on Browse list showed backend entries next to add-ons, with
their own install flow. Backends belong on the Backends page, where
the library chips already cover them.

Ask the library for add-ons only and drop any entry that still says
it is a backend. Entries with no kind stay add-ons. Remove the
backend-only install flow from the Browse view.

Assisted-by: Claude:claude-sonnet-5-5 [Claude Code]
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler
mudler merged commit 9c4a8b2 into master Oct 24, 2026
57 of 71 checks passed
@mudler
mudler deleted the fix/addon-browse-kind branch October 24, 2026 13:56
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.

2 participants