The best way to control Claude Code, Codex and more from any computer or phone
fix(mobile): the pull requests tab's empty detail asks for a pull request (#23143)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Julius Marminge committed
Oct 21, 2026 at 17:58 UTC
added623d1d87c0ac7237c8f98c15965ba393de5
2 files changed
+13
-5
apps/mobile/src/features/layout/WorkspaceEmptyDetail.tsx
+12
-5
@@ -5,11 +5,14 @@ import { AppText as Text } from "../../components/ui/AppText";
5
import { NewThreadButton } from "../../components/NewThreadButton";
6
import { FloatingActionButton } from "../../components/ui/FloatingActionButton";
7
import { EmptyState } from "../../components/ui/EmptyState";
8
+import type { WorkspaceTab } from "../workspace/workspace-tabs-state";
9
10
export function WorkspaceEmptyDetail(props: {
11
+ readonly tab?: WorkspaceTab;
12
readonly onStartNewTask?: () => void;
13
readonly onAddConnection?: () => void;
14
}) {
15
+ const pullRequests = props.tab === "pullRequests";
16
return (
17
<View
18
className={
@@ -43,13 +46,17 @@ export function WorkspaceEmptyDetail(props: {
46
tintColorClassName="accent-icon-subtle"
47
type="hierarchical"
48
/>
46
- <Text className="text-center text-xl font-t3-bold">Select a thread</Text>
49
+ <Text className="text-center text-xl font-t3-bold">
50
+ {pullRequests ? "Select a pull request" : "Select a thread"}
51
+ </Text>
52
<Text className="text-center text-base text-foreground-muted">
48
- {Platform.OS === "android"
49
- ? "Choose a thread from the sidebar or start a new thread."
50
- : "Choose a thread from the sidebar or start a new task."}
53
+ {pullRequests
54
+ ? "Choose a pull request from the sidebar to review it."
55
+ : Platform.OS === "android"
56
+ ? "Choose a thread from the sidebar or start a new thread."
57
+ : "Choose a thread from the sidebar or start a new task."}
58
</Text>
52
- {props.onStartNewTask ? (
59
+ {props.onStartNewTask && !pullRequests ? (
60
Platform.OS === "android" ? (
61
<NewThreadButton extended className="mt-2" onPress={props.onStartNewTask} />
62
) : (
apps/mobile/src/features/layout/createWorkspaceStackNavigator.ios.tsx
+1
@@ -280,6 +280,7 @@ function WorkspaceColumns(
280
/>
281
<ColumnContent>
282
<WorkspaceEmptyDetail
283
+ tab={selectedTab}
284
onStartNewTask={
285
// The detail bar or a visible sidebar already carries compose.
286
detailCompose || panes.primarySidebarVisible ? undefined : openNewTask