Files
livewire-material/resources/views/showcase/head.blade.php
T
surtic86andClaude Opus 5 1b38b39a47
tests / feature (8.4) (push) Successful in 1m51s
tests / feature (8.5) (push) Successful in 1m57s
tests / browser (chrome, chromium) (push) Successful in 9m7s
tests / browser (firefox, firefox) (push) Failing after 15m45s
tests / browser (safari, webkit) (push) Failing after 16m52s
Stop every test page asking for a favicon nothing serves
`ready()` waits for the network to go idle, and each probe page asked for
/favicon.ico, which its route does not answer: the server threw
NotFoundHttpException on the way, and on the runner the two full-screen
date picker tests spent their whole budget inside that wait rather than
in the click Pest named. Every probe page now carries `<link rel="icon"
href="data:,">`, so the browser asks for nothing.

The showcase's own head carries it too. It ships no icon, and the 404 was
the application's to answer.

The runner takes two and a half to three times as long as a workstation,
so BROWSER_TIMEOUT there goes from 15 to 45 seconds: a page that loads
the application's Vite entries, Alpine and Livewire had no headroom left.

Feature 1159 passed; Browser 299 passed on Chrome, Firefox and WebKit.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 05:30:29 +02:00

25 lines
1.1 KiB
PHP

{{-- The showcase's `<head>`, shared by layout.blade.php and shell.blade.php: the application's own
entries without its stylesheets (ShowcaseAssetController::scripts() says why), then the
showcase's own bundle — all.css, showcase.css and the application's scheme as the page's
only CSS. $pageTitle is the including view's own, already built. --}}
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="robots" content="noindex" />
{{-- The showcase is the package's own page and ships no icon: an empty data URI keeps the
browser from asking the application for /favicon.ico, which its routes need not answer. --}}
<link rel="icon" href="data:," />
<title>{{ $pageTitle }}</title>
<x-livewire-material::theme-script />
@if (($scripts = \NoNameWeb\LivewireMaterial\Http\Controllers\ShowcaseAssetController::scripts()) !== [])
@vite($scripts)
@endif
@livewireStyles
<link rel="stylesheet" href="{{ \NoNameWeb\LivewireMaterial\Http\Controllers\ShowcaseAssetController::url() }}" />
</head>