Skip to content

Issue #762: promote State Transitions, PR, and Slowest Tools to TeamDetail tabs#763

Merged
hubertciebiada merged 1 commit into
mainfrom
feat/762-teamdetail-promoted-tabs
May 27, 2026
Merged

Issue #762: promote State Transitions, PR, and Slowest Tools to TeamDetail tabs#763
hubertciebiada merged 1 commit into
mainfrom
feat/762-teamdetail-promoted-tabs

Conversation

@hubertciebiada
Copy link
Copy Markdown
Owner

Closes #762

Summary

Promotes three substantial inline metadata sections in TeamDetail.tsx to top-level tabs, matching the existing Tasks/Files pattern.

Tab bar is now: Session Log | Tasks | Files | Team | Transitions | PR | Slowest tools

  • Transitions — always visible, vertical list with from/to pills, timestamp, reason.
  • PR — hidden when prNumber == null. Label is PR #{N}. Ports both loaded and loading-fallback render branches.
  • Slowest tools — hidden when slowestToolCalls is empty. Top-5 list with duration pills.

An auto-redirect effect resets to Session Log if the active tab becomes hidden mid-session (e.g. PR closed).

No new data-fetching, no new SSE subscriptions, no new types — all three datasets are already on detail / transitions from useTeamDetailData.

Test plan

  • npx tsc --noEmit — clean
  • npm run build — clean
  • npm run test:client -- TeamDetail — 27/27 passing (3 updated existing PR tests + 8 new visibility/order tests + 16 unchanged)
  • Visual: tab bar shows new tabs in correct order; clicking each loads the expected content; height matches Session Log tab

@hubertciebiada hubertciebiada enabled auto-merge (squash) May 27, 2026 12:43
@hubertciebiada hubertciebiada force-pushed the feat/762-teamdetail-promoted-tabs branch from c334252 to d1c5397 Compare May 27, 2026 13:19
@hubertciebiada hubertciebiada merged commit 1eae422 into main May 27, 2026
1 check 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.

ui: promote State Transitions, Pull Request, Slowest Tool Calls to TeamDetail tabs

1 participant