refactor(settings): move Performance toggles to the General tab (#223)
The Performance panel (Disable torch.compile / Show live system metrics in header) was nested under the Credentials tab — an odd home. Render it in the General tab instead, where users look for app-level toggles. Pure relocation: PerformancePanel is unchanged; removed its render from CredentialsTab and added it after GeneralTab in the general view. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
5320b57de5
commit
6a86d2151f
@@ -1261,7 +1261,12 @@ export default function Settings() {
|
||||
className="settings-tabs-ui"
|
||||
/>
|
||||
|
||||
{activeTab === 'general' && <GeneralTab />}
|
||||
{activeTab === 'general' && (
|
||||
<>
|
||||
<GeneralTab />
|
||||
<PerformancePanel />
|
||||
</>
|
||||
)}
|
||||
|
||||
{activeTab === 'models' && (
|
||||
<>
|
||||
@@ -1690,11 +1695,6 @@ function CredentialsTab({ info }) {
|
||||
encrypted-at-rest App-source storage, and live whoami status. */}
|
||||
<ApiKeysPanel />
|
||||
|
||||
{/* Wave 2 INST-12 panel — Windows torch.compile OOM workaround
|
||||
(#65). Toggle is rendered disabled on macOS/Linux with an
|
||||
explainer; backend ignores the flag on non-Windows. */}
|
||||
<PerformancePanel />
|
||||
|
||||
<p className="settings-prose">
|
||||
<Trans i18nKey="credentials.desc" components={{ 1: <strong /> }} />
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user