Skip to content

Remove idle agent toggle from global settings - #12941

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/remove-agent-dashboard-refresh
Aug 6, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/remove-agent-dashboard-refresh

Conversation

@brennanb2025

Copy link
Copy Markdown
Contributor

Summary

Remove the Show idle agents toggle from global Experimental Settings. The setting remains available in the in-window Agent Dashboard settings popover, keeping the control scoped to the surface it affects.

Screenshots

Global Experimental Settings with the duplicate toggle removed:

Experimental Settings

In-window Agent Dashboard popover retaining the toggle:

Agent Dashboard settings

Testing

  • pnpm lint — targeted oxlint passed for the changed settings and dashboard files
  • pnpm typecheck — pnpm run typecheck:web passed
  • pnpm test — targeted Vitest suite passed: 2 files, 14 tests
  • pnpm build — not run; Electron dev build and launch succeeded for UI validation
  • Added or updated high-quality tests that would catch regressions, or explained why tests were not needed

Electron CDP validation confirmed the toggle is absent from global Experimental Settings and present in the in-window dashboard popover.

AI Review Report

Reviewed the ownership boundary between global settings and AgentDashboardSettingsMenu, confirmed the persisted setting and dashboard filtering behavior remain unchanged, and verified the existing popover test still covers setting updates. No issues were flagged after targeted lint, formatting, tests, typecheck, and Electron UI inspection.

Cross-platform compatibility was explicitly checked for macOS, Linux, and Windows. This change removes renderer markup only and does not touch shortcuts, labels, paths, shell behavior, native APIs, or Electron platform branches.

Security Audit

No security-sensitive behavior changed. The diff does not add or alter input handling, command execution, path handling, authentication, secrets, dependencies, IPC, RPC, or remote wire data.

Notes

No platform-specific behavior or follow-up work identified.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Removed the experimental Agent Dashboard “Show idle agents” setting and toggle. The dashboard mode selector remains unchanged. Updated the related test to verify that the “Show idle agents” control is absent when the dashboard is enabled.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: removing the idle-agent toggle from global settings.
Description check ✅ Passed The description covers the required sections, user-visible behavior, testing, AI review, security audit, and platform notes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 33e7f9f9-9a29-48f7-bb15-7472fe038b5d

📥 Commits

Reviewing files that changed from the base of the PR and between f6d0bde and 52ae5e4.

📒 Files selected for processing (2)
  • src/renderer/src/components/settings/AgentDashboardExperimentalSetting.tsx
  • src/renderer/src/components/settings/ExperimentalPane.test.tsx
💤 Files with no reviewable changes (1)
  • src/renderer/src/components/settings/AgentDashboardExperimentalSetting.tsx

it('keeps idle-agent visibility out of global settings', () => {
const markup = renderToStaticMarkup(
<ExperimentalPane
settings={{ ...getDefaultSettings('/tmp'), experimentalAgentDashboardPopout: true }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Use a platform-neutral test path.

'/tmp' assumes a POSIX filesystem. Use tmpdir() with join() or the repository’s existing temporary-home helper.

As per path instructions, use path.join or Electron/Node path utilities for file paths and do not assume / or \.

Proposed fix
+import { tmpdir } from 'node:os'
+import { join } from 'node:path'
+
-        settings={{ ...getDefaultSettings('/tmp'), experimentalAgentDashboardPopout: true }}
+        settings={{
+          ...getDefaultSettings(join(tmpdir(), 'orca-test-home')),
+          experimentalAgentDashboardPopout: true
+        }}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
settings={{ ...getDefaultSettings('/tmp'), experimentalAgentDashboardPopout: true }}
import { tmpdir } from 'node:os'
import { join } from 'node:path'
settings={{
...getDefaultSettings(join(tmpdir(), 'orca-test-home')),
experimentalAgentDashboardPopout: true
}}

Source: Coding guidelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant