- {/* Two full-height columns: the meta rail runs all the way to the
+ {/* Single workspace box: selection header (repository / source /
+ branch), then the tab strip, then the active panel. Inner panels
+ keep their own PROJECT_DETAIL_PANEL_CLASS for standalone use, so
+ their border + radius are neutralized here via the data attribute
+ they all carry. */}
+
+ {repositoryControls || sourceControls ? (
+
+ {repositoryControls}
+ {sourceControls ? (
+ <>
+
+
+
+
+
+ >
+ ) : null}
+
+ ) : null}
+ {repositoryLoaded ? (
+
+
+ {onOpenTerminal ? (
+
+ ) : null}
+ {updatePullRequestAction ? (
+
+ ) : null}
+ {selectedTab === "overview" && readmeFile ? (
+
+ Last changed {formatLastChangedAt(readmeFile.lastChangedAt)}
+
+ ) : null}
+
+ ) : null}
+ {selectedPullRequest ? (
+
+ {/* Two full-height columns: the meta rail runs all the way to the
top of the card, alongside the header and tabs. */}
-
-
-
-
-
+
- {(["conversation", "commits", "checks"] as const).map((mode) => (
-
-
+
+
+ {(["conversation", "commits", "checks"] as const).map(
+ (mode) => (
+
+
+
+ ),
+ )}
+
+
- ))}
-
-
-
-
-
-
-
- ) : null}
-
-
- setSelectedTab("contributors")}
- profiles={profiles}
- project={project}
- pullRequests={pullRequests}
- readmeFile={readmeFile}
- snapshot={displayedSnapshot}
- sourceControls={sourceControls}
- unavailableReason={unavailableReason}
- />
-
-
-
- {selectedCommitHash ? (
- commit.hash === selectedCommitHash,
- ) ?? null
- }
- commitAuthorPubkeys={commitAuthorPubkeys}
- commitHash={selectedCommitHash}
- viewerGitIdentity={viewerGitIdentity}
- diff={commitDiff}
- diffError={commitDiffError}
- diffLoading={commitDiffLoading}
- originAgentName={selectedCommitPullRequest?.originAgentName}
- originChannelId={selectedCommitPullRequest?.channelId}
- profiles={profiles}
- />
- ) : (
- onSelectedCommitHashChange(commit.hash)}
- profiles={profiles}
- pullRequests={pullRequests}
- repoContributors={displayedContributors}
- snapshot={displayedSnapshot}
- viewerGitIdentity={viewerGitIdentity}
- />
- )}
-
-
-
- setCreatePullRequestOpen(true)}
- title="Pull Requests"
- />
-
-
-
-
- setCreateIssueOpen(true)}
- title="Issues"
- />
-
-
-
-
- {repoSource === "local" && !localSnapshot && !localSnapshotLoading ? (
-
-
- No local checkout found.
+
+