Skip to content

Improvement: Provider row-click and menu 'Edit provider' open two different editors — consolidate into one settings UI #2368

Closed

Description

@yannickmonney

Problem

On Settings → AI providers there are two ways to open a provider's settings, and they open different UIs:

  • Clicking the table row opens the full right-side "Provider details" Sheet (sections: General, API Key, Default Models, Advanced — Provider Options, Models).
  • The 3-dots row menu → "Edit provider" opens a small modal dialog "Edit general details" that edits only provider name (locked), base URL, and API format.

Verified live (2026-07-02, local dev): both entry points on the same row produce the two distinct panels described above. Users reasonably expect "Edit provider" to open the same editor as the row click.

Current behavior

  • services/platform/app/features/settings/providers/components/providers-table.tsx — handleRowClick sets detailProvider → renders ProviderDetailDrawer (Sheet); ProviderRowActions onEdit sets editProvider → renders ProviderEditPanel via ProviderEditPanelLoader (FormDialog).
  • provider-detail-drawer.tsx (+ provider-detail-drawer/ sections) vs provider-edit-panel.tsx are two independent components with overlapping scope (the drawer's General section has its own Edit affordance).

Proposed change

Consolidate on the detail drawer as the single provider settings UI: the row menu's "Edit provider" should open the same drawer (optionally deep-linked into the relevant edit state). Fold ProviderEditPanel's remaining fields (base URL, API format) into the drawer's General section and delete the standalone dialog.

Acceptance criteria

  • Row click and "Edit provider" open the same settings surface.
  • All fields currently editable in either UI remain editable (display name, description i18n, base URL, API format).
  • ProviderEditPanel is removed or reduced to a deep-link into the drawer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions