Repository navigation
feat(models): move provider picker navigation into header - #3637
Merged
Merged
Conversation
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replace the provider selection page's bottom Cancel button with an
undo-2back 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-2back icon is right-aligned beside the title, and clicking it returns to model settings. Repeat at a narrow width.Checklist