check / check (push) Waiting to run
A name, ID or content type with no place to break ran past its row and was cut off by the card at 390 pixels, and a long webhook name made the webhook page scroll sideways. The elements holding such values now carry wrap-anywhere, so a value breaks only where it must; controls, statuses and times never do, so a row too wide for a phone still runs past the edge. The event log's title row wraps like the webhook page's. The browser test gains a 390-pixel check of both pages: neither scrolls sideways and nothing shown runs past the page's or its card's edge. Its seeded webhook name and newer event's content type are long enough to fail without the change. Model: opus-5-5
17 lines
1.2 KiB
HTML
17 lines
1.2 KiB
HTML
{{define "delivery_row"}}
|
|
<!-- The line that heads a delivery, as handlers.DeliveryView holds it:
|
|
in the event log, inside the button that shows its attempts, and on
|
|
an event's own page. Spans only, since a button may hold no div. -->
|
|
<span class="flex flex-1 flex-wrap items-center justify-between gap-3">
|
|
<span class="flex flex-wrap items-center gap-3">
|
|
<span class="text-sm text-gray-700 wrap-anywhere">{{.Target.DisplayName}}</span>
|
|
{{if .Replay}}<span class="text-xs text-gray-500">replay</span>{{end}}
|
|
<span class="text-xs {{if eq .Status "delivered"}}text-green-600{{else if eq .Status "failed"}}text-red-600{{else if eq .Status "retrying"}}text-yellow-600{{else}}text-gray-400{{end}}">{{with .Paused}}waiting: target paused after repeated failures, next try no earlier than {{.Until}} ({{.Relative}}){{else}}{{.Status}}{{end}}</span>
|
|
</span>
|
|
<span class="flex flex-wrap items-center gap-3">
|
|
<span class="text-xs text-gray-400" title="{{.CreatedUTC}}">created {{.Created}}</span>
|
|
<span class="text-xs text-gray-400">{{.AttemptCount}} attempt{{if ne .AttemptCount 1}}s{{end}}</span>
|
|
</span>
|
|
</span>
|
|
{{end}}
|