Skip to content

Commit b55d297

Browse files
chore(settings): reorder advanced sections — Tool Permissions, MCP, Agent Config, Debug
Tool Permissions and MCP Servers are the most likely advanced sections a user opens (permissions for routine review, MCP for adding new servers), so float them to the top. Agent Config (the densest section) sits under them, with Debug last.
1 parent 4d8945f commit b55d297

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/reference/settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The order of sections is:
1111
3. **Automation** — scheduled tasks, scheduler catch-up, and lifecycle hooks combined.
1212
4. **Vault Search Index** — semantic search over your vault using Google File Search.
1313

14-
Advanced sections — Agent Config, Tool Permissions, MCP Servers, Debug — are tagged with an **ADVANCED** pill and only appear after toggling **Show Advanced Settings** at the bottom of General. **Agent Config** bundles four related sub-areas (Custom Prompts, API Configuration, Context Management, Tool Loop Detection) under one collapsible since they all tune how the agent talks to the model.
14+
Advanced sections — Tool Permissions, MCP Servers, Agent Config, Debug — are tagged with an **ADVANCED** pill and only appear after toggling **Show Advanced Settings** at the bottom of General. **Agent Config** bundles four related sub-areas (Custom Prompts, API Configuration, Context Management, Tool Loop Detection) under one collapsible since they all tune how the agent talks to the model.
1515

1616
## Table of Contents
1717

@@ -189,7 +189,7 @@ See the [Custom Prompts Guide](/guide/custom-prompts) for detailed instructions.
189189
- **Setting**: `expandedSettingsSections`
190190
- **Type**: `string[]`
191191
- **Default**: `[]`
192-
- **Description**: Internal list of section ids that are currently expanded in the settings tab. Updated automatically when you toggle a section. Known ids: `ui`, `automation`, `rag`, `agent-config`, `tool-permissions`, `mcp-servers`, `debug`. (General is always open; it has no id and ignores this setting.)
192+
- **Description**: Internal list of section ids that are currently expanded in the settings tab. Updated automatically when you toggle a section. Known ids: `ui`, `automation`, `rag`, `tool-permissions`, `mcp-servers`, `agent-config`, `debug`. (General is always open; it has no id and ignores this setting.)
193193
- **Note**: Edit `data.json` directly to pre-expand sections (for example, on a new install) or restore a custom layout after migrating vaults.
194194

195195
## Context Management

src/ui/settings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,12 @@ export default class ObsidianGeminiSettingTab extends PluginSettingTab {
5353
if (token !== this.renderToken) return;
5454

5555
if (this.showDeveloperSettings) {
56-
await renderAgentConfigSettings(containerEl, this.plugin, context);
57-
if (token !== this.renderToken) return;
5856
await renderToolSettings(containerEl, this.plugin, this.app, context);
5957
if (token !== this.renderToken) return;
6058
await renderMCPSettings(containerEl, this.plugin, this.app, context);
6159
if (token !== this.renderToken) return;
60+
await renderAgentConfigSettings(containerEl, this.plugin, context);
61+
if (token !== this.renderToken) return;
6262
renderDebugSettings(containerEl, this.plugin);
6363
}
6464
}

0 commit comments

Comments
 (0)