Skip to content

refactor(settings): present model connections as first-class rows #864

Closed

Description

@Astro-Han

Problem

Settings → Models groups saved model connections under provider accordions. The actionable unit is a connection: it owns credentials, default selection, test status, and detail actions. Provider grouping hides that state and adds an unnecessary expansion step.

Direction

Render one top-level row per saved connection. Show the provider logo and name as metadata, not hierarchy. Keep the connection name, default state, enabled state, and latest test status visible, and route row selection to the existing detail child page.

Provider grouping should remain only where it determines catalog or model availability, not in connection management.

Done when

  • Each saved model connection renders as one top-level row.
  • Connection name, provider, default state, enabled state, and test status are visible without expansion.
  • Multiple connections for the same provider remain independently actionable.
  • Existing detail, default-selection, test, and delete flows keep working.
  • Deterministic stories and tests cover same-provider connections, the default connection, and problem states.

Non-goals

  • Provider registry or catalog changes.
  • Persisted connection-schema changes.
  • Model-picker grouping.
  • OAuth account-connection layout.
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions