CluPilotCloud/resources/views/components/ui
nexxo 86bf4f26e0
tests / pest (push) Failing after 7m34s Details
tests / assets (push) Successful in 22s Details
tests / release (push) Has been skipped Details
List issued invoices in the console, with no way to change one
Read-only by design, and the absence is the feature: an issued invoice is
corrected by cancelling it and issuing another, which is the only lawful way to
correct one. There is no edit button here whose absence needs explaining, and a
test asserts there is none.

The PDF is a plain route rather than a Livewire action. A download is a
download, and routing one through a component round-trip only adds a way for it
to fail.

Two findings on the way, and both were mine.

The year filter used YEAR() in raw SQL, which is MySQL's. SQLite has no such
function, so the page worked against the real database and threw against the
test one — a query that only runs on one engine makes the test database a
different product from the one being shipped. The years are derived in PHP now.

And a test put a User on the operator guard, where EnsureAdmin calls isActive()
on it and a 403 becomes a 500. Not a code defect: actingAs() calls
Auth::shouldUse(), so a second actingAs() in the same test with no guard named
lands on whichever guard the FIRST one named. That trap is written up in
CLAUDE.md, I quoted it earlier today, and I walked into it anyway. The tests are
split now and both name their guard.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-29 02:21:15 +02:00
..
alert.blade.php One design system for every surface 2026-07-27 16:03:47 +02:00
badge.blade.php One design system for every surface 2026-07-27 16:03:47 +02:00
button.blade.php Match the panel to the approved template, measured rather than assumed 2026-07-27 17:08:05 +02:00
card.blade.php One design system for every surface 2026-07-27 16:03:47 +02:00
chart.blade.php feat(dashboard): rich overview with Chart.js (customer-portal template) 2026-07-25 07:59:19 +02:00
checkbox.blade.php feat(admin): a console for creating, pricing and scheduling plans 2026-07-26 12:41:51 +02:00
icon.blade.php List issued invoices in the console, with no way to change one 2026-07-29 02:21:15 +02:00
input.blade.php One design system for every surface 2026-07-27 16:03:47 +02:00
logo.blade.php feat(brand): CluPilot logo mark + SVG favicon across layouts 2026-07-25 15:31:33 +02:00
metric.blade.php Match the panel to the approved template, measured rather than assumed 2026-07-27 17:08:05 +02:00
nav-item.blade.php One design system for every surface 2026-07-27 16:03:47 +02:00
otp-input.blade.php Give the console a front door of its own 2026-07-28 11:45:22 +02:00
progress-stepper.blade.php feat(portal): Fortify auth + Login/2FA/Dashboard + component kit 2026-07-25 01:20:25 +02:00
ring.blade.php Match the panel to the approved template, measured rather than assumed 2026-07-27 17:08:05 +02:00
spark.blade.php Measure what the template draws 2026-07-27 16:29:28 +02:00
stat-tile.blade.php feat(portal): Fortify auth + Login/2FA/Dashboard + component kit 2026-07-25 01:20:25 +02:00