check / check (push) Successful in 3m17s
At phone width, the event log cut off long event IDs and content types along with the statuses and times after them, and the webhook page ran long names past their cards and scrolled sideways. Elements that hold only a long value (a webhook, target or entrypoint name or description, an event ID, a content type) now break inside it, and the event log's title row wraps; rows themselves still wrap rather than squeeze. Wide screens are unchanged. A 390-pixel browser check of both pages, an event's attempts open, fails when anything runs past the page's or a card's edge or the page scrolls sideways. Model: opus-5-5
23 lines
1.2 KiB
HTML
23 lines
1.2 KiB
HTML
{{define "event_request"}}
|
|
<!-- The entrypoint an event arrived at and its request headers, as
|
|
handlers.EventLogView carries them: the same in the event log and
|
|
the event's own page. The entrypoint's URL is never shown. A
|
|
resubmitted copy, even a copy of a copy, did not arrive at an
|
|
entrypoint; the request it copies did. -->
|
|
<div class="space-y-2 text-xs">
|
|
{{if .ResubmittedFrom}}
|
|
<p class="text-gray-500">The request it copies arrived at <span class="text-gray-900 wrap-anywhere">{{.Entrypoint}}</span></p>
|
|
{{else}}
|
|
<p class="text-gray-500">Arrived at <span class="text-gray-900 wrap-anywhere">{{.Entrypoint}}</span></p>
|
|
{{end}}
|
|
{{if .HeadersCut}}
|
|
<p class="text-gray-500">The request headers are larger than the event log shows. <a href="{{.Body.EventURL}}" class="btn-small">Show the request headers</a></p>
|
|
{{else if .Headers}}
|
|
<p class="text-gray-500">Request headers</p>
|
|
<pre class="rounded-md border border-gray-200 bg-white p-2 text-xs text-gray-700 overflow-x-auto whitespace-pre-wrap break-all">{{.Headers}}</pre>
|
|
{{else}}
|
|
<p class="text-gray-500">No request headers.</p>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|