check / check (push) Successful in 3m38s
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
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}}
|