Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(usage): read cursor, opencode, and antigravity history #10409

Mergedmaria-rcksmerged 32 commits intomain fromrefs/pull/10409/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHub

Showing 43 changed files with 60 additions and 24 deletions (loading 40).

x
0 of 43 viewed, 43 left
51 additions and 22 deletionsapps/mobile/src/features/usage/UsageLimitsPooled.tsxModified
View file
@@ -5,13 +5,15 @@
collectLimitAccounts,
collectLimitNotices,
collectLimitPools,
+ cursorUsageWindowDetails,
+ displayLimitWindows,
formatDuration,
formatResetsIn,
remainingPercent,
type LimitAccount,
type LimitPoolWindow,
} from "@t3tools/shared/usageLimits";
-import { useId, useState } from "react";
+import { Fragment, type ReactNode, useId, useState } from "react";
import { Pressable, ScrollView, View } from "react-native";
import { Defs, Path, Pattern, Rect, Svg } from "react-native-svg";
import { useSafeAreaInsets } from "react-native-safe-area-context";
@@ -70,11 +72,15 @@
color,
now,
environmentIds,
+ label,
+ description,
}: {
readonly pool: LimitPoolWindow;
readonly color: string;
readonly now: number;
readonly environmentIds: readonly string[] | null;
+ readonly label?: string;