Skip to content

feat(models): move provider picker navigation into header - #3637

Merged
GCWing merged 1 commit into
mainfrom
gcwing/model-provider-header-back
Oct 31, 2026
Merged

GCWing merged 1 commit into
mainfrom
gcwing/model-provider-header-back

Conversation

@GCWing

@GCWing GCWing commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

Replace the provider selection page's bottom Cancel button with an undo-2 back icon at the right edge of the title's content frame. Keep the title and back action on the same row at narrow widths, and update the existing navigation test to exercise the header action.

Type and Areas

Type: UI/UX

Areas: Web UI, model settings.

Motivation / Impact

When adding a model, users can return from provider selection through a compact header action without scrolling to the bottom of the provider list.

Verification

  • pnpm run check:web — passed.
  • pnpm --dir src/web-ui run icons:check — passed.
  • pnpm --dir src/web-ui run test:run src/app/scenes/settings/pages/ai/ModelSettingsPage.loading.test.tsx src/app/scenes/settings/pages/ai/ModelSettingsPage.presentation.test.ts src/infrastructure/config/components/common/SettingsControlSizing.test.ts src/infrastructure/design-system/IconUsageIntegration.test.tsx src/app/startup/startupPreload.test.ts — passed.
  • git diff --check — passed.

These are local code/DOM checks. Native rendering and live remote scenarios (remote workspace, Remote Control, Peer Device Mode, Detached Dispatch) were not exercised.

Reviewer Notes

AI-assisted. Testing level: lightly tested with focused automated checks. Browser/computer-use verification and screenshots were omitted at the user's request.

Manual review path: Settings → Models → Add model. Verify the bottom Cancel button is gone, the undo-2 back icon is right-aligned beside the title, and clicking it returns to model settings. Repeat at a narrow width.

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 (the existing localized Back label is reused).

@GCWing
GCWing merged commit 620e762 into main Oct 31, 2026
9 checks passed
@GCWing
GCWing deleted the gcwing/model-provider-header-back 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