@devries-cameron20 / t3code Mirror · read-only / commits / 6b7027b1f4
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 21, 11:00 UTC

fix(mobile): a tab's bar buttons no longer fade in on its first visit (#37302)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Nov 15, 2026 at 16:58 UTC 6b7027b1f43eebc4c7edf5304236a0775b2d8928
13 files changed +375 -247
apps/mobile/deps/react-native-screens-5.0.0-t3.55.tgz
Binary files a/apps/mobile/deps/react-native-screens-5.0.0-t3.55.tgz and /dev/null differ
apps/mobile/deps/react-native-screens-5.0.0-t3.57.tgz
Binary files /dev/null and b/apps/mobile/deps/react-native-screens-5.0.0-t3.57.tgz differ
apps/mobile/package.json
+1 -1
@@ -134,7 +134,7 @@
134 "react-native-pdf-jsi": "6.1.0",
135 "react-native-reanimated": "4.7.1",
136 "react-native-safe-area-context": "~5.11.1",
137 - "react-native-screens": "file:deps/react-native-screens-5.0.0-t3.55.tgz",
137 + "react-native-screens": "file:deps/react-native-screens-5.0.0-t3.57.tgz",
138 "react-native-svg": "15.16.1",
139 "react-native-webview": "14.0.1",
140 "react-native-worklets": "0.13.1",
apps/mobile/src/features/layout/createWorkspaceStackNavigator.ios.tsx
+27 -22
@@ -171,6 +171,7 @@ function ColumnScreen(props: {
171 />
172 <ColumnContent
173 primary={sidebar}
174 + column={props.primary ? "primary" : undefined}
175 insetHorizontally={
176 (options as AppNativeStackNavigationOptions).nativeContentInsetHorizontally
177 }
@@ -434,7 +435,7 @@ function WorkspaceColumns(
435 <PaneContext value="content">
436 <EmptyDetailHeader onCompose={detailCompose} />
437 </PaneContext>
437 - <ColumnContent>
438 + <ColumnContent column="empty-detail">
439 <WorkspaceEmptyDetail
440 tab={settingsOpen ? "settings" : selectedTab}
441 onStartNewTask={
@@ -537,6 +538,7 @@ function WorkspaceStackView(props: ViewProps & { readonly nativeColumns: boolean
538 render: () => (
539 <WorkspaceNativeTabs
540 tabsInSidebarColumn={props.nativeColumns && !workspacePage && deviceType === "pad"}
541 + detailOpen={projection.detail.length > 0}
542 hidden={
543 projection.detail.length > 0 &&
544 !primaryVisible &&
@@ -544,27 +546,30 @@ function WorkspaceStackView(props: ViewProps & { readonly nativeColumns: boolean
546 (metrics?.verticalBarEdge ?? "none") === "none"
547 }
548 >
547 - {props.nativeColumns && !workspacePage ? (
548 - <WorkspaceColumns
549 - {...props}
550 - descriptors={descriptors}
551 - primary={primaryRoute}
552 - detail={projection.detail}
553 - />
554 - ) : (
555 - <V5CardStackView
556 - {...props}
557 - onRootVisibilityChange={setPrimaryVisible}
558 - onNativePopChange={setNativelyPoppingWorkspaceRoute}
559 - descriptors={descriptors}
560 - state={{
561 - ...props.state,
562 - routes: [primaryRoute, ...projection.detail],
563 - index: projection.detail.length,
564 - preloadedRoutes: [],
565 - }}
566 - />
567 - )}
549 + {(slotWorkspace) =>
550 + props.nativeColumns &&
551 + workspaceUsesColumns(slotWorkspace.state.selectedTab, slotWorkspace.settingsOpen) ? (
552 + <WorkspaceColumns
553 + {...props}
554 + descriptors={descriptors}
555 + primary={primaryRoute}
556 + detail={projection.detail}
557 + />
558 + ) : (
559 + <V5CardStackView
560 + {...props}
561 + onRootVisibilityChange={setPrimaryVisible}
562 + onNativePopChange={setNativelyPoppingWorkspaceRoute}
563 + descriptors={descriptors}
564 + state={{
565 + ...props.state,
566 + routes: [primaryRoute, ...projection.detail],
567 + index: projection.detail.length,
568 + preloadedRoutes: [],
569 + }}
570 + />
571 + )
572 + }
573 </WorkspaceNativeTabs>
574 ),
575 };
apps/mobile/src/features/layout/workspace/WorkspaceNativeTabs.ios.tsx
+137 -72
@@ -21,6 +21,7 @@ import {
21 } from "react-native-screens";
22
23 import { WorkspaceTabsContext, useWorkspaceTabs } from "./WorkspaceTabsContext";
24 +import type { NavigationTab } from "./navigation-tab-order";
25 import {
26 NATIVE_WORKSPACE_TAB_SLOTS,
27 workspaceTabForNativeSlot,
@@ -28,8 +29,10 @@ import {
29 } from "./workspace-tabs-state";
30 import {
31 NativeWorkspaceTabActivityContext,
32 + WorkspaceColumnMetricsContext,
33 WorkspaceSlotOptionsContext,
34 } from "../../../native/v5-workspace-context";
35 +import type { NativeLayoutMetrics } from "../../../lib/reserved-regions";
36 import {
37 useCompactWorkspaceTabs,
38 useFloatingWorkspaceTabs,
@@ -46,9 +49,13 @@ const PULL_REQUEST_ICON = require("../../../../assets/icons/pull-request.png");
49 /** Retain each native controller tree; removing its root can leave RNS's stack empty. */
50 function RetainedWorkspaceTab(props: {
51 readonly slot: string;
52 + readonly tab: NavigationTab;
53 readonly active: boolean;
54 + /** Mount the header of a slot that hasn't been shown yet. */
55 + readonly prewarm: boolean;
56 readonly setMountedSlots: Dispatch<SetStateAction<ReadonlySet<string>>>;
51 - readonly children: ReactNode;
57 + readonly setPrewarmRequests: Dispatch<SetStateAction<ReadonlyMap<string, number>>>;
58 + readonly children: (workspace: SlotWorkspace) => ReactNode;
59 }) {
60 const workspace = useWorkspaceTabs()!;
61 // Whether this slot is the visible one, read by cleanups after the switch has committed.
@@ -58,9 +65,25 @@ function RetainedWorkspaceTab(props: {
65 activeRef.current = props.active;
66 }, [props.active]);
67 const isActive = () => activeRef.current;
68 + const [content, setContent] = useState(
69 + props.active ? { workspace, children: props.children, headerOnly: false } : null,
70 + );
71 + if (props.active && (content?.workspace !== workspace || content?.children !== props.children))
72 + setContent({ workspace, children: props.children, headerOnly: false });
73 + else if (!props.active && props.prewarm && content === null)
74 + setContent({
75 + workspace: {
76 + ...workspace,
77 + settingsOpen: props.slot === "settings",
78 + state: { ...workspace.state, selectedTab: props.tab },
79 + },
80 + children: props.children,
81 + headerOnly: true,
82 + });
83 const activity = {
84 active: props.active,
85 isActive,
86 + headerOnly: content?.headerOnly === true,
87 };
88 const [optionsByRoute, setOptionsByRoute] = useState<ReadonlyMap<string, object>>(new Map());
89 // Stable, so writers and the cleanups that depend on them don't re-run on every write.
@@ -69,13 +92,9 @@ function RetainedWorkspaceTab(props: {
92 new Map(current).set(routeKey, { ...current.get(routeKey), ...options }),
93 );
94 const slotOptions = { byRoute: optionsByRoute, set: setRouteOptions };
72 - const [content, setContent] = useState(
73 - props.active ? { workspace, children: props.children } : null,
74 - );
75 - if (props.active && (content?.workspace !== workspace || content?.children !== props.children))
76 - setContent({ workspace, children: props.children });
77 - const mounted = content !== null;
78 - const { slot, setMountedSlots } = props;
95 + const mounted = content !== null && !content.headerOnly;
96 + const headerOnly = content?.headerOnly === true;
97 + const { slot, setMountedSlots, setPrewarmRequests } = props;
98 // oxlint-disable-next-line t3code/no-unreasoned-state-sync -- reports the slot's first native mount to the host, which holds the switch until then
99 useEffect(() => {
100 if (!mounted) return;
@@ -94,20 +113,35 @@ function RetainedWorkspaceTab(props: {
113 });
114 };
115 }, [mounted, slot, setMountedSlots]);
116 + // oxlint-disable-next-line t3code/no-unreasoned-state-sync -- asks UIKit to prewarm a hidden header after each write, since bar items it rebuilds fade in on their own first entry
117 + useEffect(() => {
118 + if (!headerOnly || optionsByRoute.size === 0) return;
119 + const frame = requestAnimationFrame(() =>
120 + setPrewarmRequests((current) => new Map(current).set(slot, (current.get(slot) ?? 0) + 1)),
121 + );
122 + return () => cancelAnimationFrame(frame);
123 + }, [headerOnly, optionsByRoute, slot, setPrewarmRequests]);
124 return content ? (
125 <NativeWorkspaceTabActivityContext value={activity}>
126 <WorkspaceSlotOptionsContext value={slotOptions}>
100 - <WorkspaceTabsContext value={content.workspace}>{content.children}</WorkspaceTabsContext>
127 + <WorkspaceTabsContext value={content.workspace}>
128 + {content.children(content.workspace)}
129 + </WorkspaceTabsContext>
130 </WorkspaceSlotOptionsContext>
131 </NativeWorkspaceTabActivityContext>
132 ) : null;
133 }
134
135 +type SlotWorkspace = NonNullable<ReturnType<typeof useWorkspaceTabs>>;
136 +
137 export function WorkspaceNativeTabs(props: {
107 - readonly children: ReactNode;
138 + /** Renders a slot's tree for its own tab, which can lay out differently from the shown one. */
139 + readonly children: (workspace: SlotWorkspace) => ReactNode;
140 readonly hidden: boolean;
141 /** The sidebar column draws the tabs itself, so they leave with it. */
142 readonly tabsInSidebarColumn?: boolean;
143 + /** Every slot renders the pushed routes too, so prewarming waits until none are. */
144 + readonly detailOpen: boolean;
145 }) {
146 const workspace = useWorkspaceTabs()!;
147 const order = useEnabledNavigationTabs();
@@ -139,72 +173,103 @@ export function WorkspaceNativeTabs(props: {
173 const [shownScreenKey, setShownScreenKey] = useState(selectedScreenKey);
174 if (shownScreenKey !== selectedScreenKey && mountedSlots.has(selectedScreenKey))
175 setShownScreenKey(selectedScreenKey);
176 + // Once the first tab is up, the others mount their headers for UIKit to put in the window
177 + // once: iOS 26 fades bar items in the first time they enter it, which a first visit would show.
178 + const [prewarm, setPrewarm] = useState(false);
179 + const [columnMetrics, setColumnMetrics] = useState<ReadonlyMap<string, NativeLayoutMetrics>>(
180 + () => new Map(),
181 + );
182 + const sharedColumnMetrics = {
183 + byColumn: columnMetrics,
184 + publish: (column: string, metrics: NativeLayoutMetrics) =>
185 + setColumnMetrics((current) =>
186 + JSON.stringify(current.get(column)) === JSON.stringify(metrics)
187 + ? current
188 + : new Map(current).set(column, metrics),
189 + ),
190 + };
191 + const [prewarmRequests, setPrewarmRequests] = useState<ReadonlyMap<string, number>>(
192 + () => new Map(),
193 + );
194 + const prewarmReady = mountedSlots.size > 0 && !props.detailOpen;
195 + // oxlint-disable-next-line t3code/no-unreasoned-state-sync -- waits for the JS thread to go idle after the first tab mounts
196 + useEffect(() => {
197 + if (!prewarmReady || prewarm) return;
198 + const handle = requestIdleCallback(() => setPrewarm(true), { timeout: 2_000 });
199 + return () => cancelIdleCallback(handle);
200 + }, [prewarmReady, prewarm]);
201 const request = { selectedScreenKey: shownScreenKey, baseProvenance: provenance };
202 return (
203 <View style={{ flex: 1 }}>
145 - <Tabs.Host
146 - navStateRequest={request}
147 - tabBarHidden={props.hidden || !systemTabBar}
148 - ios={{
149 - tabBarControllerMode: "tabBar",
150 - tabBarMinimizeBehavior: "never",
151 - tabBarTintColor: colors["--color-primary"],
152 - }}
153 - onTabSelectionRejected={({
154 - nativeEvent,
155 - }: NativeSyntheticEvent<TabSelectionRejectedEvent>) =>
156 - setProvenance(nativeEvent.provenance)
157 - }
158 - onTabSelectionPrevented={({
159 - nativeEvent,
160 - }: NativeSyntheticEvent<TabSelectionPreventedEvent>) => {
161 - const tab = workspaceTabForNativeSlot(primaryTabs, nativeEvent.preventedScreenKey);
162 - if (tab) selectTab(tab);
163 - }}
164 - onTabSelected={({ nativeEvent }: NativeSyntheticEvent<TabSelectedEvent>) => {
165 - setProvenance(nativeEvent.provenance);
166 - if (nativeEvent.actionOrigin === "programmatic-js") return;
167 - const tab = workspaceTabForNativeSlot(primaryTabs, nativeEvent.selectedScreenKey);
168 - if (tab) selectTab(tab);
169 - }}
170 - >
171 - {NATIVE_WORKSPACE_TAB_SLOTS.map((slot, index) => {
172 - const settings = slot === "settings";
173 - const tab = settings ? (overflow ?? selectedTab) : primaryTabs[index];
174 - if (!tab) return null;
175 - return (
176 - <Tabs.Screen
177 - // Stable slot controllers keep UIKit's stacks attached when a section moves into Settings.
178 - key={slot}
179 - screenKey={slot}
180 - // Taps on an unmounted slot select it from JS, which shows it once it has mounted.
181 - preventNativeSelection={!mountedSlots.has(slot) && slot !== shownScreenKey}
182 - title=""
183 - tabBarItemAccessibilityLabel={settings ? "Settings" : WORKSPACE_TAB_LABELS[tab]}
184 - ios={{
185 - icon: settings
186 - ? { type: "sfSymbol", name: "gearshape" }
187 - : tab === "pullRequests"
188 - ? { type: "templateSource", templateSource: PULL_REQUEST_ICON }
189 - : { type: "sfSymbol", name: NAVIGATION_TAB_ICONS[tab] },
190 - selectedIcon:
191 - !settings && tab === "threads"
192 - ? { type: "sfSymbol", name: "text.bubble.fill" }
193 - : undefined,
194 - overrideScrollViewContentInsetAdjustmentBehavior: false,
195 - }}
196 - >
197 - <RetainedWorkspaceTab
198 - slot={slot}
199 - setMountedSlots={setMountedSlots}
200 - active={settings ? selectedSlot === -1 : selectedSlot === index}
204 + <WorkspaceColumnMetricsContext value={sharedColumnMetrics}>
205 + <Tabs.Host
206 + navStateRequest={request}
207 + tabBarHidden={props.hidden || !systemTabBar}
208 + ios={{
209 + tabBarControllerMode: "tabBar",
210 + tabBarMinimizeBehavior: "never",
211 + tabBarTintColor: colors["--color-primary"],
212 + }}
213 + onTabSelectionRejected={({
214 + nativeEvent,
215 + }: NativeSyntheticEvent<TabSelectionRejectedEvent>) =>
216 + setProvenance(nativeEvent.provenance)
217 + }
218 + onTabSelectionPrevented={({
219 + nativeEvent,
220 + }: NativeSyntheticEvent<TabSelectionPreventedEvent>) => {
221 + const tab = workspaceTabForNativeSlot(primaryTabs, nativeEvent.preventedScreenKey);
222 + if (tab) selectTab(tab);
223 + }}
224 + onTabSelected={({ nativeEvent }: NativeSyntheticEvent<TabSelectedEvent>) => {
225 + setProvenance(nativeEvent.provenance);
226 + if (nativeEvent.actionOrigin === "programmatic-js") return;
227 + const tab = workspaceTabForNativeSlot(primaryTabs, nativeEvent.selectedScreenKey);
228 + if (tab) selectTab(tab);
229 + }}
230 + >
231 + {NATIVE_WORKSPACE_TAB_SLOTS.map((slot, index) => {
232 + const settings = slot === "settings";
233 + const tab = settings ? (overflow ?? selectedTab) : primaryTabs[index];
234 + if (!tab) return null;
235 + return (
236 + <Tabs.Screen
237 + // Stable slot controllers keep UIKit's stacks attached when a section moves into Settings.
238 + key={slot}
239 + screenKey={slot}
240 + // Taps on an unmounted slot select it from JS, which shows it once it has mounted.
241 + preventNativeSelection={!mountedSlots.has(slot) && slot !== shownScreenKey}
242 + title=""
243 + tabBarItemAccessibilityLabel={settings ? "Settings" : WORKSPACE_TAB_LABELS[tab]}
244 + ios={{
245 + prewarmRequest: prewarmRequests.get(slot) ?? 0,
246 + icon: settings
247 + ? { type: "sfSymbol", name: "gearshape" }
248 + : tab === "pullRequests"
249 + ? { type: "templateSource", templateSource: PULL_REQUEST_ICON }
250 + : { type: "sfSymbol", name: NAVIGATION_TAB_ICONS[tab] },
251 + selectedIcon:
252 + !settings && tab === "threads"
253 + ? { type: "sfSymbol", name: "text.bubble.fill" }
254 + : undefined,
255 + overrideScrollViewContentInsetAdjustmentBehavior: false,
256 + }}
257 >
202 - {props.children}
203 - </RetainedWorkspaceTab>
204 - </Tabs.Screen>
205 - );
206 - })}
207 - </Tabs.Host>
258 + <RetainedWorkspaceTab
259 + slot={slot}
260 + tab={tab}
261 + prewarm={prewarm}
262 + setMountedSlots={setMountedSlots}
263 + setPrewarmRequests={setPrewarmRequests}
264 + active={settings ? selectedSlot === -1 : selectedSlot === index}
265 + >
266 + {props.children}
267 + </RetainedWorkspaceTab>
268 + </Tabs.Screen>
269 + );
270 + })}
271 + </Tabs.Host>
272 + </WorkspaceColumnMetricsContext>
273 {(deviceType === "pad" ||
274 compactTabs ||
275 (layout.variant === "medium" &&
apps/mobile/src/features/layout/workspace/WorkspaceRootScreen.tsx
+7 -2
@@ -12,7 +12,10 @@ import { SafeAreaInsetsContext, useSafeAreaInsets } from "react-native-safe-area
12 import { CompactBrandTitle } from "../../../components/CompactBrandTitle";
13 import { HeaderItemsWidthContext } from "../../../native/header-items-width";
14 import { NativeStackScreenOptions } from "../../../native/StackHeader";
15 -import { NativePrimaryColumnContext } from "../../../native/v5-workspace-context";
15 +import {
16 + NativePrimaryColumnContext,
17 + NativeWorkspaceTabActivityContext,
18 +} from "../../../native/v5-workspace-context";
19 import { isDuoDevice } from "../../../lib/device-type";
20 import { NATIVE_LIQUID_GLASS_SUPPORTED } from "../../../native/native-glass";
21 import {
@@ -89,6 +92,7 @@ function WorkspaceRootContent() {
92 const { state } = workspace;
93 // Settings is a workspace tab too; its list takes the place of the selected tab's.
94 const settingsOpen = workspace.settingsOpen;
95 + const headerOnly = use(NativeWorkspaceTabActivityContext)?.headerOnly === true;
96 const renderHeaderTitle = () => (
97 <WorkspaceRootTitle
98 columnWidth={width}
@@ -149,7 +153,8 @@ function WorkspaceRootContent() {
153 }}
154 />
155 <SafeAreaInsetsContext value={compactTabs ? { ...insets, bottom: 0 } : insets}>
152 - {settingsOpen ? (
156 + {/* Usage draws its own header, and skips its body itself. */}
157 + {headerOnly && (settingsOpen || state.selectedTab !== "usage") ? null : settingsOpen ? (
158 <WorkspaceSettingsList />
159 ) : enabled.length === 0 ? (
160 <WorkspaceNoTabs />
apps/mobile/src/features/usage/UsageRouteScreen.tsx
+142 -134
@@ -27,7 +27,7 @@ import {
27 makeWindow,
28 usageSourceMessages,
29 } from "@t3tools/shared/usageFormat";
30 -import { useRef, useState, type ReactNode } from "react";
30 +import { use, useRef, useState, type ReactNode } from "react";
31 import { View } from "react-native";
32 import { RefreshControl } from "../../components/ui/RefreshControl";
33 import Animated, { FadeIn, ReduceMotion } from "react-native-reanimated";
@@ -39,6 +39,7 @@ import { AppText as Text } from "../../components/ui/AppText";
39 import { useWorkspaceSettledContentWidth } from "../layout/workspace-content-width";
40 import { cn } from "../../lib/cn";
41 import { SettingsScreen } from "../settings/components/SettingsScreen";
42 +import { NativeWorkspaceTabActivityContext } from "../../native/v5-workspace-context";
43 import { useUsage, type EnvironmentUsageStatus } from "../../state/usage";
44 import { SettingsSection } from "../settings/components/SettingsSection";
45 import { UsageDailyChart } from "./UsageDailyChart";
@@ -79,6 +80,7 @@ function UsageScreen(props: {
80 readonly tabParam: string | undefined;
81 }) {
82 const insets = useSafeAreaInsets();
83 + const headerOnly = use(NativeWorkspaceTabActivityContext)?.headerOnly === true;
84 const [selection, setSelection] = useState(() => ({
85 params: props.tabParam,
86 view: (props.tabParam === "usage" ? "cost" : "limits") as UsageView,
@@ -106,9 +108,13 @@ function UsageScreen(props: {
108 const { merged, environments, selectedEnvironments, isPending, refresh } = useUsage(
109 window,
110 selectedEnvironmentIds,
111 + !headerOnly,
112 );
113 const isFocused = useIsFocused();
111 - const limits = useRefreshLimits(selectedEnvironmentIds, isFocused && view === "limits");
114 + const limits = useRefreshLimits(
115 + selectedEnvironmentIds,
116 + isFocused && view === "limits" && !headerOnly,
117 + );
118 const sourceMessages = usageSourceMessages(
119 selectedEnvironments.flatMap((environment) => environment.summary?.sources ?? []),
120 );
@@ -214,150 +220,152 @@ function UsageScreen(props: {
220 menus={showEnvironmentFilter ? [environmentMenu] : undefined}
221 workspaceRoot={props.workspace}
222 >
217 - <ScrollView
218 - contentInsetAdjustmentBehavior="automatic"
219 - showsVerticalScrollIndicator={false}
220 - className="flex-1"
221 - contentContainerClassName="px-5 pt-4"
222 - contentContainerStyle={{ paddingBottom: Math.max(insets.bottom, 18) + 18 }}
223 - onLayout={(event) => setWidth(event.nativeEvent.layout.width)}
224 - refreshControl={
225 - showingLimits || canReadDiagnostics ? (
226 - <RefreshControl
227 - refreshing={showingLimits ? limits.refreshing : refreshingUsage}
228 - onRefresh={showingLimits ? () => void limits.refresh() : refreshWindow}
229 - />
230 - ) : undefined
231 - }
232 - >
233 - <View className="w-full gap-6 self-center" style={{ maxWidth: MAX_CONTENT_WIDTH }}>
234 - {wide ? (
235 - <View className="flex-row items-center gap-3">
236 - {showingLimits ? (
237 - <View className="flex-1" />
238 - ) : (
223 + {headerOnly ? null : (
224 + <ScrollView
225 + contentInsetAdjustmentBehavior="automatic"
226 + showsVerticalScrollIndicator={false}
227 + className="flex-1"
228 + contentContainerClassName="px-5 pt-4"
229 + contentContainerStyle={{ paddingBottom: Math.max(insets.bottom, 18) + 18 }}
230 + onLayout={(event) => setWidth(event.nativeEvent.layout.width)}
231 + refreshControl={
232 + showingLimits || canReadDiagnostics ? (
233 + <RefreshControl
234 + refreshing={showingLimits ? limits.refreshing : refreshingUsage}
235 + onRefresh={showingLimits ? () => void limits.refresh() : refreshWindow}
236 + />
237 + ) : undefined
238 + }
239 + >
240 + <View className="w-full gap-6 self-center" style={{ maxWidth: MAX_CONTENT_WIDTH }}>
241 + {wide ? (
242 + <View className="flex-row items-center gap-3">
243 + {showingLimits ? (
244 + <View className="flex-1" />
245 + ) : (
246 + <SegmentedControl
247 + options={WINDOW_OPTIONS}
248 + selected={windowDays}
249 + onSelect={selectWindow}
250 + size="compact"
251 + className="flex-1"
252 + />
253 + )}
254 <SegmentedControl
240 - options={WINDOW_OPTIONS}
241 - selected={windowDays}
242 - onSelect={selectWindow}
255 + options={VIEW_OPTIONS}
256 + selected={view}
257 + onSelect={setView}
258 size="compact"
259 + role="tab"
260 className="flex-1"
261 />
246 - )}
262 + </View>
263 + ) : (
264 <SegmentedControl
265 options={VIEW_OPTIONS}
266 selected={view}
267 onSelect={setView}
251 - size="compact"
268 role="tab"
253 - className="flex-1"
254 - />
255 - </View>
256 - ) : (
257 - <SegmentedControl
258 - options={VIEW_OPTIONS}
259 - selected={view}
260 - onSelect={setView}
261 - role="tab"
262 - />
263 - )}
264 - <Animated.View
265 - key={showingLimits ? "limits" : "usage"}
266 - entering={FadeIn.duration(160).reduceMotion(ReduceMotion.System)}
267 - className="gap-6"
268 - >
269 - {showingLimits ? (
270 - <UsageLimitsSection
271 - now={limits.now}
272 - failedLabels={limits.failedLabels}
273 - selectedEnvironmentIds={selectedEnvironmentIds}
274 - wide={wide}
269 />
276 - ) : (
277 - <>
278 - {wide ? null : (
279 - <SegmentedControl
280 - options={WINDOW_OPTIONS}
281 - selected={windowDays}
282 - onSelect={selectWindow}
283 - size="compact"
284 - />
285 - )}
286 - <ChatGptUsageSummary selectedEnvironmentIds={selectedEnvironmentIds} />
287 - {merged.duplicateSources.length > 0 ? (
288 - <Text className="text-sm text-foreground-muted">
289 - Counted once across environments sharing a transcript directory:{" "}
290 - {merged.duplicateSources.join(", ")}
291 - </Text>
292 - ) : null}
293 - {isPending ? (
294 - <Text className="py-16 text-center text-base text-foreground-muted">
295 - Scanning provider transcripts…
296 - </Text>
297 - ) : selectedEnvironments.length === 0 ? (
298 - <Text className="py-16 text-center text-base text-foreground-muted">
299 - {environments.length === 0
300 - ? "Connect an environment to see usage."
301 - : "Select an environment to see usage."}
302 - </Text>
303 - ) : !canReadDiagnostics ? (
304 - <View className="gap-2 py-16">
305 - {selectedEnvironments.map((environment) => (
306 - <Text
307 - key={environment.environmentId}
308 - className="text-center text-base text-foreground-muted"
309 - >
310 - {selectedEnvironments.length > 1 ? `${environment.label}: ` : null}
311 - {environment.error}
312 - </Text>
313 - ))}
314 - </View>
315 - ) : (
316 - <>
317 - {sourceMessages.map((message) => (
318 - <Text key={message} className="text-sm text-foreground-muted">
319 - {message}
320 - </Text>
321 - ))}
322 - <UsageUpdating dimmed={progress.dimmed} label={progress.label}>
323 - {wide ? (
324 - <View className="flex-row gap-6">
325 - <View className="w-72 gap-6">
326 - <View className="rounded-[24px] border-continuous bg-grouped-card p-4">
327 - <UsageSummary merged={merged} metric={metric} />
270 + )}
271 + <Animated.View
272 + key={showingLimits ? "limits" : "usage"}
273 + entering={FadeIn.duration(160).reduceMotion(ReduceMotion.System)}
274 + className="gap-6"
275 + >
276 + {showingLimits ? (
277 + <UsageLimitsSection
278 + now={limits.now}
279 + failedLabels={limits.failedLabels}
280 + selectedEnvironmentIds={selectedEnvironmentIds}
281 + wide={wide}
282 + />
283 + ) : (
284 + <>
285 + {wide ? null : (
286 + <SegmentedControl
287 + options={WINDOW_OPTIONS}
288 + selected={windowDays}
289 + onSelect={selectWindow}
290 + size="compact"
291 + />
292 + )}
293 + <ChatGptUsageSummary selectedEnvironmentIds={selectedEnvironmentIds} />
294 + {merged.duplicateSources.length > 0 ? (
295 + <Text className="text-sm text-foreground-muted">
296 + Counted once across environments sharing a transcript directory:{" "}
297 + {merged.duplicateSources.join(", ")}
298 + </Text>
299 + ) : null}
300 + {isPending ? (
301 + <Text className="py-16 text-center text-base text-foreground-muted">
302 + Scanning provider transcripts…
303 + </Text>
304 + ) : selectedEnvironments.length === 0 ? (
305 + <Text className="py-16 text-center text-base text-foreground-muted">
306 + {environments.length === 0
307 + ? "Connect an environment to see usage."
308 + : "Select an environment to see usage."}
309 + </Text>
310 + ) : !canReadDiagnostics ? (
311 + <View className="gap-2 py-16">
312 + {selectedEnvironments.map((environment) => (
313 + <Text
314 + key={environment.environmentId}
315 + className="text-center text-base text-foreground-muted"
316 + >
317 + {selectedEnvironments.length > 1 ? `${environment.label}: ` : null}
318 + {environment.error}
319 + </Text>
320 + ))}
321 + </View>
322 + ) : (
323 + <>
324 + {sourceMessages.map((message) => (
325 + <Text key={message} className="text-sm text-foreground-muted">
326 + {message}
327 + </Text>
328 + ))}
329 + <UsageUpdating dimmed={progress.dimmed} label={progress.label}>
330 + {wide ? (
331 + <View className="flex-row gap-6">
332 + <View className="w-72 gap-6">
333 + <View className="rounded-[24px] border-continuous bg-grouped-card p-4">
334 + <UsageSummary merged={merged} metric={metric} />
335 + </View>
336 + {providers}
337 + </View>
338 + <View className="min-w-0 flex-1">
339 + <ChartCard
340 + {...chart}
341 + height={WIDE_CHART_HEIGHT}
342 + fill
343 + title={`${isPast24Hours ? "Hourly" : "Daily"} ${metric === "cost" ? "cost" : "processed tokens"}`}
344 + />
345 </View>
329 - {providers}
330 - </View>
331 - <View className="min-w-0 flex-1">
332 - <ChartCard
333 - {...chart}
334 - height={WIDE_CHART_HEIGHT}
335 - fill
336 - title={`${isPast24Hours ? "Hourly" : "Daily"} ${metric === "cost" ? "cost" : "processed tokens"}`}
337 - />
346 </View>
339 - </View>
340 - ) : (
341 - <>
342 - <ChartCard {...chart} height={CHART_HEIGHT} />
343 - {providers}
344 - </>
345 - )}
346 - <TotalsSection
347 - merged={merged}
348 - isPast24Hours={isPast24Hours}
349 - columns={width >= 900 ? 6 : wide ? 3 : 2}
350 - />
351 - <CostSection merged={merged} wide={wide} />
352 - <ModelsSection merged={merged} metric={metric} columns={wide ? 2 : 1} />
353 - </UsageUpdating>
354 - </>
355 - )}
356 - </>
357 - )}
358 - </Animated.View>
359 - </View>
360 - </ScrollView>
347 + ) : (
348 + <>
349 + <ChartCard {...chart} height={CHART_HEIGHT} />
350 + {providers}
351 + </>
352 + )}
353 + <TotalsSection
354 + merged={merged}
355 + isPast24Hours={isPast24Hours}
356 + columns={width >= 900 ? 6 : wide ? 3 : 2}
357 + />
358 + <CostSection merged={merged} wide={wide} />
359 + <ModelsSection merged={merged} metric={metric} columns={wide ? 2 : 1} />
360 + </UsageUpdating>
361 + </>
362 + )}
363 + </>
364 + )}
365 + </Animated.View>
366 + </View>
367 + </ScrollView>
368 + )}
369 </SettingsScreen>
370 );
371 }
apps/mobile/src/native/NativeColumnContent.ios.tsx
+19 -3
@@ -1,18 +1,34 @@
1 import { HeaderHeightContext } from "@react-navigation/elements";
2 -import { useState, type ReactNode } from "react";
2 +import { use, useState, type ReactNode } from "react";
3 import { View, type ColorValue } from "react-native";
4 import { SafeAreaProvider, SafeAreaView } from "react-native-safe-area-context";
5 import { NativeColumnLayoutMetricsContext } from "./native-layout-metrics";
6 import type { NativeLayoutMetrics } from "../lib/reserved-regions";
7 import { NativeLayoutObserver } from "./NativeLayoutObserver";
8 +import {
9 + NativeWorkspaceTabActivityContext,
10 + WorkspaceColumnMetricsContext,
11 +} from "./v5-workspace-context";
12
13 export function NativeColumnContent(props: {
14 readonly children: ReactNode;
15 readonly primary?: boolean;
16 readonly insetHorizontally?: boolean;
17 readonly backgroundColor?: ColorValue;
18 + /** Shares this column's metrics across workspace tabs; see `WorkspaceColumnMetricsContext`. */
19 + readonly column?: string;
20 }) {
15 - const [metrics, setMetrics] = useState<NativeLayoutMetrics | null>(null);
21 + const tabActivity = use(NativeWorkspaceTabActivityContext);
22 + const shared = use(WorkspaceColumnMetricsContext);
23 + const [measured, setMeasured] = useState<NativeLayoutMetrics | null>(null);
24 + const onMetrics = (next: NativeLayoutMetrics) => {
25 + // A hidden tab's insets lack the bars UIKit lays out only for the selected tab.
26 + if (tabActivity && !tabActivity.isActive()) return;
27 + setMeasured(next);
28 + if (props.column !== undefined) shared?.publish(props.column, next);
29 + };
30 + const metrics =
31 + measured ?? (props.column === undefined ? null : (shared?.byColumn.get(props.column) ?? null));
32 return (
33 <View
34 className={props.primary ? "flex-1 bg-drawer" : "flex-1 bg-screen"}
@@ -27,7 +43,7 @@ export function NativeColumnContent(props: {
43 >
44 {/* Observe the inset body. UIKit can reserve other columns in its safe area. */}
45 <View style={{ flex: 1 }}>
30 - <NativeLayoutObserver onChange={setMetrics} />
46 + <NativeLayoutObserver onChange={onMetrics} />
47 <NativeColumnLayoutMetricsContext value={metrics}>
48 <HeaderHeightContext value={metrics?.safeArea.top ?? undefined}>
49 {props.children}
apps/mobile/src/native/StackHeader.tsx
+2 -1
@@ -190,7 +190,8 @@ export function NativeStackScreenOptions(props: {
190 }) {
191 const navigation = useNativeStackNavigation();
192 const setOptions = useScreenOptionsWriter();
193 - const tabActive = use(NativeWorkspaceTabActivityContext)?.active ?? true;
193 + const tabActivity = use(NativeWorkspaceTabActivityContext);
194 + const tabActive = tabActivity ? tabActivity.active || tabActivity.headerOnly === true : true;
195 const lastAppliedOptionsSignatureRef = useRef<string | undefined>(undefined);
196 const latestOptionFunctionsRef = useRef(new Map<string, (...args: unknown[]) => unknown>());
197 const optionFunctionWrappersRef = useRef(new Map<string, (...args: unknown[]) => unknown>());
apps/mobile/src/native/v5-workspace-context.tsx
+14
@@ -1,6 +1,7 @@
1 import { createContext } from "react";
2
3 import type { InspectorContent } from "../features/layout/inspector-panes";
4 +import type { NativeLayoutMetrics } from "../lib/reserved-regions";
5
6 export const NativeWorkspaceModeContext = createContext(false);
7 /**
@@ -28,6 +29,19 @@ export function slotScreenOptions<Options extends object>(
29 export const NativeWorkspaceTabActivityContext = createContext<{
30 readonly active: boolean;
31 readonly isActive: () => boolean;
32 + /**
33 + * A tab not shown yet mounts only its header, so UIKit can put it in the window once before
34 + * the first visit; it writes header options while inactive and loads nothing.
35 + */
36 + readonly headerOnly?: boolean;
37 +} | null>(null);
38 +/**
39 + * What the shown workspace tab measured per column. UIKit lays out bars and safe areas only for
40 + * the selected tab, so a tab that hasn't been shown yet starts from these instead.
41 + */
42 +export const WorkspaceColumnMetricsContext = createContext<{
43 + readonly byColumn: ReadonlyMap<string, NativeLayoutMetrics>;
44 + readonly publish: (column: string, metrics: NativeLayoutMetrics) => void;
45 } | null>(null);
46 export const NativePrimaryColumnContext = createContext<{
47 readonly presented: boolean;
apps/mobile/src/state/usage.ts
+16 -2
@@ -74,6 +74,19 @@ const usageByWindowAtom = Atom.family((windowKey: string) =>
74 }).pipe(Atom.withLabel(`mobile-usage:window:${windowKey}`)),
75 );
76
77 +/** Every environment usage can come from, without asking any of them for usage. */
78 +const usageEnvironmentsAtom = Atom.make((get): readonly EnvironmentUsageStatus[] =>
79 + [...get(environmentPresentations.presentationsAtom)].map(([environmentId, presentation]) => ({
80 + environmentId,
81 + label: presentation.entry.target.label,
82 + isPending: true,
83 + isConnected: presentation.connection.phase === "connected",
84 + canReadDiagnostics: false,
85 + error: null,
86 + summary: null,
87 + })),
88 +).pipe(Atom.withLabel("mobile-usage:environments"));
89 +
90 export interface UsageView {
91 readonly merged: MergedUsage;
92 readonly environments: readonly EnvironmentUsageStatus[];
@@ -88,6 +101,8 @@ export interface UsageView {
101 export function useUsage(
102 input: UsageSummaryInput,
103 selectedEnvironmentIds: ReadonlySet<EnvironmentId> | null = null,
104 + /** Off, it lists the environments without loading their usage. */
105 + load = true,
106 ): UsageView {
107 const windowKey = useMemo(
108 () =>
@@ -108,8 +123,7 @@ export function useUsage(
123 input.untilTime,
124 ],
125 );
111 - const atom = usageByWindowAtom(windowKey);
112 - const environments = useAtomValue(atom);
126 + const environments = useAtomValue(load ? usageByWindowAtom(windowKey) : usageEnvironmentsAtom);
127 const selectedEnvironments = useMemo(
128 () =>
129 selectedEnvironmentIds === null
docs/operations/mobile-screens-fork.md
+1 -1
@@ -1,7 +1,7 @@
1 # Building the mobile Screens dependency
2
3 The mobile v5 stack uses a committed tarball from the
4 -[T3 Screens fork](https://github.com/pingdotgg/react-native-screens/tree/t3-v5.0.0-t3.55).
4 +[T3 Screens fork](https://github.com/pingdotgg/react-native-screens/tree/t3-v5.0.0-t3.57).
5 The fork owns the integration changes; the app does not patch this package.
6 Each archive includes compiled JavaScript, declarations, native source and
7 `t3-fork.json` recording its version, source commit and upstream base.
pnpm-lock.yaml
+9 -9
@@ -591,7 +591,7 @@ importers:
591 version: 7.5.1(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
592 '@react-navigation/native-stack':
593 specifier: 7.21.0
594 - version: 7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(ce02f236e17a3519f78477aaafd5d0d9)
594 + version: 7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(cef34c885eeb20866fbaefc5fd159892)
595 '@t3tools/client-runtime':
596 specifier: workspace:*
597 version: link:../../packages/client-runtime
@@ -779,8 +779,8 @@ importers:
779 specifier: ~5.11.1
780 version: 5.11.1(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
781 react-native-screens:
782 - specifier: file:deps/react-native-screens-5.0.0-t3.55.tgz
783 - version: file:apps/mobile/deps/react-native-screens-5.0.0-t3.55.tgz(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
782 + specifier: file:deps/react-native-screens-5.0.0-t3.57.tgz
783 + version: file:apps/mobile/deps/react-native-screens-5.0.0-t3.57.tgz(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
784 react-native-svg:
785 specifier: 15.16.1
786 version: 15.16.1(patch_hash=110f9243ffad03654ce40dd1cdb09f01af16b8fa2ccb2b2cd3d62e682c180399)(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
@@ -11617,9 +11617,9 @@ packages:
11617 react: '*'
11618 react-native: '*'
11619
11620 - react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.55.tgz:
11621 - resolution: {integrity: sha512-z/bhywEopVql2Zo/u5WkCAoaWQ0a12RMzi13pzh6ktO/c6Z3F2LgjlSfDHzTJsoh6DwDlkN/WK1Ig0a4nSV5mA==, tarball: file:apps/mobile/deps/react-native-screens-5.0.0-t3.55.tgz}
11622 - version: 5.0.0-t3.55
11620 + react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.57.tgz:
11621 + resolution: {integrity: sha512-ckw9Umyv1+rboy4dqPByz9/Akj6AAQUSvq0I4sWOGJvcnjnLkpepmc3piwYdR2uvjIJFxZ6i+x5rbuT3bGExkw==, tarball: file:apps/mobile/deps/react-native-screens-5.0.0-t3.57.tgz}
11622 + version: 5.0.0-t3.57
11623 peerDependencies:
11624 react: '*'
11625 react-native: '*'
@@ -16683,7 +16683,7 @@ snapshots:
16683 optionalDependencies:
16684 '@react-native-masked-view/masked-view': 0.3.2(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
16685
16686 - '@react-navigation/native-stack@7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(ce02f236e17a3519f78477aaafd5d0d9)':
16686 + '@react-navigation/native-stack@7.21.0(patch_hash=990d575444c4af2ce8218b3b7a8280fe244c03abbdb32b822a2e862f791dbf42)(cef34c885eeb20866fbaefc5fd159892)':
16687 dependencies:
16688 '@react-navigation/elements': 2.9.45(83450c2b8dad8f97d4bec4849f35b99e)
16689 '@react-navigation/native': 7.5.1(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
@@ -16691,7 +16691,7 @@ snapshots:
16691 react: 19.3.0
16692 react-native: 0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
16693 react-native-safe-area-context: 5.11.1(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
16694 - react-native-screens: file:apps/mobile/deps/react-native-screens-5.0.0-t3.55.tgz(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
16694 + react-native-screens: file:apps/mobile/deps/react-native-screens-5.0.0-t3.57.tgz(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
16695 sf-symbols-typescript: 2.2.0
16696 warn-once: 0.1.1
16697 transitivePeerDependencies:
@@ -22540,7 +22540,7 @@ snapshots:
22540 react: 19.3.0
22541 react-native: 0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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)
22542
22543 - react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.55.tgz(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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):
22543 + react-native-screens@file:apps/mobile/deps/react-native-screens-5.0.0-t3.57.tgz(react-native@0.88.1(@babel/core@7.29.7(supports-color@8.1.1))(@react-native/metro-config@0.88.1(@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):
22544 dependencies:
22545 react: 19.3.0
22546 react-freeze: 1.0.4(react@19.3.0)