Skip to content

Commit 197dce3

Browse files
committed
Style improvements
1 parent 9600ee8 commit 197dce3

File tree

2 files changed

+13
-7
lines changed
  • apps/webapp/app/routes
    • resources.orgs.$organizationSlug.projects.$projectParam.waitpoints.$waitpointFriendlyId.complete
    • resources.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam.spans.$spanParam

2 files changed

+13
-7
lines changed

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.waitpoints.$waitpointFriendlyId.complete/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export function CompleteWaitpointForm({ waitpoint }: { waitpoint: FormWaitpoint
127127
className="grid h-full max-h-full grid-rows-[2.5rem_1fr_2.5rem] overflow-hidden rounded-md border border-grid-bright"
128128
>
129129
<div className="mx-3 flex items-center">
130-
<Header3 className={cn("whitespace-nowrap")}>Manually complete this waitpoint</Header3>
130+
<Paragraph variant="small/bright">Manually complete this waitpoint</Paragraph>
131131
</div>
132132
<div className="overflow-y-auto border-t border-grid-dimmed bg-charcoal-900 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-charcoal-600">
133133
<input type="hidden" name="type" value={waitpoint.type} />

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.v3.$projectParam.runs.$runParam.spans.$spanParam/route.tsx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,12 +1121,18 @@ function SpanEntity({ span }: { span: Span }) {
11211121
<Property.Label>Idempotency key</Property.Label>
11221122
<Property.Value>
11231123
<div>
1124-
{span.waitpoint.userProvidedIdempotencyKey ? span.waitpoint.idempotencyKey : "–"}
1125-
{span.waitpoint.idempotencyKeyExpiresAt ? (
1126-
<>
1127-
Expires at: <DateTime date={span.waitpoint.idempotencyKeyExpiresAt} />
1128-
</>
1129-
) : null}
1124+
<div>
1125+
{span.waitpoint.userProvidedIdempotencyKey
1126+
? span.waitpoint.idempotencyKey
1127+
: "–"}
1128+
</div>
1129+
<div>
1130+
{span.waitpoint.idempotencyKeyExpiresAt ? (
1131+
<>
1132+
TTL: <DateTime date={span.waitpoint.idempotencyKeyExpiresAt} />
1133+
</>
1134+
) : null}
1135+
</div>
11301136
</div>
11311137
</Property.Value>
11321138
</Property.Item>

0 commit comments

Comments
 (0)