File tree Expand file tree Collapse file tree
packages/web/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { CronSidebar } from "./CronSidebar";
1010import { CronDetail } from "./CronDetail" ;
1111import { ModelSelect } from "./ModelSelect" ;
1212import { ConnectionSettings } from "./ConnectionSettings" ;
13+ import { E2ESettings } from "./E2ESettings" ;
1314import { dlog } from "../debug-log" ;
1415
1516type MobileScreen =
@@ -371,7 +372,7 @@ function MobileSettingsModal({
371372 onClose : ( ) => void ;
372373 handleDefaultModelChange : ( modelId : string ) => Promise < void > ;
373374} ) {
374- const [ tab , setTab ] = useState < "general" | "connection" > ( "general" ) ;
375+ const [ tab , setTab ] = useState < "general" | "connection" | "security" > ( "general" ) ;
375376
376377 return (
377378 < div
@@ -416,6 +417,17 @@ function MobileSettingsModal({
416417 >
417418 Connection
418419 </ button >
420+ < button
421+ className = "pb-2 text-caption font-bold transition-colors"
422+ style = { {
423+ color : tab === "security" ? "var(--text-primary)" : "var(--text-muted)" ,
424+ borderBottom : tab === "security" ? "2px solid var(--bg-active)" : "2px solid transparent" ,
425+ marginBottom : "-1px" ,
426+ } }
427+ onClick = { ( ) => setTab ( "security" ) }
428+ >
429+ Security
430+ </ button >
419431 </ div >
420432
421433 { /* Tab content — scrollable */ }
@@ -451,6 +463,10 @@ function MobileSettingsModal({
451463 { tab === "connection" && (
452464 < ConnectionSettings />
453465 ) }
466+
467+ { tab === "security" && (
468+ < E2ESettings />
469+ ) }
454470 </ div >
455471
456472 < button
You can’t perform that action at this time.
0 commit comments