Skip to content

Commit b993e9f

Browse files
committed
Minimal buttons to view runs
1 parent 91c1494 commit b993e9f

File tree

1 file changed

+13
-9
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues

1 file changed

+13
-9
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues/route.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -340,17 +340,19 @@ export default function Page() {
340340
animate
341341
accessory={
342342
<div className="flex items-start gap-1">
343+
{environment.runsEnabled ? <EnvironmentPauseResumeButton env={env} /> : null}
343344
<LinkButton
344-
variant="tertiary/small"
345+
variant="secondary/small"
346+
LeadingIcon={RunsIcon}
347+
leadingIconClassName="text-runs"
348+
className="px-2"
345349
to={v3RunsPath(organization, project, env, {
346350
statuses: ["PENDING"],
347351
period: "30d",
348352
rootOnly: false,
349353
})}
350-
>
351-
View runs
352-
</LinkButton>
353-
{environment.runsEnabled ? <EnvironmentPauseResumeButton env={env} /> : null}
354+
tooltip="View queued runs"
355+
/>
354356
</div>
355357
}
356358
valueClassName={env.paused ? "text-warning" : undefined}
@@ -373,15 +375,17 @@ export default function Page() {
373375
}
374376
accessory={
375377
<LinkButton
376-
variant="tertiary/small"
378+
variant="secondary/small"
379+
LeadingIcon={RunsIcon}
380+
leadingIconClassName="text-runs"
381+
className="px-2"
377382
to={v3RunsPath(organization, project, env, {
378383
statuses: ["DEQUEUED", "EXECUTING"],
379384
period: "30d",
380385
rootOnly: false,
381386
})}
382-
>
383-
View runs
384-
</LinkButton>
387+
tooltip="View runs"
388+
/>
385389
}
386390
compactThreshold={1000000}
387391
/>

0 commit comments

Comments
 (0)