Skip to content

fix(models): restore centered panel dialog layout - #3676

Merged
GCWing merged 1 commit into
mainfrom
gcwing/restore-model-dialog-panel
Nov 2, 2026
Merged

GCWing merged 1 commit into
mainfrom
gcwing/restore-model-dialog-panel

Conversation

@GCWing

@GCWing GCWing commented Nov 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

Model connection and detail editors restore the shared Panel Dialog layout: centered provider branding, top and bottom spacing, and floating centered actions. Standard field styling and the existing defaults, draft handling, and return navigation remain intact.

The settings guide records this presentation contract, and existing source/DOM checks now require the panel preset for model management dialogs.

Type and Areas

Type: Bug fix / UI/UX.

Areas: Web UI model settings and settings development guidance.

Motivation / Impact

The content-sized editor layout left-aligned provider branding and reduced the surrounding spacing. Restoring the shared panel preset gives API-provider setup, subscription-provider editing, and model details consistent centered presentation, while retaining the shared form-control contracts.

Verification

  • pnpm --dir src/web-ui run test:run src/infrastructure/config/components/modelEditorRequestSettings.test.ts src/infrastructure/config/components/subscriptionAccountState.test.ts src/infrastructure/config/components/ModelSettingsDialog.presentation.test.ts src/app/scenes/settings/pages/ai/ModelSettingsPage.presentation.test.ts src/app/scenes/settings/pages/ai/ModelSettingsPage.loading.test.tsx — 72 tests passed across 5 files.
  • pnpm run check:web — passed, including type checking and Appearance/theme checks.
  • pnpm run motion:audit — completed; the existing SSH port-forward animation inventory entry is unchanged.
  • git diff --check — passed.

Reviewer Notes

Latest upstream main and relevant open PRs were checked; they do not cover this layout restoration. This change uses the existing shared dialog preset rather than page-specific spacing overrides.

Verification covers local source/DOM fixtures, including simulated device switching. Browser/computer-use visual verification was not performed. Live SSH workspaces, relay/mobile remote control, Peer Device Mode, and Detached Dispatch were not exercised. No persisted shape, host API, or remote protocol changes are involved.

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

@GCWing
GCWing merged commit 32715e4 into main Nov 2, 2026
9 checks passed
@GCWing
GCWing deleted the gcwing/restore-model-dialog-panel branch November 6, 2026 06:35
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