Skip to content

Commit f4ab67a

Browse files
committed
Reorders settings for slash commands
1 parent a1f8b7d commit f4ab67a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

webview-ui/src/components/settings/SettingsView.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ export interface SettingsViewRef {
8181
const sectionNames = [
8282
"providers",
8383
"autoApprove",
84+
"slashCommands",
8485
"browser",
8586
"checkpoints",
8687
"notifications",
8788
"contextManagement",
8889
"terminal",
89-
"slashCommands",
9090
"prompts",
9191
"experimental",
9292
"language",
@@ -451,12 +451,12 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
451451
() => [
452452
{ id: "providers", icon: Webhook },
453453
{ id: "autoApprove", icon: CheckCheck },
454+
{ id: "slashCommands", icon: SquareSlash },
454455
{ id: "browser", icon: SquareMousePointer },
455456
{ id: "checkpoints", icon: GitBranch },
456457
{ id: "notifications", icon: Bell },
457458
{ id: "contextManagement", icon: Database },
458459
{ id: "terminal", icon: SquareTerminal },
459-
{ id: "slashCommands", icon: SquareSlash },
460460
{ id: "prompts", icon: MessageSquare },
461461
{ id: "experimental", icon: FlaskConical },
462462
{ id: "language", icon: Globe },
@@ -672,6 +672,9 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
672672
/>
673673
)}
674674

675+
{/* Slash Commands Section */}
676+
{activeTab === "slashCommands" && <SlashCommandsSettings />}
677+
675678
{/* Browser Section */}
676679
{activeTab === "browser" && (
677680
<BrowserSettings
@@ -742,9 +745,6 @@ const SettingsView = forwardRef<SettingsViewRef, SettingsViewProps>(({ onDone, t
742745
/>
743746
)}
744747

745-
{/* Slash Commands Section */}
746-
{activeTab === "slashCommands" && <SlashCommandsSettings />}
747-
748748
{/* Prompts Section */}
749749
{activeTab === "prompts" && (
750750
<PromptsSettings

0 commit comments

Comments
 (0)