Skip to content

Fix agent dashboard setting configure - #18245

Merged
AmethystLiang merged 2 commits into
mainfrom
fix-agent-dashboard-setting-configure
Sep 2, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
fix-agent-dashboard-setting-configure

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 10 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​57 $\color{#cf222e}{\Huge{\mathbf{−}}}$​485 $\color{#cf222e}{\Huge{\mathbf{−}}}$​428
Prod 25 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​174 $\color{#cf222e}{\Huge{\mathbf{−}}}$​560 $\color{#cf222e}{\Huge{\mathbf{−}}}$​386

ELI5

What Changed

Why

Linked Issue

Fixes #

Visual Proof

Testing

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below

AI Disclosure

Review

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Ensure no issues in: Security, Cross-platoform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

- Remove optional showAgentsSidebar setting
- Replace sidebar view-toggle with bell-button for activity access
- Agents activity now always accessible in sidebar
- Preserve migration flag for introduction to existing users
- Remove visibility inference utilities
- Hide workspace options menu and add project button when agents view is
  active, reducing UI clutter in that mode
- Add tooltip to the activity bell button for better discoverability
- Localize sidebar search field text
- Move search and filter toggles to local state in SidebarAgentsList,
  removing unused callbacks from thread list components
- Manage search input focus properly when opening
@pullfrog

pullfrog Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor
  • Checkout PR Fix agent dashboard setting configure #18245 and read diff
  • Read PR summary snapshot and triage the change
  • Investigate surrounding code, callers, tests
  • Dispatch specialists if unresolved questions remain
  • Draft and submit review
  • Update PR summary snapshot

Pullfrog  | View workflow run | via Pullfrog | Using DeepSeek Pro (free via Pullfrog for OSS) | 𝕏

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Team

Run ID: 0f95b87e-f1c2-415e-8e55-94cb2c86d35a

📥 Commits

Reviewing files that changed from the base of the PR and between fda9cae and 1474083.

📒 Files selected for processing (35)
  • src/main/persistence/applying-settings/terminal-settings-migrations.ts
  • src/main/persistence/loading-store/normalize-loaded-global-settings.test.ts
  • src/main/persistence/loading-store/normalize-loaded-global-settings.ts
  • src/main/persistence/loading-store/prepare-loaded-profile-settings.ts
  • src/renderer/src/components/activity/activity-scope-filter-controls.tsx
  • src/renderer/src/components/activity/activity-thread-list-pane.tsx
  • src/renderer/src/components/activity/activity-thread-list-toolbar.tsx
  • src/renderer/src/components/activity/activity-thread-options-menu.tsx
  • src/renderer/src/components/settings/ExperimentalPane.test.tsx
  • src/renderer/src/components/settings/ExperimentalPane.tsx
  • src/renderer/src/components/settings/appearance-sidebar-search.ts
  • src/renderer/src/components/settings/experimental-search.ts
  • src/renderer/src/components/sidebar/Sidebar.test.tsx
  • src/renderer/src/components/sidebar/SidebarAgentsList.tsx
  • src/renderer/src/components/sidebar/SidebarHeader.test.tsx
  • src/renderer/src/components/sidebar/SidebarHeader.tsx
  • src/renderer/src/components/sidebar/SidebarNav.test.tsx
  • src/renderer/src/components/sidebar/agents-sidebar-visibility.test.ts
  • src/renderer/src/components/sidebar/agents-sidebar-visibility.ts
  • src/renderer/src/components/sidebar/index.tsx
  • src/renderer/src/components/sidebar/sidebar-header-actions.tsx
  • src/renderer/src/components/sidebar/sidebar-view-toggle.test.tsx
  • src/renderer/src/components/sidebar/sidebar-view-toggle.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/store/slices/ui-hydration-view-layout.test.ts
  • src/renderer/src/store/slices/ui-page-navigation.test.ts
  • src/renderer/src/store/slices/ui/ui-slice-hydration-actions.ts
  • src/renderer/src/store/slices/ui/ui-slice-hydration-sanitizers.ts
  • src/renderer/src/store/slices/ui/ui-slice-settings-actions.ts
  • src/renderer/src/store/slices/ui/ui-slice-view-actions.ts
  • src/shared/agents-sidebar-visibility.ts
  • src/shared/default-global-settings.ts
  • src/shared/global-settings-types.ts
  • src/shared/telemetry-property-schemas.ts
  • tests/e2e/activity-agent-pane-isolation.spec.ts
💤 Files with no reviewable changes (16)
  • src/renderer/src/components/sidebar/SidebarNav.test.tsx
  • src/renderer/src/store/slices/ui/ui-slice-view-actions.ts
  • src/renderer/src/components/settings/ExperimentalPane.tsx
  • src/renderer/src/components/sidebar/sidebar-view-toggle.tsx
  • src/shared/default-global-settings.ts
  • src/renderer/src/components/settings/experimental-search.ts
  • src/renderer/src/store/slices/ui-page-navigation.test.ts
  • src/renderer/src/components/sidebar/sidebar-view-toggle.test.tsx
  • src/renderer/src/store/slices/ui-hydration-view-layout.test.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/components/sidebar/agents-sidebar-visibility.ts
  • src/renderer/src/components/settings/appearance-sidebar-search.ts
  • src/shared/telemetry-property-schemas.ts
  • src/shared/agents-sidebar-visibility.ts
  • src/renderer/src/components/sidebar/agents-sidebar-visibility.test.ts
  • tests/e2e/activity-agent-pane-isolation.spec.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The Agents sidebar visibility setting is retired and stripped during profile normalization. The experimental settings entry, default value, telemetry key, and visibility helpers are removed. Activity navigation and persisted activity views no longer depend on that setting. The sidebar replaces the segmented view switcher with an activity bell, adds inline search and unread controls, updates workspace actions, and simplifies the migration introduction popover. Tests and end-to-end setup now use the migrated activity state.

Merge Risk: 🔵 Low · up to 14740

This change removes the obsolete sidebar setting from saved preferences and updates the sidebar and activity controls accordingly. The change is mergeable with owner awareness that the authorization context for external settings updates should be confirmed.

🚥 Pre-merge checks | ✅ 2 | ❌ 3

❌ Failed checks (2 warnings, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The required headings are present, but the ELI5, change summary, rationale, linked issue, visual proof, testing details, review notes, and checklist confirmations are incomplete or empty. The UI chang… Complete all required sections. Add the linked issue, explain what changed and why, provide before-and-after screenshots or videos, document manual and automated testing with platforms, complete the review and notes sections, and confirm or…
Docstring Coverage ⚠️ Warning Docstring coverage is 11.76% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 17 functions across 19 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Title check ❓ Inconclusive The title relates to the agent dashboard setting changes, but “Fix agent dashboard setting configure” is grammatically unclear and does not clearly summarize the broader sidebar and activity-view chan… Use a clear title such as “Remove the Agents sidebar setting and simplify activity navigation.”
✅ Passed checks (2 passed)
Check name Status Explanation
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.
Full details: Title check

Explanation

The title relates to the agent dashboard setting changes, but “Fix agent dashboard setting configure” is grammatically unclear and does not clearly summarize the broader sidebar and activity-view changes.

Full details: Description check

Explanation

The required headings are present, but the ELI5, change summary, rationale, linked issue, visual proof, testing details, review notes, and checklist confirmations are incomplete or empty. The UI changes also lack the required before-and-after visual proof.

Resolution

Complete all required sections. Add the linked issue, explain what changed and why, provide before-and-after screenshots or videos, document manual and automated testing with platforms, complete the review and notes sections, and confirm or explain each checklist item.

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 2
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🛠️ Fix failing CI checks 💡
  • 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.

@AmethystLiang
AmethystLiang merged commit c2fce80 into main Sep 2, 2026
29 of 32 checks passed
nwparker added a commit that referenced this pull request Sep 2, 2026
…8250)

verify:localization-catalog and verify:localization-extraction both exited 1
on main. The failure was masked: the Lint step failed first on max-lines, so
every later static-analysis step was skipped.
nwparker added a commit that referenced this pull request Sep 2, 2026
The branch's en.json predates #18245, which added both the translate()
call and its key. Rebasing took the branch copy wholesale, silently
dropping the key and failing verify:localization-catalog.
nwparker added a commit that referenced this pull request Sep 2, 2026
…wledged credit (#17871)

* fix(remote-terminal): keep the stream stall deadline armed on unacknowledged credit

A paired-runtime terminal could stall silently with a live socket, a live PTY
and no transport error (#11265).

Two compounding defects on the read side:

- The stream watchdog re-armed its 30s delivery deadline from zero on every
  settled delivery, so sibling traffic postponed the verdict indefinitely, and
  it cleared the timer entirely once renderer parse credit hit zero. Re-arming
  required inbound output -- the exact thing an exhausted host ACK window
  stops -- so once an ACK went missing nothing could ever detect the stall.
  The deadline is now anchored to the oldest unsettled delivery and stays armed
  while delivered bytes remain unacknowledged to the host.

- flushOutputAcknowledgement zeroed pendingAckBytes before knowing the ACK
  frame was accepted, permanently shrinking the host's send window. Unsent
  bytes are re-charged and the flush timer re-armed.

Recovery still reports onTransportClose({recoverable:true}); no path claims the
PTY exited.

* fix(remote-terminal): stop rearming the ack flush for a stream the failed send dropped

A failing ACK send tears the stream down inside sendFrame, so the re-charge
path armed a 4ms timer on an unregistered stream whose watchdog was already
disposed; every later send returned false on !ready and rescheduled again.

Also adds the missing integration coverage for the real ack -> watchdog flow.

* fix(i18n): restore the activity-options key the rebase dropped

The branch's en.json predates #18245, which added both the translate()
call and its key. Rebasing took the branch copy wholesale, silently
dropping the key and failing verify:localization-catalog.

* fix(i18n): union en.json with main so the rebase cannot drop keys
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Make agents activity always-on; toggle via bell icon

- Remove optional showAgentsSidebar setting
- Replace sidebar view-toggle with bell-button for activity access
- Agents activity now always accessible in sidebar
- Preserve migration flag for introduction to existing users
- Remove visibility inference utilities

* Simplify sidebar when agents view active: hide workspace options, add to

- Hide workspace options menu and add project button when agents view is
  active, reducing UI clutter in that mode
- Add tooltip to the activity bell button for better discoverability
- Localize sidebar search field text
- Move search and filter toggles to local state in SidebarAgentsList,
  removing unused callbacks from thread list components
- Manage search input focus properly when opening
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…json (stablyai#18250)

verify:localization-catalog and verify:localization-extraction both exited 1
on main. The failure was masked: the Lint step failed first on max-lines, so
every later static-analysis step was skipped.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…wledged credit (stablyai#17871)

* fix(remote-terminal): keep the stream stall deadline armed on unacknowledged credit

A paired-runtime terminal could stall silently with a live socket, a live PTY
and no transport error (stablyai#11265).

Two compounding defects on the read side:

- The stream watchdog re-armed its 30s delivery deadline from zero on every
  settled delivery, so sibling traffic postponed the verdict indefinitely, and
  it cleared the timer entirely once renderer parse credit hit zero. Re-arming
  required inbound output -- the exact thing an exhausted host ACK window
  stops -- so once an ACK went missing nothing could ever detect the stall.
  The deadline is now anchored to the oldest unsettled delivery and stays armed
  while delivered bytes remain unacknowledged to the host.

- flushOutputAcknowledgement zeroed pendingAckBytes before knowing the ACK
  frame was accepted, permanently shrinking the host's send window. Unsent
  bytes are re-charged and the flush timer re-armed.

Recovery still reports onTransportClose({recoverable:true}); no path claims the
PTY exited.

* fix(remote-terminal): stop rearming the ack flush for a stream the failed send dropped

A failing ACK send tears the stream down inside sendFrame, so the re-charge
path armed a 4ms timer on an unregistered stream whose watchdog was already
disposed; every later send returned false on !ready and rescheduled again.

Also adds the missing integration coverage for the real ack -> watchdog flow.

* fix(i18n): restore the activity-options key the rebase dropped

The branch's en.json predates stablyai#18245, which added both the translate()
call and its key. Rebasing took the branch copy wholesale, silently
dropping the key and failing verify:localization-catalog.

* fix(i18n): union en.json with main so the rebase cannot drop keys
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