GeezerVison is showing github.com — Separate client and environment settings by colonelpanic8 · Pull Request #4567 · pingdotgg/t3code
Conversation
colonelpanic8
commented
Jul 26, 2026
•
edited by cursor
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
What Changed
- Group the settings navigation by Client and Environment ownership.
- Split the mixed General page into client settings at
/settings/general and environment settings at /settings/environment.
- Scope Restore defaults to the settings owned by the current page.
Why
Settings that follow the graphical client and settings that configure the connected execution environment currently appear together, obscuring where changes apply. Making ownership explicit supports first-class remote environments and complements #4559 and #4564.
UI Changes
Before: one flat settings navigation and a General page mixing client preferences with environment configuration.
After: labeled Client and Environment navigation groups with separate General pages. The affected flows were verified in an authenticated web client; the preview screenshot/recording endpoint failed during capture, so no reliable artifact is attached.
Checklist
- This PR is small and focused
- I explained what changed and why
- I included before/after screenshots for any UI changes (capture tooling failed; DOM-level integrated verification passed)
- A video is not applicable; this change adds no animation or interaction behavior
Verification
vp test run src/components/settings/SettingsSidebarNav.test.ts --project unit
- Targeted
vp lint on the six affected files
vp build in apps/web
- Authenticated integrated web verification of both settings pages and their visible controls
- Web typecheck was attempted and remains blocked by existing errors in unrelated files on
origin/main
Note Low Risk
Mostly UI routing and conditional rendering; no auth or persistence model changes beyond which keys restore-defaults touches per page.
Overview
Settings navigation is now grouped under Client and Environment, and the old mixed General page is split into two routes.
Client (/settings/general) keeps UI and app preferences (theme, glass opacity, sidebar, confirmations, etc.) plus About. Environment (/settings/environment) holds execution-related options (streaming, provider checks, new-thread defaults, text generation model) and moves Diagnostics off the client General page.
useSettingsRestore takes an ownership argument so Restore defaults only lists and resets settings for the active panel, on both General pages. A unit test locks in the nav group → route mapping.
Reviewed by Cursor Bugbot for commit 433b42a. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Separate client and environment settings into distinct panels in the settings sidebar
- Adds a new
/settings/environment route that renders an EnvironmentSettingsPanel, splitting settings that belong to the environment (streaming, provider checks, git, model selection) away from client settings (theme, UI, confirmations).
- Replaces the flat
SETTINGS_NAV_ITEMS with SETTINGS_NAV_GROUPS in SettingsSidebarNav.tsx, grouping nav items under labeled "Client" and "Environment" sections.
- Updates
useSettingsRestore to accept an ownership argument so the "Restore Defaults" button resets only the settings belonging to the current panel's scope.
- Behavioral Change: the "Restore Defaults" button now only appears on the Client and Environment settings pages, and its effect is scoped to that panel's owned settings.
Macroscope summarized 433b42a.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Jul 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: f97465ed-251d-4c11-996a-303fb1fd4ad4
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved
This PR reorganizes existing settings into 'client' and 'environment' categories with no new functionality or runtime behavior changes - purely UI restructuring with conditional rendering and navigation grouping.
You can customize Macroscope's approvability policy. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
colonelpanic8
added a commit
to colonelpanic8/t3code
that referenced
this pull request
Jul 26, 2026
… in the UI)
# Conflicts:
# apps/web/src/components/settings/SettingsPanels.tsx
colonelpanic8
added a commit
to colonelpanic8/t3code
that referenced
this pull request
Jul 26, 2026
# Conflicts:
# apps/web/src/components/settings/SettingsPanels.tsx
Note 🤖 GPT-5.6 Sol responding on behalf of Theo
We're closing this PR as we clean up the T3 Code backlog. Thank you for taking the time to put this together.
This branch changes the same environment-targeted Settings flow as #4559. We are keeping that PR as the active implementation instead of reviewing a second version.
If you believe we closed this in error, please reopen the PR and leave a comment explaining what we missed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:L
100-499 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|