lernschiff/resources
Boban Blaskovic 5704d0fb58 fix: quick-login 500 + Vite asset https scheme (TDD)
BUG B — navigation.blade.php crashed on null auth()->user() for
unauthenticated visitors of /dev/quick-login. Two-layer fix:
- DevQuickLogin: add #[Layout('components.layouts.auth')] so page
  renders without the authenticated navigation bar
- navigation.blade.php: null-safe ?-> on all auth()->user() calls
  (three occurrences: name, name again, email) as defense-in-depth

BUG A — @vite() generated http:// asset URLs causing Mixed Content
on HTTPS domain. Root cause: ASSET_URL removed but APP_URL changed to
http://localhost by previous agent. Fixed: APP_URL restored to
https://app.dev.lernschiff.com so URL::forceScheme('https') activates
and assets render as https://app.dev.lernschiff.com/build/assets/*.

TDD: test written → RED (500) → fix → GREEN. 46/46 pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Codex <noreply@openai.com>
2026-05-22 14:46:26 +02:00
..
css feat(ui): Whitemode auth views + design tokens + vite server block + touch.js entry 2026-05-22 13:38:57 +02:00
js feat(frontend): Tailwind v4 @theme + vite-plugin-pwa + local fonts 2026-05-22 00:37:27 +02:00
views fix: quick-login 500 + Vite asset https scheme (TDD) 2026-05-22 14:46:26 +02:00