Skip to content

fix(sidebar): preserve meaningful workspace status indicators - #12658

Merged
nwparker merged 1 commit into
mainfrom
nwparker/bug-visual-indicators-for-statuses-within-the-pr
Aug 5, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/bug-visual-indicators-for-statuses-within-the-pr

Conversation

@nwparker

@nwparker nwparker commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep active and completed workspace status indicators ahead of passive review or branch identity
  • use PR, MR, or branch identity only for inactive workspaces
  • respect the branch card-property toggle before showing branch identity

Closes #8813.

Readiness

Verdict: ready to merge. P0: none. P1: none. P2: none.

  • SSH, remote, and network: no transport or remote execution surface changed
  • Crash and growth: no casts, effects, retries, timers, listeners, or retained collections added
  • Security and supply chain: no dependencies, lockfiles, scripts, network sinks, or secrets changed
  • Performance: no new subscriptions, polling, provider scans, or render-time allocations; existing card memo-stability coverage passes
  • Functional: active and done precedence, inactive review and branch identity, branch-property gating, and GitLab MR rendering are covered
  • Backcompat and data loss: no persisted state, schema, RPC, route, protocol, or mobile-facing surface changed
  • Cross-platform: pure provider-neutral renderer logic; no paths, shells, shortcuts, native modules, or platform branches changed

Verification

  • full Vitest suite: 4,285 files and 46,126 tests passed; 13 files and 80 tests skipped
  • full TypeScript check passed
  • full repository lint and release-quality gates passed
  • Electron regression proof passed 3 consecutive recorded runs

Visual proof

The active workspace keeps its emerald Active indicator while an inactive workspace uses passive branch identity; activating the quiet workspace changes it to Active.

[email protected]

@nwparker
nwparker merged commit e5f49e0 into main Aug 5, 2026
41 checks passed
@nwparker
nwparker deleted the nwparker/bug-visual-indicators-for-statuses-within-the-pr branch August 5, 2026 06:58
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e528447d-fae7-4b2b-b6b0-3d37afc8087b

📥 Commits

Reviewing files that changed from the base of the PR and between 003114d and ba62dec.

📒 Files selected for processing (6)
  • src/renderer/src/components/sidebar/WorktreeCard.pr-display.test.tsx
  • src/renderer/src/components/sidebar/WorktreeCard.quick-actions.test.tsx
  • src/renderer/src/components/sidebar/WorktreeCard.tsx
  • src/renderer/src/components/sidebar/WorktreeCardStatusSlot.test.tsx
  • src/renderer/src/components/sidebar/WorktreeCardStatusSlot.tsx
  • tests/e2e/worktree-card-status-indicator.spec.ts

📝 Walkthrough

Walkthrough

The change updates worktree card status precedence. Active and completed activity indicators now take priority over passive review and branch identity indicators. Branch identity is also gated by the card’s branch property. Unit tests cover inactive status, tooltips, unread overlays, and configurable activity states. End-to-end coverage verifies active indicators and branch-glyph suppression across worktree switches.

✨ 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.

@nwparker

nwparker commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Post-merge CI note: the PR changed-E2E build job never reached the build because GitHub removed refs/pull/12658/merge immediately after the PR merged. I dispatched the same E2E workflow against exact merge commit e5f49e0. The build and SSH/relay isolation passed, and the new worktree-card-status-indicator regression passed on Linux in 19.2s. Its shard was red only for the unrelated pre-existing voice-microphone-selection timeout at line 119, so the remaining full-suite shards were cancelled to avoid wasting CI capacity.

Replacement run: https://github.com/stablyai/orca/actions/runs/30983398522
Target shard: https://github.com/stablyai/orca/actions/runs/30983398522/job/92232895000

brennanb2025 added a commit that referenced this pull request Aug 6, 2026
#12793 fixed PR status being hidden by workspace activity by relocating
it: prDisplay was dropped from WorktreeCardStatusSlot and re-rendered as
WorktreeCardReviewStatus in the title-row indicator group, at the right
edge of the card.

Reverting restores the review glyph to the left status lane. Because
#12658 still narrows the passive-identity set to {inactive}, this alone
brings PR status back only for inactive workspaces; reverting #12658
widens it to active and done.

No behavior change for branch identity, and #8813's guard stays intact.
brennanb2025 added a commit that referenced this pull request Aug 6, 2026
#12793 fixed PR status being hidden by workspace activity by relocating
it: prDisplay was dropped from WorktreeCardStatusSlot and re-rendered as
WorktreeCardReviewStatus in the title-row indicator group, at the right
edge of the card.

Reverting restores the review glyph to the left status lane. Because
#12658 still narrows the passive-identity set to {inactive}, this alone
brings PR status back only for inactive workspaces; reverting #12658
widens it to active and done.

No behavior change for branch identity, and #8813's guard stays intact.
brennanb2025 added a commit that referenced this pull request Aug 6, 2026
Stacked on the #12793 revert. Widens the passive-identity set from
{inactive} back to {active, done, inactive}, so the PR/check glyph
returns to the left status lane for workspaces that are actively being
worked, not just idle ones.

Tradeoff, deliberate: #12658 was not purely a regression. It also fixed
#8813, where an active workspace with branch identity and no PR showed
the grey branch glyph instead of the emerald Active dot. This revert
reintroduces that, and removes its e2e guard.

The left lane holds one glyph, so activity, branch identity, and review
status cannot all be shown. This picks review status.
brennanb2025 added a commit that referenced this pull request Aug 6, 2026
Stacked on the #12793 revert. Widens the passive-identity set from
{inactive} back to {active, done, inactive}, so the PR/check glyph
returns to the left status lane for workspaces that are actively being
worked, not just idle ones.

Tradeoff, deliberate: #12658 was not purely a regression. It also fixed
#8813, where an active workspace with branch identity and no PR showed
the grey branch glyph instead of the emerald Active dot. This revert
reintroduces that, and removes its e2e guard.

The left lane holds one glyph, so activity, branch identity, and review
status cannot all be shown. This picks review status.
gal064 pushed a commit to gal064/orca that referenced this pull request Aug 7, 2026
…oo (stablyai#12825)

Stacked on the stablyai#12793 revert. Widens the passive-identity set from
{inactive} back to {active, done, inactive}, so the PR/check glyph
returns to the left status lane for workspaces that are actively being
worked, not just idle ones.

Tradeoff, deliberate: stablyai#12658 was not purely a regression. It also fixed
stablyai#8813, where an active workspace with branch identity and no PR showed
the grey branch glyph instead of the emerald Active dot. This revert
reintroduces that, and removes its e2e guard.

The left lane holds one glyph, so activity, branch identity, and review
status cannot all be shown. This picks review status.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…ablyai#12815)

stablyai#12793 fixed PR status being hidden by workspace activity by relocating
it: prDisplay was dropped from WorktreeCardStatusSlot and re-rendered as
WorktreeCardReviewStatus in the title-row indicator group, at the right
edge of the card.

Reverting restores the review glyph to the left status lane. Because
stablyai#12658 still narrows the passive-identity set to {inactive}, this alone
brings PR status back only for inactive workspaces; reverting stablyai#12658
widens it to active and done.

No behavior change for branch identity, and stablyai#8813's guard stays intact.
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
…oo (stablyai#12825)

Stacked on the stablyai#12793 revert. Widens the passive-identity set from
{inactive} back to {active, done, inactive}, so the PR/check glyph
returns to the left status lane for workspaces that are actively being
worked, not just idle ones.

Tradeoff, deliberate: stablyai#12658 was not purely a regression. It also fixed
stablyai#8813, where an active workspace with branch identity and no PR showed
the grey branch glyph instead of the emerald Active dot. This revert
reintroduces that, and removes its e2e guard.

The left lane holds one glyph, so activity, branch identity, and review
status cannot all be shown. This picks review status.
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.

[Bug] visual indicators for statuses within the project dont appear

1 participant