@devries-cameron20 / t3code Mirror · read-only / commits / 5b15cfc1e8
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 14:30 UTC

fix(mobile): center Android sheets and fit book-mode sheets in the left pane (#18492)

Co-authored-by: maria-rcks <maria@kuuro.net>

Alex committed Oct 27, 2026 at 10:48 UTC 5b15cfc1e8f37f33b1a7e25d02248da7d999f062
13 files changed +580 -318
apps/mobile/deps/react-native-screens-5.0.0-t3.45.tgz
Binary files a/apps/mobile/deps/react-native-screens-5.0.0-t3.45.tgz and /dev/null differ
apps/mobile/deps/react-native-screens-5.0.0-t3.48.tgz
Binary files /dev/null and b/apps/mobile/deps/react-native-screens-5.0.0-t3.48.tgz differ
apps/mobile/package.json
+1 -1
@@ -127,7 +127,7 @@
127 "react-native-pdf-jsi": "5.0.0",
128 "react-native-reanimated": "4.7.1",
129 "react-native-safe-area-context": "~5.10.1",
130 - "react-native-screens": "file:deps/react-native-screens-5.0.0-t3.45.tgz",
130 + "react-native-screens": "file:deps/react-native-screens-5.0.0-t3.48.tgz",
131 "react-native-svg": "15.16.0",
132 "react-native-webview": "14.0.1",
133 "react-native-worklets": "0.13.0",
apps/mobile/src/components/ui/AndroidScreenHeader.tsx
+10 -2
@@ -1,7 +1,7 @@
1 import { AppActivityIndicator } from "./AppActivityIndicator";
2 import { Column, Row, Text as NativeText, RNHostView } from "@expo/ui/jetpack-compose";
3 import { weight } from "@expo/ui/jetpack-compose/modifiers";
4 -import { useState, type ReactNode } from "react";
4 +import { use, useState, type ReactNode } from "react";
5 import { View } from "react-native";
6
7 import type { AppSymbolName } from "./AppSymbol";
@@ -12,6 +12,7 @@ import { splitAndroidHeaderActions } from "./headerMenu.android";
12 import { useScaledTextRole } from "../../features/settings/appearance/useScaledTextRole";
13 import { useToolbarLayout } from "./useToolbarLayout";
14 import { useControlTheme } from "./useControlTheme";
15 +import { RoutedFormSheetContext } from "./RoutedFormSheetContext";
16
17 export interface AndroidHeaderAction {
18 readonly accessibilityLabel: string;
@@ -50,7 +51,8 @@ export function AndroidScreenHeader(props: {
51 const { colors } = useControlTheme();
52 const titleTypography = useScaledTextRole("title");
53 const subtitleTypography = useScaledTextRole("label");
53 - const { paddingTop, paddingBottom } = useToolbarLayout(props.embedded);
54 + const inFormSheet = use(RoutedFormSheetContext);
55 + const { paddingTop, paddingBottom } = useToolbarLayout(props.embedded || inFormSheet);
56 const [headerWidth, setHeaderWidth] = useState(0);
57 const { visibleActions, overflowActions } = splitAndroidHeaderActions(
58 props.actions ?? [],
@@ -67,6 +69,12 @@ export function AndroidScreenHeader(props: {
69 borderBottomWidth: props.hideBottomBorder ? 0 : undefined,
70 }}
71 >
72 + {inFormSheet ? (
73 + <View
74 + pointerEvents="none"
75 + className="absolute top-1 h-1 w-8 self-center rounded-full bg-header-foreground/40"
76 + />
77 + ) : null}
78 <NativeAppBar
79 singleLine={props.compact}
80 navigationIcon={
apps/mobile/src/components/ui/RoutedFormSheetContext.ts new
+3
@@ -0,0 +1,3 @@
1 +import { createContext } from "react";
2 +
3 +export const RoutedFormSheetContext = createContext(false);
apps/mobile/src/components/ui/Sheet.android.tsx
+16 -9
@@ -3,6 +3,7 @@ import { View } from "react-native";
3 import { FormSheet } from "react-native-screens";
4 import { useResolveClassNames } from "uniwind";
5 import { AndroidSheetHeader } from "./AndroidScreenHeader";
6 +import { RoutedFormSheetContext } from "./RoutedFormSheetContext";
7 import { ScreenContent } from "./ScreenContent";
8 import type { SheetProps } from "./Sheet.types";
9 export type { SheetProps } from "./Sheet.types";
@@ -19,15 +20,21 @@ export function Sheet(props: SheetProps) {
20 onDismiss={props.onClose}
21 onNativeDismiss={props.onClose}
22 >
22 - {/* Android FormSheet does not bound flex children. Material drags target the first scroll view, so place content before the header. */}
23 - <View collapsable={false} className="absolute inset-0 flex-col-reverse bg-header">
24 - <ScreenContent>{props.children}</ScreenContent>
25 - <AndroidSheetHeader title={props.title} onBack={() => setIsOpen(false)} hideBottomBorder />
26 - <View
27 - pointerEvents="none"
28 - className="absolute top-1 h-1 w-8 self-center rounded-full bg-header-foreground/40"
29 - />
30 - </View>
23 + <RoutedFormSheetContext value={false}>
24 + {/* Android FormSheet does not bound flex children. Material drags target the first scroll view, so place content before the header. */}
25 + <View collapsable={false} className="absolute inset-0 flex-col-reverse bg-header">
26 + <ScreenContent>{props.children}</ScreenContent>
27 + <AndroidSheetHeader
28 + title={props.title}
29 + onBack={() => setIsOpen(false)}
30 + hideBottomBorder
31 + />
32 + <View
33 + pointerEvents="none"
34 + className="absolute top-1 h-1 w-8 self-center rounded-full bg-header-foreground/40"
35 + />
36 + </View>
37 + </RoutedFormSheetContext>
38 </FormSheet>
39 );
40 }
apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx
+174 -165
@@ -1,3 +1,7 @@
1 +import {
2 + WorkspaceColumnsRendererContext,
3 + WorkspacePresentationHostContext,
4 +} from "./workspace-presentation-context";
5 import { useAndroidFloatingTabs } from "../settings/appearance/AppearancePreferencesProvider";
6 import { SafeAreaInsetsContext, useSafeAreaInsets } from "react-native-safe-area-context";
7 import { AdaptiveWorkspaceContext, useAdaptiveWorkspaceLayout } from "./adaptive-workspace-context";
@@ -176,6 +180,7 @@ function AdaptiveWorkspaceLayoutContent(
180 const floatingTabsEnabled = useAndroidFloatingTabs();
181 const projectGroupingMode = props.projectGroupingMode;
182 const nativeWorkspace = use(NativeWorkspaceModeContext);
183 + const usesPresentationHost = use(WorkspacePresentationHostContext);
184 const windowDimensions = useWindowDimensions();
185 const nativeMetrics = useNativeLayoutMetrics();
186 const { width: viewportWidth, height } = nativeMetrics ?? windowDimensions;
@@ -839,181 +844,185 @@ function AdaptiveWorkspaceLayoutContent(
844 </HomeListOptionsProvider>
845 );
846 }
842 - return (
843 - <HomeListOptionsProvider
844 - projectGroupingMode={projectGroupingMode}
845 - savedFilters={props.savedThreadListFilters}
847 + const renderColumns = (children: ReactNode) => (
848 + <View
849 + testID="adaptive-workspace-layout"
850 + className={Platform.OS === "android" ? "flex-1 flex-row bg-header" : "flex-1 flex-row"}
851 >
847 - <AdaptiveWorkspaceContext.Provider value={contextValue}>
848 - <WindowHingeContext value={windowHinge}>
849 - <View
850 - testID="adaptive-workspace-layout"
851 - className={Platform.OS === "android" ? "flex-1 flex-row bg-header" : "flex-1 flex-row"}
852 - >
853 - <AndroidHingeObserver onChange={handleHingeChange} />
854 - {shouldRenderNavigationRail ? (
855 - <Animated.View className="self-stretch" style={railAnimatedStyle} />
856 - ) : null}
857 - {shouldRenderPrimarySidebar && layout.listPaneWidth !== null ? (
858 - <Animated.View
859 - className="self-stretch overflow-hidden"
860 - accessibilityElementsHidden={workspacePage || !panes.primarySidebarVisible}
861 - collapsable={false}
862 - importantForAccessibility={
863 - !workspacePage && panes.primarySidebarVisible ? "auto" : "no-hide-descendants"
864 - }
865 - pointerEvents={!workspacePage && panes.primarySidebarVisible ? "auto" : "none"}
866 - // Under a workspace page the sidebar leaves the row but keeps its size, so its
867 - // lists never lay out at zero size and are ready, unchanged, on the way back. The
868 - // content pane, laid out after it, covers it, in the same mount as the page.
869 - style={[
870 - workspacePage ? { position: "absolute", top: 0, bottom: 0, left: 0 } : null,
871 - sidebarAnimatedStyle,
872 - ]}
852 + <AndroidHingeObserver onChange={handleHingeChange} />
853 + {shouldRenderNavigationRail ? (
854 + <Animated.View className="self-stretch" style={railAnimatedStyle} />
855 + ) : null}
856 + {shouldRenderPrimarySidebar && layout.listPaneWidth !== null ? (
857 + <Animated.View
858 + className="self-stretch overflow-hidden"
859 + accessibilityElementsHidden={workspacePage || !panes.primarySidebarVisible}
860 + collapsable={false}
861 + importantForAccessibility={
862 + !workspacePage && panes.primarySidebarVisible ? "auto" : "no-hide-descendants"
863 + }
864 + pointerEvents={!workspacePage && panes.primarySidebarVisible ? "auto" : "none"}
865 + // Under a workspace page the sidebar leaves the row but keeps its size, so its
866 + // lists never lay out at zero size and are ready, unchanged, on the way back. The
867 + // content pane, laid out after it, covers it, in the same mount as the page.
868 + style={[
869 + workspacePage ? { position: "absolute", top: 0, bottom: 0, left: 0 } : null,
870 + sidebarAnimatedStyle,
871 + ]}
872 + >
873 + <Animated.View className="flex-1" style={listPaneAnimatedStyle}>
874 + <RenderErrorBoundary
875 + renderFallback={(fallback) => (
876 + <RenderFailureView
877 + {...fallback}
878 + title="The sidebar couldn't be displayed"
879 + exit={{ label: "Open settings", onPress: handleOpenSettings }}
880 + />
881 + )}
882 + >
883 + <AndroidWorkspaceSidebar
884 + onRequestVisibility={revealPrimarySidebar}
885 + selectedPullRequestKey={props.selectedPullRequestKey ?? null}
886 >
874 - <Animated.View className="flex-1" style={listPaneAnimatedStyle}>
875 - <RenderErrorBoundary
876 - renderFallback={(fallback) => (
877 - <RenderFailureView
878 - {...fallback}
879 - title="The sidebar couldn't be displayed"
880 - exit={{ label: "Open settings", onPress: handleOpenSettings }}
881 - />
882 - )}
883 - >
884 - <AndroidWorkspaceSidebar
885 - onRequestVisibility={revealPrimarySidebar}
886 - selectedPullRequestKey={props.selectedPullRequestKey ?? null}
887 - >
888 - <AndroidHomeFabLayout
889 - sidebar
890 - disabled={workspacePage}
891 - paneWidth={layout.listPaneWidth}
892 - onStartNewTask={handleStartNewTask}
893 - >
894 - <ThreadNavigationSidebar
895 - width={layout.listPaneWidth}
896 - visible={panes.primarySidebarVisible}
897 - onRequestVisibility={revealPrimarySidebar}
898 - selectedThreadKey={selectedThreadKey}
899 - onOpenSettings={handleOpenSettings}
900 - onOpenEnvironmentSettings={handleOpenEnvironmentSettings}
901 - onNewThreadInProject={handleNewThreadInProject}
902 - onNewThreadOnBranch={handleNewThreadOnBranch}
903 - onOpenPendingTask={handleOpenPendingTask}
904 - onSelectThread={handleSelectThread}
905 - onOpenThreadPullRequests={handleOpenThreadPullRequests}
906 - onSearchQueryChange={setPrimarySidebarSearchQuery}
907 - searchQuery={primarySidebarSearchQuery}
908 - />
909 - </AndroidHomeFabLayout>
910 - </AndroidWorkspaceSidebar>
911 - </RenderErrorBoundary>
912 - {/* Keep the pill under the content throughout the sidebar's clipping animation. */}
913 - {floatingTabsEnabled && !workspacePage ? (
914 - <FloatingWorkspaceTabs
915 - paneWidth={layout.listPaneWidth}
916 - onNewThread={handleStartNewTask}
917 - onSelect={revealPrimarySidebar}
918 - />
919 - ) : null}
920 - </Animated.View>
921 - </Animated.View>
887 + <AndroidHomeFabLayout
888 + sidebar
889 + disabled={workspacePage}
890 + paneWidth={layout.listPaneWidth}
891 + onStartNewTask={handleStartNewTask}
892 + >
893 + <ThreadNavigationSidebar
894 + width={layout.listPaneWidth}
895 + visible={panes.primarySidebarVisible}
896 + onRequestVisibility={revealPrimarySidebar}
897 + selectedThreadKey={selectedThreadKey}
898 + onOpenSettings={handleOpenSettings}
899 + onOpenEnvironmentSettings={handleOpenEnvironmentSettings}
900 + onNewThreadInProject={handleNewThreadInProject}
901 + onNewThreadOnBranch={handleNewThreadOnBranch}
902 + onOpenPendingTask={handleOpenPendingTask}
903 + onSelectThread={handleSelectThread}
904 + onOpenThreadPullRequests={handleOpenThreadPullRequests}
905 + onSearchQueryChange={setPrimarySidebarSearchQuery}
906 + searchQuery={primarySidebarSearchQuery}
907 + />
908 + </AndroidHomeFabLayout>
909 + </AndroidWorkspaceSidebar>
910 + </RenderErrorBoundary>
911 + {/* Keep the pill under the content throughout the sidebar's clipping animation. */}
912 + {floatingTabsEnabled && !workspacePage ? (
913 + <FloatingWorkspaceTabs
914 + paneWidth={layout.listPaneWidth}
915 + onNewThread={handleStartNewTask}
916 + onSelect={revealPrimarySidebar}
917 + />
918 ) : null}
923 - <View
924 - className={
925 - Platform.OS === "android"
926 - ? "flex-1 overflow-hidden bg-header"
927 - : "flex-1 overflow-hidden bg-screen"
928 - }
929 - collapsable={false}
919 + </Animated.View>
920 + </Animated.View>
921 + ) : null}
922 + <View
923 + className={
924 + Platform.OS === "android"
925 + ? "flex-1 overflow-hidden bg-header"
926 + : "flex-1 overflow-hidden bg-screen"
927 + }
928 + collapsable={false}
929 + >
930 + <View
931 + collapsable={false}
932 + style={
933 + contentTargetWidth !== null
934 + ? {
935 + flex: 1,
936 + width: contentTargetWidth,
937 + alignSelf: contentAnchor.end ? "flex-end" : "flex-start",
938 + }
939 + : { flex: 1 }
940 + }
941 + >
942 + {/* Android holds the content still, so its floating controls keep its width. */}
943 + <WorkspaceContentWidthContext
944 + value={layout.usesSplitView && Platform.OS !== "android" ? renderedContentWidth : null}
945 + >
946 + <WorkspaceSettledContentWidthContext
947 + value={Platform.OS === "android" && layout.usesSplitView ? contentTargetWidth : null}
948 >
931 - <View
932 - collapsable={false}
933 - style={
934 - contentTargetWidth !== null
949 + {/* Compact Settings keeps the bottom navigation under all of its pages. */}
950 + <SafeAreaInsetsContext
951 + value={
952 + floatingTabsEnabled &&
953 + (compactAndroidSettings || (layout.usesSplitView && workspacePage))
954 ? {
936 - flex: 1,
937 - width: contentTargetWidth,
938 - alignSelf: contentAnchor.end ? "flex-end" : "flex-start",
955 + ...safeAreaInsets,
956 + bottom:
957 + safeAreaInsets.bottom +
958 + FLOATING_TABS.bottom +
959 + FLOATING_TABS.edge +
960 + floatingTabs.height,
961 }
940 - : { flex: 1 }
962 + : compactAndroidSettings
963 + ? { ...safeAreaInsets, bottom: 0 }
964 + : safeAreaInsets
965 }
966 >
943 - {/* Android holds the content still, so its floating controls keep its width. */}
944 - <WorkspaceContentWidthContext
945 - value={
946 - layout.usesSplitView && Platform.OS !== "android" ? renderedContentWidth : null
947 - }
948 - >
949 - <WorkspaceSettledContentWidthContext
950 - value={
951 - Platform.OS === "android" && layout.usesSplitView ? contentTargetWidth : null
952 - }
953 - >
954 - {/* Compact Settings keeps the bottom navigation under all of its pages. */}
955 - <SafeAreaInsetsContext
956 - value={
957 - floatingTabsEnabled &&
958 - (compactAndroidSettings || (layout.usesSplitView && workspacePage))
959 - ? {
960 - ...safeAreaInsets,
961 - bottom:
962 - safeAreaInsets.bottom +
963 - FLOATING_TABS.bottom +
964 - FLOATING_TABS.edge +
965 - floatingTabs.height,
966 - }
967 - : compactAndroidSettings
968 - ? { ...safeAreaInsets, bottom: 0 }
969 - : safeAreaInsets
970 - }
971 - >
972 - <View className="flex-1">
973 - <SettingsWorkspaceLayout>{props.children}</SettingsWorkspaceLayout>
974 - </View>
975 - </SafeAreaInsetsContext>
976 - {floatingTabsEnabled &&
977 - (compactAndroidSettings || (layout.usesSplitView && workspacePage)) ? (
978 - <FloatingWorkspaceTabs
979 - paneWidth={
980 - layout.usesSplitView ? (layout.listPaneWidth ?? undefined) : undefined
981 - }
982 - fillWidth={compactAndroidSettings}
983 - onNewThread={handleStartNewTask}
984 - />
985 - ) : compactAndroidSettings ? (
986 - <AndroidWorkspaceNavigation onNewThread={handleStartNewTask} />
987 - ) : null}
988 - </WorkspaceSettledContentWidthContext>
989 - </WorkspaceContentWidthContext>
990 - </View>
991 - </View>
992 - <WorkspaceInspectorPane
993 - pathname={props.pathname}
994 - renderedInspectorWidth={renderedInspectorWidth}
995 - active={workspaceInspector?.active ?? false}
996 - panes={panes}
997 - renderInspector={workspaceInspector?.render}
998 - setAuxiliaryPaneWidth={setAuxiliaryPaneWidth}
999 - onClosed={handleWorkspaceInspectorClosed}
1000 - />
1001 - {shouldRenderNavigationRail && navigationRailWidth > 0 ? (
1002 - // The rail reserves its slot above and draws over the panes, so it can widen over
1003 - // the list in place. It takes the whole workspace only while it is open.
1004 - <View
1005 - className="absolute inset-y-0 left-0"
1006 - style={railOverlay ? { right: 0 } : { width: navigationRailWidth }}
1007 - >
1008 - <AndroidWorkspaceNavigation
967 + <View className="flex-1">
968 + <SettingsWorkspaceLayout>{children}</SettingsWorkspaceLayout>
969 + </View>
970 + </SafeAreaInsetsContext>
971 + {floatingTabsEnabled &&
972 + (compactAndroidSettings || (layout.usesSplitView && workspacePage)) ? (
973 + <FloatingWorkspaceTabs
974 + paneWidth={layout.usesSplitView ? (layout.listPaneWidth ?? undefined) : undefined}
975 + fillWidth={compactAndroidSettings}
976 onNewThread={handleStartNewTask}
1010 - rail
1011 - onSelect={revealPrimarySidebar}
1012 - onOverlayChange={setRailOverlay}
977 />
1014 - </View>
1015 - ) : null}
1016 - </View>
978 + ) : compactAndroidSettings ? (
979 + <AndroidWorkspaceNavigation onNewThread={handleStartNewTask} />
980 + ) : null}
981 + </WorkspaceSettledContentWidthContext>
982 + </WorkspaceContentWidthContext>
983 + </View>
984 + </View>
985 + <WorkspaceInspectorPane
986 + pathname={props.pathname}
987 + renderedInspectorWidth={renderedInspectorWidth}
988 + active={workspaceInspector?.active ?? false}
989 + panes={panes}
990 + renderInspector={workspaceInspector?.render}
991 + setAuxiliaryPaneWidth={setAuxiliaryPaneWidth}
992 + onClosed={handleWorkspaceInspectorClosed}
993 + />
994 + {shouldRenderNavigationRail && navigationRailWidth > 0 ? (
995 + // The rail reserves its slot above and draws over the panes, so it can widen over
996 + // the list in place. It takes the whole workspace only while it is open.
997 + <View
998 + className="absolute inset-y-0 left-0"
999 + style={railOverlay ? { right: 0 } : { width: navigationRailWidth }}
1000 + >
1001 + <AndroidWorkspaceNavigation
1002 + onNewThread={handleStartNewTask}
1003 + rail
1004 + onSelect={revealPrimarySidebar}
1005 + onOverlayChange={setRailOverlay}
1006 + />
1007 + </View>
1008 + ) : null}
1009 + </View>
1010 + );
1011 +
1012 + return (
1013 + <HomeListOptionsProvider
1014 + projectGroupingMode={projectGroupingMode}
1015 + savedFilters={props.savedThreadListFilters}
1016 + >
1017 + <AdaptiveWorkspaceContext.Provider value={contextValue}>
1018 + <WindowHingeContext value={windowHinge}>
1019 + {usesPresentationHost ? (
1020 + <WorkspaceColumnsRendererContext value={renderColumns}>
1021 + {props.children}
1022 + </WorkspaceColumnsRendererContext>
1023 + ) : (
1024 + renderColumns(props.children)
1025 + )}
1026 </WindowHingeContext>
1027 </AdaptiveWorkspaceContext.Provider>
1028 </HomeListOptionsProvider>
apps/mobile/src/features/layout/createWorkspaceStackNavigator.android.tsx new
+152
@@ -0,0 +1,152 @@
1 +import {
2 + createNavigatorFactory,
3 + StackRouter,
4 + useNavigationBuilder,
5 + type NavigatorTypeBagBase,
6 + type ParamListBase,
7 + type StackActionHelpers,
8 + type StackNavigationState,
9 + type StackRouterOptions,
10 + type StaticConfig,
11 + type TypedNavigator,
12 +} from "@react-navigation/native";
13 +import {
14 + NativeStackView,
15 + type NativeStackNavigationEventMap,
16 + type NativeStackNavigationOptions,
17 + type NativeStackNavigatorProps,
18 + type NativeStackTypeBag,
19 +} from "@react-navigation/native-stack";
20 +import { use, type ComponentProps } from "react";
21 +
22 +import { RoutedFormSheetContext } from "../../components/ui/RoutedFormSheetContext";
23 +
24 +import { projectStackPresentation } from "../../native/workspace-stack-projection";
25 +import {
26 + WorkspaceColumnsRendererContext,
27 + WorkspacePresentationHostContext,
28 +} from "./workspace-presentation-context";
29 +
30 +type ViewProps = ComponentProps<typeof NativeStackView>;
31 +type Descriptor = ViewProps["descriptors"][string];
32 +type Route = ViewProps["state"]["routes"][number];
33 +
34 +function WorkspaceStackView(props: ViewProps) {
35 + const renderColumns = use(WorkspaceColumnsRendererContext);
36 + if (!renderColumns) return <NativeStackView {...props} />;
37 +
38 + const isOverlay = (route: Route) => {
39 + const descriptor = props.descriptors[route.key] ?? props.describe(route, true);
40 + const presentation = descriptor.options.presentation;
41 + return presentation !== undefined && presentation !== "card";
42 + };
43 + const projection = projectStackPresentation(props.state, isOverlay);
44 + const workspaceRoutes = projection.workspace;
45 + const visibleRoute = workspaceRoutes.at(-1);
46 + if (!visibleRoute) return <NativeStackView {...props} />;
47 +
48 + const visibleDescriptor = props.descriptors[visibleRoute.key]!;
49 + const baseRoute = { key: `${props.state.key}:workspace`, name: "Workspace" };
50 + const baseDescriptor: Descriptor = {
51 + ...visibleDescriptor,
52 + options: { headerShown: false, freezeOnBlur: false },
53 + render: () =>
54 + renderColumns(
55 + <NativeStackView
56 + {...props}
57 + state={{
58 + ...props.state,
59 + routes: workspaceRoutes,
60 + index: workspaceRoutes.length - 1,
61 + preloadedRoutes: props.state.preloadedRoutes.filter((route) => !isOverlay(route)),
62 + }}
63 + />,
64 + ),
65 + };
66 + const routes = [baseRoute, ...projection.overlays];
67 + return (
68 + <NativeStackView
69 + {...props}
70 + presentationEnvelope
71 + state={{
72 + ...props.state,
73 + routes,
74 + index: routes.length - 1,
75 + preloadedRoutes: props.state.preloadedRoutes.filter(isOverlay),
76 + }}
77 + descriptors={{ ...props.descriptors, [baseRoute.key]: baseDescriptor }}
78 + />
79 + );
80 +}
81 +
82 +function WorkspaceStackNavigator({
83 + id,
84 + initialRouteName,
85 + UNSTABLE_routeNamesChangeBehavior,
86 + children,
87 + layout,
88 + screenListeners,
89 + screenOptions,
90 + screenLayout,
91 + UNSTABLE_router,
92 + ...rest
93 +}: NativeStackNavigatorProps) {
94 + const { state, describe, descriptors, navigation, NavigationContent } = useNavigationBuilder<
95 + StackNavigationState<ParamListBase>,
96 + StackRouterOptions,
97 + StackActionHelpers<ParamListBase>,
98 + NativeStackNavigationOptions,
99 + NativeStackNavigationEventMap
100 + >(StackRouter, {
101 + id,
102 + initialRouteName,
103 + UNSTABLE_routeNamesChangeBehavior,
104 + children,
105 + layout,
106 + screenListeners,
107 + screenOptions,
108 + screenLayout,
109 + UNSTABLE_router,
110 + });
111 + return (
112 + <WorkspacePresentationHostContext value>
113 + <NavigationContent>
114 + <WorkspaceStackView
115 + {...rest}
116 + state={state}
117 + describe={describe}
118 + descriptors={Object.fromEntries(
119 + Object.entries(descriptors).map(([key, descriptor]) => [
120 + key,
121 + descriptor.options.presentation === "formSheet"
122 + ? {
123 + ...descriptor,
124 + render: () => (
125 + <RoutedFormSheetContext value>{descriptor.render()}</RoutedFormSheetContext>
126 + ),
127 + }
128 + : descriptor,
129 + ]),
130 + )}
131 + navigation={navigation}
132 + />
133 + </NavigationContent>
134 + </WorkspacePresentationHostContext>
135 + );
136 +}
137 +
138 +type WorkspaceTypeBag<
139 + ParamList extends ParamListBase,
140 + NavigatorID extends string | undefined,
141 +> = Omit<NativeStackTypeBag<ParamList, NavigatorID>, "Navigator"> & {
142 + Navigator: typeof WorkspaceStackNavigator;
143 +};
144 +
145 +export function createWorkspaceStackNavigator<
146 + const ParamList extends ParamListBase,
147 + const NavigatorID extends string | undefined = string | undefined,
148 + const TypeBag extends NavigatorTypeBagBase = WorkspaceTypeBag<ParamList, NavigatorID>,
149 + const Config extends StaticConfig<TypeBag> = StaticConfig<TypeBag>,
150 +>(config?: Config): TypedNavigator<TypeBag, Config> {
151 + return createNavigatorFactory(WorkspaceStackNavigator)(config);
152 +}
apps/mobile/src/features/layout/workspace-presentation-context.tsx new
+7
@@ -0,0 +1,7 @@
1 +import { createContext, type ReactElement, type ReactNode } from "react";
2 +
3 +/** Android's native presentation stack surrounds all workspace columns. */
4 +export const WorkspacePresentationHostContext = createContext(false);
5 +export const WorkspaceColumnsRendererContext = createContext<
6 + ((children: ReactNode) => ReactElement) | null
7 +>(null);
apps/mobile/src/features/threads/git/GitCommitSheet.tsx
+134 -129
@@ -1,3 +1,4 @@
1 +import { ScreenContent } from "../../../components/ui/ScreenContent";
2 import { SheetHeader } from "../../../components/ui/SheetHeader";
3 import { Button } from "../../../components/ui/Button";
4 import { useNavigation, type StaticScreenProps } from "@react-navigation/native";
@@ -84,145 +85,149 @@ export function GitCommitSheet(_props: GitCommitSheetProps) {
85 onCancel={() => navigation.goBack()}
86 accessibilityLabel="Cancel commit"
87 />
87 - <ScrollView
88 - nestedScrollEnabled
89 - contentInsetAdjustmentBehavior="automatic"
90 - className="android:shrink android:grow-0 ios:flex-1"
91 - keyboardShouldPersistTaps="handled"
92 - keyboardDismissMode="on-drag"
93 - automaticallyAdjustKeyboardInsets
94 - contentContainerClassName="px-5 pt-4 pb-6 gap-5"
95 - contentContainerStyle={{ paddingBottom: Math.max(insets.bottom, 18) + 18 }}
96 - >
97 - {isDefaultRef ? (
98 - <Text className="text-sm text-warning-foreground">
99 - You’re on the default branch. You can create a new branch when committing.
100 - </Text>
101 - ) : null}
102 - <View className="gap-2">
103 - <Text className="text-sm font-t3-medium text-foreground">Commit message</Text>
104 - <TextInput
105 - multiline
106 - accessibilityLabel="Commit message"
107 - value={dialogCommitMessage}
108 - onChangeText={setDialogCommitMessage}
109 - placeholder="Describe your changes…"
110 - textAlignVertical="top"
111 - className="min-h-24 rounded-xl bg-subtle px-4 py-3 text-base"
112 - />
113 - <Text className="text-xs text-foreground-muted">
114 - Leave empty to generate a message automatically.
115 - </Text>
116 - </View>
117 - <View>
118 - <View className="flex-row items-center justify-between gap-2 pb-2">
119 - <View className="flex-1 gap-1">
120 - <Text className="text-base font-t3-bold text-foreground">Changed files</Text>
121 - <Text className="text-xs text-foreground-muted">
122 - {selectedFiles.length} of {allFiles.length} selected · +
123 - {formatDiffCount(selectedInsertions)} −{formatDiffCount(selectedDeletions)}
124 - </Text>
125 - </View>
126 - {allFiles.length > 0 ? (
127 - <Button
128 - label={allSelected ? "Deselect all" : "Select all"}
129 - tone="text"
130 - onPress={() =>
131 - setExcludedFiles(
132 - allSelected ? new Set(allFiles.map((file) => file.path)) : new Set(),
133 - )
134 - }
135 - />
136 - ) : null}
88 + <ScreenContent fitToContents>
89 + <ScrollView
90 + nestedScrollEnabled
91 + contentInsetAdjustmentBehavior="automatic"
92 + className="android:shrink android:grow-0 ios:flex-1"
93 + keyboardShouldPersistTaps="handled"
94 + keyboardDismissMode="on-drag"
95 + automaticallyAdjustKeyboardInsets
96 + contentContainerClassName="px-5 pt-4 pb-6 gap-5"
97 + contentContainerStyle={{ paddingBottom: Math.max(insets.bottom, 18) + 18 }}
98 + >
99 + {isDefaultRef ? (
100 + <Text className="text-sm text-warning-foreground">
101 + You’re on the default branch. You can create a new branch when committing.
102 + </Text>
103 + ) : null}
104 + <View className="gap-2">
105 + <Text className="text-sm font-t3-medium text-foreground">Commit message</Text>
106 + <TextInput
107 + multiline
108 + accessibilityLabel="Commit message"
109 + value={dialogCommitMessage}
110 + onChangeText={setDialogCommitMessage}
111 + placeholder="Describe your changes…"
112 + textAlignVertical="top"
113 + className="min-h-24 rounded-xl bg-subtle px-4 py-3 text-base"
114 + />
115 + <Text className="text-xs text-foreground-muted">
116 + Leave empty to generate a message automatically.
117 + </Text>
118 </View>
138 - {allFiles.length === 0 ? (
139 - <Text className="py-4 text-sm text-foreground-muted">No changed files to commit.</Text>
140 - ) : (
141 - allFiles.map((file) => {
142 - const included = !excludedFiles.has(file.path);
143 - const slash = file.path.lastIndexOf("/");
144 - const name = file.path.slice(slash + 1);
145 - const directory = slash >= 0 ? file.path.slice(0, slash) : null;
146 - return (
147 - <Pressable
148 - key={file.path}
149 - className="min-h-16 flex-row items-center gap-3 border-t border-border-subtle py-3"
150 - accessibilityRole="checkbox"
151 - accessibilityLabel={file.path}
152 - accessibilityState={{ checked: included }}
119 + <View>
120 + <View className="flex-row items-center justify-between gap-2 pb-2">
121 + <View className="flex-1 gap-1">
122 + <Text className="text-base font-t3-bold text-foreground">Changed files</Text>
123 + <Text className="text-xs text-foreground-muted">
124 + {selectedFiles.length} of {allFiles.length} selected · +
125 + {formatDiffCount(selectedInsertions)} −{formatDiffCount(selectedDeletions)}
126 + </Text>
127 + </View>
128 + {allFiles.length > 0 ? (
129 + <Button
130 + label={allSelected ? "Deselect all" : "Select all"}
131 + tone="text"
132 onPress={() =>
154 - setExcludedFiles((current) => {
155 - const next = new Set(current);
156 - if (next.has(file.path)) next.delete(file.path);
157 - else next.add(file.path);
158 - return next;
159 - })
133 + setExcludedFiles(
134 + allSelected ? new Set(allFiles.map((file) => file.path)) : new Set(),
135 + )
136 }
161 - >
162 - <View
163 - className={cn(
164 - "size-5 items-center justify-center rounded-full",
165 - included ? "bg-primary" : "border border-input-border",
166 - )}
137 + />
138 + ) : null}
139 + </View>
140 + {allFiles.length === 0 ? (
141 + <Text className="py-4 text-sm text-foreground-muted">
142 + No changed files to commit.
143 + </Text>
144 + ) : (
145 + allFiles.map((file) => {
146 + const included = !excludedFiles.has(file.path);
147 + const slash = file.path.lastIndexOf("/");
148 + const name = file.path.slice(slash + 1);
149 + const directory = slash >= 0 ? file.path.slice(0, slash) : null;
150 + return (
151 + <Pressable
152 + key={file.path}
153 + className="min-h-16 flex-row items-center gap-3 border-t border-border-subtle py-3"
154 + accessibilityRole="checkbox"
155 + accessibilityLabel={file.path}
156 + accessibilityState={{ checked: included }}
157 + onPress={() =>
158 + setExcludedFiles((current) => {
159 + const next = new Set(current);
160 + if (next.has(file.path)) next.delete(file.path);
161 + else next.add(file.path);
162 + return next;
163 + })
164 + }
165 >
168 - {included ? (
169 - <SymbolView
170 - name="checkmark"
171 - size={13}
172 - tintColorClassName="accent-primary-foreground"
173 - />
174 - ) : null}
175 - </View>
176 - <View className="flex-1 gap-1">
177 - <Text
178 - numberOfLines={1}
179 - ellipsizeMode="middle"
180 - className="text-sm font-t3-medium text-foreground"
166 + <View
167 + className={cn(
168 + "size-5 items-center justify-center rounded-full",
169 + included ? "bg-primary" : "border border-input-border",
170 + )}
171 >
182 - {name}
183 - </Text>
184 - {directory ? (
172 + {included ? (
173 + <SymbolView
174 + name="checkmark"
175 + size={13}
176 + tintColorClassName="accent-primary-foreground"
177 + />
178 + ) : null}
179 + </View>
180 + <View className="flex-1 gap-1">
181 <Text
182 numberOfLines={1}
183 ellipsizeMode="middle"
188 - className="text-xs text-foreground-muted"
184 + className="text-sm font-t3-medium text-foreground"
185 >
190 - {directory}
186 + {name}
187 </Text>
192 - ) : null}
193 - </View>
194 - <View className="flex-row gap-2">
195 - <Text className="text-xs text-adaptive-emerald-700-300">
196 - +{formatDiffCount(file.insertions)}
197 - </Text>
198 - <Text className="text-xs text-adaptive-rose-700-300">
199 - −{formatDiffCount(file.deletions)}
200 - </Text>
201 - </View>
202 - </Pressable>
203 - );
204 - })
205 - )}
206 - </View>
207 - <View className="gap-2">
208 - <Button
209 - label="Commit changes"
210 - icon="checkmark"
211 - tone="primary"
212 - fullWidth
213 - disabled={!canWriteSourceControl || noneSelected || busy}
214 - onPress={() => void runCommitAction(false)}
215 - />
216 - <Button
217 - label="Commit on a new branch"
218 - icon="arrow.branch"
219 - tone="text"
220 - fullWidth
221 - disabled={!canWriteSourceControl || !canChangeThreadBranch || noneSelected || busy}
222 - onPress={() => void runCommitAction(true)}
223 - />
224 - </View>
225 - </ScrollView>
188 + {directory ? (
189 + <Text
190 + numberOfLines={1}
191 + ellipsizeMode="middle"
192 + className="text-xs text-foreground-muted"
193 + >
194 + {directory}
195 + </Text>
196 + ) : null}
197 + </View>
198 + <View className="flex-row gap-2">
199 + <Text className="text-xs text-adaptive-emerald-700-300">
200 + +{formatDiffCount(file.insertions)}
201 + </Text>
202 + <Text className="text-xs text-adaptive-rose-700-300">
203 + −{formatDiffCount(file.deletions)}
204 + </Text>
205 + </View>
206 + </Pressable>
207 + );
208 + })
209 + )}
210 + </View>
211 + <View className="gap-2">
212 + <Button
213 + label="Commit changes"
214 + icon="checkmark"
215 + tone="primary"
216 + fullWidth
217 + disabled={!canWriteSourceControl || noneSelected || busy}
218 + onPress={() => void runCommitAction(false)}
219 + />
220 + <Button
221 + label="Commit on a new branch"
222 + icon="arrow.branch"
223 + tone="text"
224 + fullWidth
225 + disabled={!canWriteSourceControl || !canChangeThreadBranch || noneSelected || busy}
226 + onPress={() => void runCommitAction(true)}
227 + />
228 + </View>
229 + </ScrollView>
230 + </ScreenContent>
231 </View>
232 );
233 }
apps/mobile/src/native/workspace-stack-projection.test.ts
+60
@@ -7,6 +7,7 @@ import {
7 nativeStackPopAction,
8 nativeWorkspacePopAction,
9 nativeWorkspacePopCount,
10 + projectStackPresentation,
11 projectWorkspaceStack,
12 partitionStackPresentations,
13 reconcileStackScreens,
@@ -40,6 +41,65 @@ function history(
41 };
42 }
43
44 +describe("workspace presentation envelope", () => {
45 + const isOverlay = (route: { name: string }) => route.name === "ReviewSheet";
46 +
47 + it("keeps card settings in the detail history and restores it after system Back closes a sheet", () => {
48 + const router = StackRouter({});
49 + const state = history([home, thread, settings]);
50 + const routerOptions = {
51 + routeNames: [...state.routeNames, "ReviewSheet", "ReviewDetails"],
52 + routeParamList: {},
53 + routeGetIdList: {},
54 + };
55 + const opened = router.getStateForAction(
56 + { ...state, routeNames: routerOptions.routeNames },
57 + { type: "PUSH", payload: { name: "ReviewSheet" } },
58 + routerOptions,
59 + );
60 + if (!opened || opened.stale !== false) throw new Error("Expected an opened sheet history");
61 + const projection = projectStackPresentation(opened, isOverlay);
62 + expect(projection.workspace).toEqual(state.routes);
63 + expect(projection.workspace.at(-1)).toBe(settings);
64 + expect(projection.overlays.map((route) => route.name)).toEqual(["ReviewSheet"]);
65 + const closed = router.getStateForAction(opened, { type: "GO_BACK" }, routerOptions);
66 + if (!closed || closed.stale !== false) throw new Error("Expected a restored workspace history");
67 + expect(projectStackPresentation(closed, isOverlay)).toEqual({
68 + workspace: state.routes,
69 + overlays: [],
70 + });
71 + });
72 +
73 + it("keeps pushed sheet pages above the workspace and dismisses the entire sheet group", () => {
74 + const sheet = { key: "review", name: "ReviewSheet" };
75 + const page = { key: "review-details", name: "ReviewDetails" };
76 + const state = history([home, thread, sheet, page]);
77 + expect(projectStackPresentation(state, isOverlay)).toEqual({
78 + workspace: [home, thread],
79 + overlays: [sheet, page],
80 + });
81 + const closed = StackRouter({}).getStateForAction(
82 + state,
83 + nativeWorkspacePopAction(state, sheet.key)!,
84 + { routeNames: state.routeNames, routeParamList: {}, routeGetIdList: {} },
85 + );
86 + if (!closed || closed.stale !== false) throw new Error("Expected a dismissed sheet history");
87 + expect(projectStackPresentation(closed, isOverlay)).toEqual({
88 + workspace: [home, thread],
89 + overlays: [],
90 + });
91 + expect(closed.routes[1]).toBe(thread);
92 + });
93 +
94 + it("preserves a cold-linked detail history without requiring a Home route", () => {
95 + const sheet = { key: "review", name: "ReviewSheet" };
96 + expect(projectStackPresentation(history([thread, files, sheet]), isOverlay)).toEqual({
97 + workspace: [thread, files],
98 + overlays: [sheet],
99 + });
100 + });
101 +});
102 +
103 describe("workspace router projection", () => {
104 it("keeps workspace flows beside Home and restores them after a modal closes", () => {
105 const draft = { key: "draft", name: "Thread", params: { draft: {} } };
apps/mobile/src/native/workspace-stack-projection.ts
+14 -3
@@ -6,18 +6,29 @@ import type {
6
7 type Route = StackNavigationState<ParamListBase>["routes"][number];
8
9 -export function projectWorkspaceStack(
9 +/** Keep the presenting history mounted while modal routes cover the whole workspace. */
10 +export function projectStackPresentation(
11 state: StackNavigationState<ParamListBase>,
12 isOverlay: (route: Route) => boolean,
13 ) {
14 const firstOverlay = state.routes.findIndex(isOverlay);
14 - const workspaceRoutes = state.routes.slice(0, firstOverlay < 0 ? undefined : firstOverlay);
15 + return {
16 + workspace: state.routes.slice(0, firstOverlay < 0 ? undefined : firstOverlay),
17 + overlays: firstOverlay < 0 ? [] : state.routes.slice(firstOverlay),
18 + };
19 +}
20 +
21 +/** Project one router history into native columns and a modal presentation stack. */
22 +export function projectWorkspaceStack(
23 + state: StackNavigationState<ParamListBase>,
24 + isOverlay: (route: Route) => boolean,
25 +) {
26 + const { workspace: workspaceRoutes, overlays } = projectStackPresentation(state, isOverlay);
27 const primary = workspaceRoutes.find((route) => route.name === "Home");
28 // The Settings tab's route only selects what Home shows; its pages are the detail.
29 const detail = workspaceRoutes.filter(
30 (route) => route.name !== "Home" && route.name !== "Settings",
31 );
20 - const overlays = firstOverlay < 0 ? [] : state.routes.slice(firstOverlay);
32 return { primary, detail, overlays };
33 }
34
pnpm-lock.yaml
+9 -9
@@ -560,7 +560,7 @@ importers:
560 version: 7.5.1(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
561 '@react-navigation/native-stack':
562 specifier: 7.21.0
563 - version: 7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(fedae76d040d2e46f454f147f7fa3a09)
563 + version: 7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(c96dd4885eac0393fe69fdf9aeb7f361)
564 '@t3tools/client-runtime':
565 specifier: workspace:*
566 version: link:../../packages/client-runtime
@@ -742,8 +742,8 @@ importers:
742 specifier: ~5.10.1
743 version: 5.10.1(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
744 react-native-screens:
745 - specifier: file:deps/react-native-screens-5.0.0-t3.45.tgz
746 - version: file:apps/mobile/deps/react-native-screens-5.0.0-t3.45.tgz(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
745 + specifier: file:deps/react-native-screens-5.0.0-t3.48.tgz
746 + version: file:apps/mobile/deps/react-native-screens-5.0.0-t3.48.tgz(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
747 react-native-svg:
748 specifier: 15.16.0
749 version: 15.16.0(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
@@ -10914,9 +10914,9 @@ packages:
10914 react: '*'
10915 react-native: '*'
10916
10917 - react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.45.tgz:
10918 - resolution: {integrity: sha512-FgmMB7T2tb0pEKgdsRs5sRCIRfIOHFqEk3lqaRA53dYb51rxlE9utrAoxbUPHcAROAAP2QA55KUTD9V71SoNqA==, tarball: file:apps/mobile/deps/react-native-screens-5.0.0-t3.45.tgz}
10919 - version: 5.0.0-t3.45
10917 + react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.48.tgz:
10918 + resolution: {integrity: sha512-DQa7yVsOye72bUNH4UVC3D8QicmOm+LMFLpZui6ZEnwU5wtlyEsqFX26kKSvDkpByAffQVIqqJ3s0QNCGNwF1A==, tarball: file:apps/mobile/deps/react-native-screens-5.0.0-t3.48.tgz}
10919 + version: 5.0.0-t3.48
10920 peerDependencies:
10921 react: '*'
10922 react-native: '*'
@@ -15896,7 +15896,7 @@ snapshots:
15896 optionalDependencies:
15897 '@react-native-masked-view/masked-view': 0.3.2(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
15898
15899 - '@react-navigation/native-stack@7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(fedae76d040d2e46f454f147f7fa3a09)':
15899 + '@react-navigation/native-stack@7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(c96dd4885eac0393fe69fdf9aeb7f361)':
15900 dependencies:
15901 '@react-navigation/elements': 2.9.45(d8845bac868f4d8a58c8a8f12ad0d4a5)
15902 '@react-navigation/native': 7.5.1(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
@@ -15904,7 +15904,7 @@ snapshots:
15904 react: 19.3.0
15905 react-native: 0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6)
15906 react-native-safe-area-context: 5.10.1(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
15907 - react-native-screens: file:apps/mobile/deps/react-native-screens-5.0.0-t3.45.tgz(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
15907 + react-native-screens: file:apps/mobile/deps/react-native-screens-5.0.0-t3.48.tgz(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0)
15908 sf-symbols-typescript: 2.2.0
15909 warn-once: 0.1.1
15910 transitivePeerDependencies:
@@ -21476,7 +21476,7 @@ snapshots:
21476 react: 19.3.0
21477 react-native: 0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6)
21478
21479 - react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.45.tgz(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0):
21479 + react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.48.tgz(react-native@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.0(@babel/core@7.29.7(supports-color@8.1.1))(bufferutil@4.1.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(@types/react@19.3.0)(bufferutil@4.1.0)(react@19.3.0)(supports-color@8.1.1)(utf-8-validate@6.0.6))(react@19.3.0):
21480 dependencies:
21481 react: 19.3.0
21482 react-freeze: 1.0.4(react@19.3.0)