You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 315d227
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mobile): fold the ChatGPT limit notice into the one usage-limit card
The separate ChatGPT card with its full-width blue button is gone. The usage-limit
card now carries the ChatGPT identity, the guideline copy and a compact
Manage usage / Copy request for admin action, matching web's compact banner.
It also covers older servers that report sharing limits as provider errors.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
? "Request copied. Send it to your workspace admin."
102
+
: "You've reached your workspace's limit for using your ChatGPT plan in other apps. Copy a request to ask your workspace admin for increased usage limits."
103
+
: (resetText??"Review your usage settings in ChatGPT.")}
104
+
</Text>
105
+
</>
106
+
) : (
107
+
<TextclassName="text-sm text-warning-foreground">
108
+
{resetText??
109
+
"The provider did not report a reset time. Retry manually when your limit is available."}
110
+
</Text>
111
+
)}
112
+
{canSchedule||chatGptLimit ? (
87
113
<ViewclassName="flex-row flex-wrap gap-2">
88
-
<Button
89
-
label={scheduled ? "Cancel auto-resume" : "Resume at reset"}
90
-
tone="secondary"
91
-
disabled={pending}
92
-
onPress={()=>voidtoggle("resume")}
93
-
/>
94
-
<Button
95
-
label={snoozed ? "Wake now" : "Snooze until reset"}
96
-
tone="secondary"
97
-
disabled={pending||(!snoozed&&resetPassed)}
98
-
onPress={()=>voidtoggle("snooze")}
99
-
/>
114
+
{canSchedule ? (
115
+
<>
116
+
<Button
117
+
label={scheduled ? "Cancel auto-resume" : "Resume at reset"}
118
+
tone="secondary"
119
+
disabled={pending}
120
+
onPress={()=>voidtoggle("resume")}
121
+
/>
122
+
<Button
123
+
label={snoozed ? "Wake now" : "Snooze until reset"}
0 commit comments