This commit is contained in:
Timothy Jaeryang Baek committed 2026-06-29 03:42:49 -05:00
1 parent a70a6589af
commit 958237473f
3 files changed
+23 -1

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@
$: if ($selectedTerminalId && showFilesTab) { $: if ($selectedTerminalId && showFilesTab) {
activeTab = 'files'; activeTab = 'files';
if (largeScreen) { if (largeScreen) {
showControls.set(true); showControls.set($settings?.showFilesOnTerminalSelect ?? true);
} }
} }
@@ -32,6 +32,7 @@
let widescreenMode = false; let widescreenMode = false;
let splitLargeChunks = false; let splitLargeChunks = false;
let scrollOnBranchChange = true; let scrollOnBranchChange = true;
let showFilesOnTerminalSelect = true;
let userLocation = false; let userLocation = false;
// Interface // Interface
@@ -244,6 +245,7 @@
widescreenMode = $settings?.widescreenMode ?? false; widescreenMode = $settings?.widescreenMode ?? false;
splitLargeChunks = $settings?.splitLargeChunks ?? false; splitLargeChunks = $settings?.splitLargeChunks ?? false;
scrollOnBranchChange = $settings?.scrollOnBranchChange ?? true; scrollOnBranchChange = $settings?.scrollOnBranchChange ?? true;
showFilesOnTerminalSelect = $settings?.showFilesOnTerminalSelect ?? true;
temporaryChatByDefault = $settings?.temporaryChatByDefault ?? false; temporaryChatByDefault = $settings?.temporaryChatByDefault ?? false;
chatDirection = $settings?.chatDirection ?? 'auto'; chatDirection = $settings?.chatDirection ?? 'auto';
@@ -1065,6 +1067,25 @@
</div> </div>
</div> </div>
<div>
<div class=" py-0.5 flex w-full justify-between">
<div id="show-files-on-terminal-select-label" class=" self-center text-xs">
{$i18n.t('Show Files on Terminal Select')}
</div>
<div class="flex items-center gap-2 p-1">
<Switch
ariaLabelledbyId="show-files-on-terminal-select-label"
tooltip={true}
bind:state={showFilesOnTerminalSelect}
on:change={() => {
saveSettings({ showFilesOnTerminalSelect });
}}
/>
</div>
</div>
</div>
<div> <div>
<div class=" py-0.5 flex w-full justify-between"> <div class=" py-0.5 flex w-full justify-between">
<div id="stylized-pdf-export-label" class=" self-center text-xs"> <div id="stylized-pdf-export-label" class=" self-center text-xs">
+1
View File
@@ -213,6 +213,7 @@ type Settings = {
iframeSandboxAllowForms?: boolean; iframeSandboxAllowForms?: boolean;
iframeSandboxAllowSameOrigin?: boolean; iframeSandboxAllowSameOrigin?: boolean;
scrollOnBranchChange?: boolean; scrollOnBranchChange?: boolean;
showFilesOnTerminalSelect?: boolean;
directConnections?: null; directConnections?: null;
chatBubble?: boolean; chatBubble?: boolean;
copyFormatted?: boolean; copyFormatted?: boolean;