connectors: merge the catalog page into a row-list Connectors page
Nightly Build / build (push) Successful in 6m57s

The standalone Catalog page added nothing the Connectors page could not
do: drop it (component, route, sidebar entry) and move its affordances
onto the Connectors page — the Add-connector dropdown (marketplace /
manual form, now at #connectors/new) and per-row removal for the admin.

Replace the card grid with a sharper row list (4px radius) built for
scanning status and acting; the marketplace's back link now returns to
#connectors. i18n keys renamed catalog.* -> connectors.add/new/*.
This commit is contained in:
2026-07-27 21:01:32 +01:00
parent 165af19774
commit b198ac923b
13 changed files with 465 additions and 605 deletions
+7 -7
View File
@@ -132,11 +132,11 @@ export class MarketplacePage extends LightElement {
});
}
// The marketplace is a destination of the catalog's "Add connector" action, not a
// place of its own — so it goes back where it came from.
_goCatalog() {
history.pushState({ page: 'catalog' }, '', '#catalog');
window.dispatchEvent(new CustomEvent('llm-page-change', { detail: { page: 'catalog' } }));
// The marketplace is a destination of the Connectors page's "Add connector"
// action, not a place of its own — so it goes back where it came from.
_goConnectors() {
history.pushState({ page: 'connectors' }, '', '#connectors');
window.dispatchEvent(new CustomEvent('llm-page-change', { detail: { page: 'connectors' } }));
}
render() {
@@ -148,8 +148,8 @@ export class MarketplacePage extends LightElement {
<div class="um-header">
<h2 class="um-title"><i class="bi bi-shop me-2"></i>${t('marketplace.title')}</h2>
<div class="um-header-right">
<button class="btn btn-sm btn-outline-primary" @click=${() => this._goCatalog()}>
<i class="bi bi-arrow-left me-1"></i>${t('marketplace.btn.catalog')}
<button class="btn btn-sm btn-outline-primary" @click=${() => this._goConnectors()}>
<i class="bi bi-arrow-left me-1"></i>${t('marketplace.btn.connectors')}
</button>
${this._isAdmin ? html`
<button class="um-btn-icon ms-1" title=${t('marketplace.action.refetch')}