File tree Expand file tree Collapse file tree 2 files changed +12
-40
lines changed
routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam Expand file tree Collapse file tree 2 files changed +12
-40
lines changed Original file line number Diff line number Diff line change @@ -184,25 +184,26 @@ export function DevDisconnectedBanner({ isConnected }: { isConnected: boolean |
184
184
return (
185
185
< Dialog >
186
186
< AnimatePresence >
187
- < motion . div
188
- initial = { { opacity : 0 } }
189
- animate = { { opacity : 1 } }
190
- exit = { { opacity : 0 } }
191
- transition = { { duration : 0.3 } }
192
- className = "flex"
193
- >
194
- { isConnected === false && (
187
+ { isConnected === false && (
188
+ < motion . div
189
+ initial = { { opacity : 0 } }
190
+ animate = { { opacity : 1 } }
191
+ exit = { { opacity : 0 } }
192
+ transition = { { duration : 0.3 } }
193
+ className = "flex"
194
+ >
195
195
< DialogTrigger asChild >
196
196
< Button
197
197
variant = "minimal/small"
198
- className = "py-1 pl-1 pr-2 text-error"
198
+ className = "border border-error/20 bg-error/10 py-1 pl-1 pr-2 group-hover/button:border-error/30 group-hover/button:bg-error/20"
199
+ iconSpacing = "gap-1"
199
200
LeadingIcon = { < ConnectionIcon isConnected = { false } /> }
200
201
>
201
202
Your local dev server is not connected to Trigger.dev
202
203
</ Button >
203
204
</ DialogTrigger >
204
- ) }
205
- </ motion . div >
205
+ </ motion . div >
206
+ ) }
206
207
</ AnimatePresence >
207
208
< DevPresencePanel isConnected = { isConnected } />
208
209
</ Dialog >
Original file line number Diff line number Diff line change @@ -672,9 +672,6 @@ function TasksTreeView({
672
672
</ div >
673
673
</ div >
674
674
</ div >
675
- { ! isCompleted &&
676
- environmentType === "DEVELOPMENT" &&
677
- index === displayEvents . length - 1 && < ConnectedDevWarning /> }
678
675
</ >
679
676
) }
680
677
onScroll = { ( scrollTop ) => {
@@ -1276,32 +1273,6 @@ function CurrentTimeIndicator({
1276
1273
) ;
1277
1274
}
1278
1275
1279
- function ConnectedDevWarning ( ) {
1280
- const { isConnected } = useDevPresence ( ) ;
1281
-
1282
- return (
1283
- < div
1284
- className = { cn (
1285
- "flex items-center overflow-hidden pl-5 pr-2 transition-opacity duration-500" ,
1286
- isConnected ? "h-0 opacity-0" : "opacity-100"
1287
- ) }
1288
- >
1289
- < Callout
1290
- variant = "error"
1291
- icon = { < DisconnectedIcon className = "size-5 shrink-0" /> }
1292
- className = "mt-2"
1293
- >
1294
- < div className = "flex flex-col gap-1" >
1295
- < Paragraph variant = "small" spacing >
1296
- Your local dev server is not connectedr. Check you're running the CLI:
1297
- </ Paragraph >
1298
- < ClipboardField variant = "secondary/small" value = "npx trigger.dev@latest dev" />
1299
- </ div >
1300
- </ Callout >
1301
- </ div >
1302
- ) ;
1303
- }
1304
-
1305
1276
function KeyboardShortcuts ( {
1306
1277
expandAllBelowDepth,
1307
1278
collapseAllBelowDepth,
You can’t perform that action at this time.
0 commit comments