Skip to content

fix(platform): keep active credential vendor filters reversible - #4281

Merged
yannickmonney merged 1 commit into
mainfrom
fix/credential-vendor-filter
Oct 4, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/credential-vendor-filter

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What changed

  • Retain active vendor selections in CredentialTable's facet options, including vendors whose final credential was deleted and slugs absent from the catalog.
  • Keep the vendor facet available whenever it is active, even with only one represented vendor. DataTable can now show its shared no-results copy and leave search/filter controls usable instead of showing the first-run invitation.
  • Preserve the existing hidden facet for an unfiltered single-vendor table and fix(platform): keep custom provider edits whole and version-checked #3778's stable row actions (that PR is already merged on the base).
  • Expand SET-B3 and CONN-F9 for missing/matching single-vendor links, deletion, EN/DE/FR and keyboard recovery. No new strings, styles, backend behavior or dependencies.

Verification

  • 76/76 jsdom tests pass across providers-settings, connectors-settings and use-url-state, repeated after restoring the fixed source.
  • Regression negative control: restoring the old facet behavior makes the unmatched-provider test fail on the expected no-results heading.
  • Page tests cover matching/missing vendor seeds, catalog-orphan slugs, deletion/refetch, enabled search, visible selected options, clear-all/deselect recovery and URL-clear callbacks. Real TanStack memory-router tests verify both URL parameters are removed while unrelated parameters survive.
  • EN/DE/FR keyboard-only filter recovery and axe checks pass. Existing localized controls/copy are reused.
  • Scoped TypeScript syntactic/semantic diagnostics: zero across seven changed/importing files (2 GiB heap; ambient test setup included, no whole-workspace tsc).
  • Scoped oxlint, type-aware oxlint (one thread), oxfmt check and git diff --check pass.
  • Manual check-guide passes for both changed suites; manual-tree lint passes.

Local tests used installed Node, one worker and a 15-second per-test timeout on the shared host. An external config only allows the reused installed dependency directory through Vite's filesystem boundary; no repository config was altered. No dependency install, full suite, live stack, browser/visual-analyzer run, external provider call, or CI rerun/cancellation. Manual/browser checks remain for independent acceptance.

Closes #3792

@yannickmonney

Copy link
Copy Markdown
Contributor Author

Independent review — accept at exact head

Reviewed exact head c761529e5c0dc9dbed7e4465915f753a16a6fa6b (reconfirmed immediately before posting).

Evidence

  • Focused UI jsdom command (installed Node, one worker) passed: 3 files, 76 tests (providers-settings.test.tsx, connectors-settings.test.tsx, use-url-state.test.tsx).
  • Coverage includes unmatched vendor state, last-credential deletion/refetch, ?provider= and ?connector= deep-link clearing, enabled search, visible recovery controls, EN/DE/FR keyboard and axe assertions, and URL preservation of unrelated parameters.
  • Negative control: temporarily restoring the pre-PR facet behavior makes the provider regression suite fail (8 failed, 32 passed), including the expected filtering assertion; the PR checkout was restored unchanged.
  • PR fix(platform): keep custom provider edits whole and version-checked #3778 is already merged (c4a415a), and its row-action behavior does not conflict with this change.
  • Diff review found no new strings/styles/backend behavior or dependency changes; manual SET-B3/CONN-F9 updates are present.

Unrun proof / blockers

  • I did not run browser/manual visual checks or hosted CI, per the light-only instruction. Therefore real-browser focus/layout and the manual SET-B3/CONN-F9 boxes remain unrun proof, not a code blocker.
  • No merge, push, CI rerun, or cancellation performed.

Verdict: accept, conditional on the existing independent browser/manual and CI lanes completing normally.

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.

bug(platform): a vendor filter the credentials table no longer shows stays applied behind the first-run empty state

1 participant