Skip to content

feat(platform)!: turn the credential and skill catalogs into tables - #2889

Merged
yannickmonney merged 2 commits into
mainfrom
feat/credential-catalog-tables
Aug 1, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
feat/credential-catalog-tables

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

The AI-providers, connectors and skills surfaces were card grids over the shipped catalog. That put a dozen tiles for vendors nobody had configured in front of the two keys actually serving traffic, and buried every credential one click inside a card. What an operator manages here is the credentials, so the credentials are the rows.

What changed

Providers and connectors now share one CredentialTable — a flat list of stored credentials joined to the catalog. A row carries its name (with Default / Disabled badges), the vendor it authenticates, the auth method, and its coordinates. Search covers both the name you gave a credential and the vendor behind it; a facet narrows to one vendor.

Add credential is a two-step flow in a single dialog:

  1. the full shipped catalog, grouped In use / Available and alphabetical within each group, searchable;
  2. the vendor-scoped setup form, with Back to the catalog in the header.

For an OAuth-only connector step 2 is the consent hand-off instead of a form; a connector accepting both a grant and a token offers both, consent first. One Radix root rather than two dialogs handing off — swapping roles mid-flow flashes the backdrop and reads as two unrelated dialogs.

Skills becomes a table too, but deliberately has no catalog step: a skill is written or uploaded, not chosen from a shipped list. Its settings route had been deleted in the AI-backend rewrite (#2857) and SkillLibraryDialog / SkillLibraryCatalog have had zero importers ever since — live, tested, translated and unreachable. This restores a reachable surface and retires the unreachable one.

Signals preserved rather than dropped

Three things the cards carried would have died with them:

  • a provider whose model catalog failed to fetch now says so on every row that depends on it (detailLine takes the vendor for this) — a working key is still useless when Tale cannot tell which models the provider serves;
  • a vendor holding credentials but no default is named above the table (isDefault is per (org, vendor), so a flat table has to gather it up);
  • an empty shipped catalog reports the deployment fault inside the picker, instead of reading as an empty organization.

Judgement calls worth a look

  • Harnesses moves from a fourth tab back to a section under the table — the tab strip belonged to the grid's toolbar, and the table brings its own header. Under a short table it is in plain sight.
  • Refresh catalogs moves to the settings header slot (useRegisterSettingsSecondaryAction), because DataTable treats actionMenu and addAction as mutually exclusive and refreshing catalogs is a page action, not a table one.
  • ?provider= / ?connector= links now narrow the table to that vendor rather than opening a dialog. The facet is seeded from the param, not bound to it, so the operator's second choice is not silently dropped.

Also fixed along the way: the actions column's <th> had no discernible text (axe empty-table-header). Several existing tables still have this — their tests just don't run axe.

Verification

  • bun run check green (44/44 tasks, 74,111 tests); UI suite green (405 files / 2,977 tests); lint:sast 0 findings; docs suite green.
  • Both page test files rewritten for the table model (19 + 20 tests), covering the two-group ordering, both step-2 variants, the orphaned-vendor fallback, and the per-vendor no-default warning.
  • Driven in a real browser against a smoke org: catalog grouping and ordering, provider and connector step 2, the OAuth consent step, the skills add menu and create pane, section headers, zero console errors.

Not done

Docs prose is updated across en / de / fr, but the screenshots on these pages are now stale. They come from the capture pipeline, which isn't safe to run unattended, so they need a separate pass.

Breaking change

The per-vendor detail dialog is gone. ?provider= and ?connector= links narrow the table to that vendor instead of opening it.

The AI-providers, connectors and skills surfaces were card grids over the
shipped catalog. That put a dozen tiles for vendors nobody had configured in
front of the two keys actually serving traffic, and buried every credential one
click inside a card. What an operator manages here is the credentials, so the
credentials are the rows.

Providers and connectors now render one shared `CredentialTable` — a flat list
joined to the catalog, with search over both the credential's name and its
vendor, a vendor facet, and the row actions that were previously inside a
per-vendor dialog. The catalog did not disappear; it moved behind "Add
credential", where choosing a vendor is the first step of the one flow that
needs it. That picker groups the shipped list in two — vendors already in use
first, everything else after, alphabetical within each — and steps to the setup
form in the same dialog rather than handing off to a second one.

Skills becomes a table too, but with no catalog behind its Add button: a skill
is written or uploaded, not chosen from a shipped list. Its settings route was
deleted in the AI-backend rewrite and the library dialog has been orphaned ever
since, so this restores a reachable surface and retires the unreachable one.

Three signals the cards carried are preserved rather than dropped with them: a
provider whose model catalog failed now says so on every row that depends on it
(`detailLine` takes the vendor for that), a vendor holding credentials but no
default is named above the table, and an empty shipped catalog reports the
deployment fault inside the picker instead of reading as an empty organization.

Harnesses moves from a fourth tab back to a section under the table — the tab
strip belonged to the grid's toolbar, and the table brings its own.

BREAKING CHANGE: the per-vendor detail dialog is gone. `?provider=` and
`?connector=` links now narrow the table to that vendor instead of opening it.
Both pages opened straight onto a filter bar, so the reader landed on a table
with nothing naming it or saying what it holds — the providers page had a
header only because its two sections needed telling apart. Every other
single-table settings page (Teams, API keys) leads with the nav name and a
one-line description; these two now match.
@yannickmonney
yannickmonney merged commit 1d70b5a into main Aug 1, 2026
49 of 50 checks passed
@yannickmonney
yannickmonney deleted the feat/credential-catalog-tables branch August 1, 2026 18:11
Israeltheminer added a commit that referenced this pull request Aug 2, 2026
The providers/connectors pages are credential tables with an Add-credential
catalog picker (#2889), not a grid of vendor cards. Point the e2e at the
empty state and picker so shard 16 stops timing out on missing h3 titles.
yannickmonney added a commit that referenced this pull request Aug 6, 2026
chat, settings, automations, connectors, and video-links were authored
against surfaces the AI-backend rewrite (#2857/#2877) and the credential
catalog rebuild (#2876/#2889) deleted or reshaped. Rewritten from the
current routes, i18n catalog, and components, with fresh IDs per the
TEMPLATE rewrite policy. SETUP.md drops the mode-A seeded-automation
claim (fixture packs are in the retired format and seed nothing).
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