Skip to content

feat(activity): filters, matching header, row right-click menu, and stay in the activity view - #25376

Merged
Jinwoo-H merged 10 commits into
mainfrom
activity-view-hide-client-workspaces
Oct 5, 2026
Merged

Jinwoo-H merged 10 commits into
mainfrom
activity-view-hide-client-workspaces

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 17 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​659 $\color{#cf222e}{\Huge{\mathbf{−}}}$​124 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​535
Prod 37 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​578 $\color{#cf222e}{\Huge{\mathbf{−}}}$​232 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​346

ELI5

The left sidebar has an "activity view" (the bell button) that lists individual agents instead of workspaces. It was missing filters the workspace list has, its header looked different, it had no right-click menu, and lots of ordinary actions silently threw you back to the workspace list. This fixes all four.

What Changed

1. Filters for the activity view. The activity options menu gets three new toggles: Hide other-client agents (only shown when shared remote servers exist, same as the workspace menu), Hide automation-created and Hide CLI-created. On a shared host you no longer have to scroll past everyone else's agents. They are saved separately from the workspace-list filters, like the existing host/project filter, and reuse the same checks the workspace list uses. An agent you have open stays visible even if a filter would hide it. Floating-terminal and repo-less agents are never hidden by these toggles.

2. One header for both views.

  • Before: the activity view used a funnel icon with a dot that only reflected the host/project filter, and hid "Add project", so the + button jumped left when you switched views.
  • After: both views use the same sliders icon and the same number badge. The activity badge counts every active filter, and "Add project" stays put. The badge is a shared component.

3. Staying in the activity view.

  • Before: almost every way of opening or switching a workspace (Cmd-clicking a file or HTML link in a terminal, creating a workspace, notifications, Cmd+J, the status bar, session history, …) switched the sidebar back to the workspace list. It also turned off workspace-list filters along the way.
  • Why: revealing a workspace in the sidebar always forced the workspace list to show, because the list isn't loaded while the activity view is open.
  • After: a reveal never changes the sidebar view. While the activity view is open it is skipped, and activation leaves the workspace-list filters alone. Only requests that are about the workspace list still switch to it: "Go to workspace" on an agent row, Cmd+1–9 (they pick rows from that list), "reveal current workspace" and rename, a Cmd+J project result, and the send-to-agent picker. "Go to workspace" and Cmd+1–9 switch only after the workspace has actually opened, so a workspace that fails to open leaves you where you were.
  • A guard test fails if any new code switches the sidebar view outside that list.

4. Right-click menu on agent rows, laid out like the workspace row menu (same wording style, icons and grouping): Open and Go to Workspace (when the agent has a real workspace); Copy Path (for real workspaces) and Copy Title, the same two copy items as the workspace menu; one read toggle, Mark Read or Mark Unread, with the same bell icons as the workspace menu (Mark Unread is disabled for the agent you have open); and Clear from List at the bottom (finished agents, using the existing clear). The row's hover preview stays closed while the menu is open. Right-click menus across Orca now use the same solid surface as dropdown menus (before, they were nearly transparent), so this menu matches the workspace menu, including its header label and width.

Why

  • Fixing the reveal itself, not ~70 callers: changing the one place every activation goes through fixes them all at once, and the guard test keeps new callers from bringing the problem back. The alternative, passing a "don't reveal" option at each call site, would be easy to forget next time.
  • Separate filters for the activity view: the existing host/project filter for this view is already saved separately on purpose. Sharing settings would make hiding something in one view silently hide it in the other.

Linked Issue

N/A (internal).

Visual Proof

Before After
Header (activity view)
Activity options menu
Right-click an agent row (nothing) (unread agent)
(read agent)
Reveal a workspace while in the activity view (switched to the workspace list) (stays)
"Go to Workspace" from the row menu (switches, as requested)

Screenshots are from a background-launched dev build with sample agents loaded.

Testing

  • I manually tested these changes locally (macOS; background-launched build checked with screenshots)
  • Automated tests added/updated: scope filter (new toggles, exemption, floating/repo-less), options menu and badge, row context menu, reveal skipped in the activity view, filters kept during activation, Go to workspace / Cmd+1–9 switching only after the workspace opens, send-to-agent picker, settings round-trip (desktop and web), and the sidebar-view guard test.
  • pnpm tc, oxlint, check:code-quality:changed, localization checks, and vitest over the touched areas (1,538 files / 14,103 tests) pass.

SSH/remote: the other-client filter uses the same paired-device check as the workspace list. The new settings are optional and stay on each client; they are never sent to the remote host, so mixed versions are unaffected.

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

New strings are in English. Other languages fall back to English until the next translation pass.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • 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)

Reveals are skipped while the activity view is showing, and activation no
longer lifts workspace-list filters there. Only explicit requests (Go to
workspace, reveal-current-workspace, Cmd+J project row, agent send target,
Cmd+1-9) switch to the workspace list via showSidebarWorkspaceList.
Activity view gains its own persisted Hide automation-created, Hide CLI-created
and Hide other-client agents toggles, applied through the existing activity
scope filter so the selected-row exemption and identity-preserving return keep
working. The options trigger now uses the workspace view's SlidersHorizontal
icon and shared numeric badge, counting every active activity filter, and Add
project stays visible so no header button shifts between views.
Open, Mark as read/unread, Go to workspace (real workspaces only), Copy (agent
title, plus branch and path for real workspaces), and Clear from list for
finished threads, reusing the row's existing actions and clearActivityThread.
Go to workspace and Cmd+1-9 switched the sidebar before activating, so a
blocked folder activation still left the activity view. Activation now owns
the switch via showWorkspaceList, applied after its failure gates. The
separate showSidebarWorkspaceList action and the one-line sidebar-body-reveal
module go away: setSidebarBody is the single writer, and the census pins its
callers.
@Jinwoo-H
Jinwoo-H requested a review from brennanb2025 as a code owner October 5, 2026 02:27
@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

📝 Walkthrough

Walkthrough

The activity view adds persisted filters for automation-created, CLI-created, and other-device workspaces. Activity options display active-filter counts, and activity rows gain context-menu actions. Workspace activation can request the workspace list and lift filters hiding a target. Sidebar reveal requests preserve the Agents view, while specified target-selection actions switch to the workspace list.

Priority: ➖ Normal

Merge Risk: 🔵 Low · up to 5e64e

Copy Branch is missing from the new menu, and a failed copy gives no feedback. These are bounded usability issues; the change remains mergeable with owner follow-up.

Security Architecture Review

Security architecture risk: 🔵 Low · up to 5e64e

The inspected changes preserve client-local preference ownership and reuse existing activity and workspace actions. No material security regression was identified, but broader security and exceptional failure-recovery coverage remains incomplete.

Retained concerns
No architecture-level concerns identified.

Security review details

Security Blast Radius

  • inferred — The inspected changes affect client activity visibility, acknowledgement and dismissal state, workspace selection, and user-requested clipboard writes. These paths do not establish a new cross-client privilege or tenant-isolation mechanism.

Trust Boundaries and Controls

  • observed — The new preferences participate in the existing pairing-local field census and omission helper, with local-value pinning on paired hydration. Activity-origin filtering also deliberately preserves provenance-less and exempt activity, so it is a presentation filter rather than an access-control boundary.

Resilience and Maintainability Implications

  • observed — The new clear action is gated by existing clearability checks and revalidated in the clear helper. Read and unread actions retain centralized pane-key bindings, preserving existing mutation ownership rather than adding row-local state writers.
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 35.90% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 39 functions across 46 files. (1 skipped:… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 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.
Title check ✅ Passed The title clearly names the main changes: activity filters, a matching header, a row context menu, and staying in the activity view. It is somewhat long, but it remains specific and relevant.
Description check ✅ Passed The description covers the user-facing changes, reasons, visual proof, testing, and compatibility considerations. The linked issue is marked N/A for an internal contribution, and the AI disclosure sec…
Full details: Docstring Coverage

Explanation

Docstring coverage is 35.90% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 39 functions across 46 files. (1 skipped: 1 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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: Advanced
  • Run ID: 8bc4005d-2710-4452-b1cf-bd49d3bced79
📥 Commits

Reviewing files that changed from the base of the PR and between 46c3c3b and fe0ed47.

📒 Files selected for processing (53)
  • src/main/runtime/rpc/methods/client-ui-pairing-local-fields.test.ts
  • src/renderer/src/components/activity/ActivityThreadOptionsMenu.test.tsx
  • src/renderer/src/components/activity/activity-scope-filter-controls.tsx
  • src/renderer/src/components/activity/activity-scope-filter.test.ts
  • src/renderer/src/components/activity/activity-scope-filter.ts
  • src/renderer/src/components/activity/activity-thread-actions.test.ts
  • src/renderer/src/components/activity/activity-thread-context-menu.test.tsx
  • src/renderer/src/components/activity/activity-thread-context-menu.tsx
  • src/renderer/src/components/activity/activity-thread-hover-card.test.tsx
  • src/renderer/src/components/activity/activity-thread-hover-card.tsx
  • src/renderer/src/components/activity/activity-thread-options-menu.tsx
  • src/renderer/src/components/activity/activity-thread-row.tsx
  • src/renderer/src/components/activity/activity-thread-virtual-row.tsx
  • src/renderer/src/components/activity/use-agent-pane-threads.ts
  • src/renderer/src/components/sidebar/SidebarHeader.test.tsx
  • src/renderer/src/components/sidebar/SidebarWorkspaceOptionsMenu.tsx
  • src/renderer/src/components/sidebar/options-filter-count-badge.tsx
  • src/renderer/src/components/sidebar/sidebar-header-actions.tsx
  • src/renderer/src/components/sidebar/workspace-options-menu-items.tsx
  • src/renderer/src/components/use-worktree-jump-palette-selection-actions.ts
  • src/renderer/src/hooks/ipc-events/workspace-shortcut-ipc-bridge.ts
  • src/renderer/src/hooks/useIpcEvents-cmd-j-digit-chord.test.ts
  • src/renderer/src/i18n/en-runtime-required.json
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/lib/worktree-activation-automation-filter.test.ts
  • src/renderer/src/lib/worktree-activation-sidebar-filters.ts
  • src/renderer/src/lib/worktree-activation-surface-selection.ts
  • src/renderer/src/lib/worktree-activation.ts
  • src/renderer/src/lib/worktree-jump-navigation.test.ts
  • src/renderer/src/lib/worktree-jump-navigation.ts
  • src/renderer/src/store/slices/ui-agent-send-target.test.ts
  • src/renderer/src/store/slices/ui-hydration-view-layout.test.ts
  • src/renderer/src/store/slices/ui-hydration-workspace-preferences.test.ts
  • src/renderer/src/store/slices/ui/sidebar-body-writers.test.ts
  • src/renderer/src/store/slices/ui/ui-slice-agent-actions.ts
  • src/renderer/src/store/slices/ui/ui-slice-agents-view-preference-actions.ts
  • src/renderer/src/store/slices/ui/ui-slice-contract-preferences.ts
  • src/renderer/src/store/slices/ui/ui-slice-hydration-actions.ts
  • src/renderer/src/store/slices/ui/ui-slice-preference-actions.ts
  • src/renderer/src/store/slices/ui/ui-slice-surface-actions.ts
  • src/renderer/src/web/preload-api/web-preference-normalization.ts
  • src/renderer/src/web/web-preload-api-ui-pairing-local-fields.test.ts
  • src/renderer/src/web/web-preload-api-ui.test.ts
  • src/shared/constants.ts
  • src/shared/pairing-local-ui-fields.test.ts
  • src/shared/pairing-local-ui-fields.ts
  • src/shared/persisted-ui-state-types.ts
  • src/shared/rpc-contract/client-ui-params.ts
💤 Files with no reviewable changes (6)
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/web/web-preload-api-ui.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

{getActivityThreadCopyTargets(thread, canJump).map((target) => (
<ContextMenuItem
key={target.key}
onSelect={() => void window.api.ui.writeClipboardText(target.value)}

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.

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🔎 Supported by static analysis

🏁 Script executed:

sed -n '16,56p' src/renderer/src/components/activity/activity-thread-context-menu.tsx
sed -n '106,129p' src/renderer/src/components/activity/activity-thread-context-menu.tsx
sed -n '152,183p' src/renderer/src/components/activity/activity-thread-hover-card.tsx
rg -n 'copyLinkFailure|writeClipboardText' src/renderer/src/i18n/locales/en.json src/renderer/src/components/activity src/renderer/src/components/sidebar

Repository: stablyai/orca

Length of output: 7223


🏁 Script executed:

rg -n -F -- 'writeClipboardText' src/renderer src
rg -n -i 'failed to copy|copy.*failure|clipboard.*fail' src/renderer/src/i18n/locales/en.json src/renderer/src
sed -n '5728,5750p' src/renderer/src/i18n/locales/en.json

Repository: stablyai/orca

Length of output: 41529


🏁 Script executed:

sed -n '1,145p' src/renderer/src/components/activity/activity-thread-context-menu.tsx
sed -n '85,112p' src/preload/api/ui-bridge-clipboard-and-window-controls.ts
sed -n '1,45p' src/preload/api/ui-window-api.ts
sed -n '185,216p' src/main/window/clipboard-ipc-handlers.ts
sed -n '1,115p' src/renderer/src/hooks/use-clipboard-text-copy-feedback.ts
sed -n '82,122p' src/renderer/src/components/activity/activity-thread-hover-card-summary.tsx
rg -n -F -- 'ActivityThreadContextMenu' src/renderer/src/i18n/locales/en.json

Repository: stablyai/orca

Length of output: 13958


🏁 Script executed:

nl -ba src/preload/api/ui-bridge-clipboard-and-window-controls.ts | sed -n '1,18p;96,105p'
nl -ba src/main/window/clipboard-ipc-handlers.ts | sed -n '190,214p'
nl -ba src/renderer/src/components/activity/activity-thread-hover-card.tsx | sed -n '1,18p;158,178p'
nl -ba src/renderer/src/i18n/locales/en.json | sed -n '16858,16890p'

Repository: stablyai/orca

Length of output: 6442


Handle clipboard failures with a generic message.

When a clipboard write rejects, this handler leaves the rejection unhandled and gives the user no feedback. These menu items copy titles, branches, and paths, so use a generic message rather than “Failed to copy link.”

🐛 Suggested fix
 import React from 'react'
 import { Bell, CheckCheck, Copy, ExternalLink, PanelRight, X } from 'lucide-react'
+import { toast } from 'sonner'
 ...
               <ContextMenuItem
                 key={target.key}
-                onSelect={() => void window.api.ui.writeClipboardText(target.value)}
+                onSelect={() => {
+                  void window.api.ui.writeClipboardText(target.value).catch(() => {
+                    toast.error(
+                      translate(
+                        'auto.components.activity.ActivityThreadContextMenu.copyFailure',
+                        'Failed to copy to clipboard'
+                      )
+                    )
+                  })
+                }}
               >
         "ActivityThreadContextMenu": {
           "copyTitle": "Agent title",
           "copyBranch": "Branch",
           "copyPath": "Path",
+          "copyFailure": "Failed to copy to clipboard",
           "open": "Open",

@pullfrog pullfrog 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.

ℹ️ Minor suggestions only.

Reviewed changes — the full 7-commit PR at fe0ed47.

  • Activity-view workspace-origin filters: adds Hide other-client agents (shown only when paired runtimes exist), Hide automation-created, and Hide CLI-created toggles, persisted as agentsHide* separately from the workspace-nav hide* flags and applied in threadMatchesActivityScope; floating/repo-less agents and the open row stay visible.
  • Matching header: both views use SlidersHorizontal plus the new shared OptionsFilterCountBadge, the activity badge counts every active filter (scope + origin + unread-only), and Add project is rendered in the activity view so no header button shifts.
  • Stay in the activity view: revealWorktreeInSidebar/revealSidebarRow now no-op while sidebarBody === 'agents'; explicit list requests opt back in via the new showWorkspaceList activation option, and a census test pins the allowed setSidebarBody writers.
  • Row right-click menu: ActivityThreadContextMenu (Open / Mark as read / Mark as unread / Go to workspace / Copy / Clear from list) with the hover preview suppressed while open.
  • Persistence/wire: fields added to the persisted UI types, zod UiUpdateFields, PAIRING_LOCAL_UI_FIELDS (stripped on ui.set, pinned local on ui.get), web normalization, and the pairing-local census tests.

I verified the changed suites (17 files / 285 tests) and oxlint on the core files, and traced the reveal callers: every incidental reveal that now no-ops is intended, and the explicit "reveal current workspace"/rename path still switches via useWorkspaceRevealBodyRedirect before the store guard runs. The new origin filter reads provenance fields that survive the activity event pipeline, so it operates on real worktrees.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

(state) => state.agentsVisibleHostIds !== null || state.agentsFilterRepoIds.length > 0
(state) =>
(state.agentsVisibleHostIds !== null ? 1 : 0) +
state.agentsFilterRepoIds.length +

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.

The badge counts raw agentsFilterRepoIds.length, so a persisted id whose repo no longer exists shows an active-filter badge while resolveActivityScopeRepoIds drops it and nothing is actually hidden. useWorkspaceOptionsFilterBadge avoids this by counting only ids that still resolve against repos.

Technical details
# Stale agents repo ids inflate the activity filter badge

## Affected sites
- `src/renderer/src/components/activity/activity-scope-filter-controls.tsx:119` — `useActivityScopeFilterCount` adds `state.agentsFilterRepoIds.length` verbatim.
- `src/renderer/src/components/activity/use-agent-pane-threads.ts:207` — the actual filter resolves ids via `resolveActivityScopeRepoIds(agentsFilterRepoIds, storeData.repoMap)`, so stale ids filter nothing.
- `src/renderer/src/components/sidebar/workspace-options-menu-items.tsx:42-50` — the workspace-menu equivalent counts only repos that still exist (`selectedCount`).

## Required outcome
- The activity filter count should reflect filters that actually narrow the list, matching the workspace header's behavior.

## Suggested approach (optional)
- Resolve the ids here the same way the filter does (subscribe to `repoMap`/`repos` in the selector) before counting, or document why the badge intentionally overcounts.

## Open questions for the human (optional)
- The existing comment says stale ids are counted "so they stay resettable"; is the count actually meant as a is-a-selection-persisted signal rather than an is-filtering signal?

@pullfrog pullfrog 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.

✅ No new issues found in the incremental delta.

Reviewed changes — the delta since the prior pullfrog review (fb9c625..0c6e51c, commit 0c6e51c), presentational/menu-structure only.

  • Reworked the agent row context menu to mirror the workspace row menu: replaced the two-item Mark as read / Mark as unread pair with a single read/unread toggle (BellOff/Bell, disabled={!thread.unread && disableMarkUnread}), and flattened the "Copy" submenu into direct Copy Title / Copy Branch / Copy Path items with Copy icons.
  • Standardized the menu chrome: icons at size-3.5, Title-Cased labels (Open, Go to Workspace, Clear from List), and updated English values for the existing ActivityThreadContextMenu.* keys; the now-unused copy key was dropped.

The single toggle preserves the old enable/disable semantics (unread → enabled Mark Read; read → Mark Unread disabled only when disableMarkUnread). The ActivityThreadContextMenu.* keys exist only in en.json, so non-English catalogs fall back to English — no stale-translation mismatch. Focused suites pass: activity-thread-context-menu.test.tsx + activity-thread-hover-card.test.tsx = 17/17.

Pullfrog  | Fix it ➔ | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@pullfrog pullfrog 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.

ℹ️ No functional issues — one description nit.

Reviewed changes — the delta since the prior pullfrog review (0c6e51c..5e64ed4, commit 5e64ed4).

  • Aligned the agent row's copy items with the workspace row menu: dropped the Copy Branch item, reordered to Copy Path then Copy Title, gated on hasWorkspace && thread.worktree.path, and removed the now-unused getWorktreeGitIdentityDisplay import and ActivityThreadContextMenu.copyBranch catalog key.
  • Updated the context-menu tests: Copy Branch is asserted absent, and the copy-target test asserts the [path, title] order.

The reordering matches the workspace menu's Path-then-name layout, and the gating keeps the title-only case for floating/synthetic rows. Focused suite passes (10/10).

ℹ️ Nitpicks

  • The PR description's "What Changed" §4 still says the menu offers "Copy Title, plus Copy Branch and Copy Path", but 5e64ed4 removed Copy Branch and puts Copy Path first. Update the description so it matches the shipped menu.

Pullfrog  | Fix it ➔ | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@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: Advanced
  • Run ID: f3941da2-b766-4427-b57c-dd7d41917e62
📥 Commits

Reviewing files that changed from the base of the PR and between 0c6e51c and 5e64ed4.

📒 Files selected for processing (3)
  • src/renderer/src/components/activity/activity-thread-context-menu.test.tsx
  • src/renderer/src/components/activity/activity-thread-context-menu.tsx
  • src/renderer/src/i18n/locales/en.json
💤 Files with no reviewable changes (1)
  • src/renderer/src/i18n/locales/en.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

Comment on lines +36 to +37
// Same order as the workspace menu: Copy Path, then the name.
return [path, title]

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

Add the documented Copy Branch action.

When thread.worktree.branch is available, this helper still returns only path and title targets. The activity-row menu therefore cannot show “Copy Branch,” although the PR description shows that action. Add a branch target and update the menu tests to check its value and visibility.

@Jinwoo-H
Jinwoo-H merged commit d9cc1d0 into main Oct 5, 2026
32 checks passed
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