Skip to content

chore: move Focus cards to focus-templates v2.1.0 - #84

Merged
awcodes merged 2 commits into
4.xfrom
chore/focus-templates-v2
Oct 5, 2026
Merged

awcodes merged 2 commits into
4.xfrom
chore/focus-templates-v2

Conversation

@awcodes

@awcodes awcodes commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • focus.php: the card templates pin moves from v1.1.1 to v2.0.0. That version has the redesigned two-up / two-up-wide layouts and the striped cyan background.
  • card-dashboard is now captured in both themes; the ->themes([Theme::Dark]) restriction and the unused Theme import are removed.
  • Both cards now use ->screenshots(['card-widget', 'card-dashboard']). The dashboard is the main subject, so it takes the large light slot 2. The widget goes in the small dark slot 1, in front at the lower left. The slot comment is updated for the new layout.

Images

  • New: docs/assets/card-dashboard-light.png (a card source, not referenced by the docs).
  • Changed: art/social-open-graph-dark.png, art/social-github-social-dark.png, art/thumbnail-filament-dark.png. These are re-rendered with the v2.0.0 templates and the new slot order.
  • Every other docs screenshot came out byte-identical to the committed files.

The capture sizes are unchanged. I tried a shorter card-dashboard viewport to fill the empty lower half of the light slot, but the template cover-crops the slot, which cut off the Users stat. So I kept the existing 1050x612 capture, which shows the whole dashboard.

Checks

  • composer focus (full run with screenshots) ran twice. All 13 PNGs in docs/assets/ and art/ were byte-identical between the runs.
  • composer test: passed (lint, refactor, types, and 35 Pest tests).
  • php artisan docs:validate overlook/docs: valid.

Update: plain card (v2.1.0)

  • The pin moves to focus-templates v2.1.0 (additive; existing cards render byte-identical).
  • New plain card, art/plain-2560x1440-dark.png: an unbranded 16:9 image for aw.codes, which puts its own heading over it. It uses two-up-plain: the same screenshots as the thumbnail, larger, with no text or logo.
  • Checks: composer focus -- --cards-only twice, byte-identical; no other image changed; Pint passes on focus.php.

🤖 Generated with Claude Code

awcodes and others added 2 commits October 5, 2026 15:14
Pin the card templates to v2.0.0, capture card-dashboard in both themes,
and put the dashboard in the large light slot with the widget in the
small dark slot in front.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@awcodes awcodes changed the title chore: move Focus cards to focus-templates v2.0.0 chore: move Focus cards to focus-templates v2.1.0 Oct 5, 2026
@awcodes
awcodes merged commit e414f7e into 4.x Oct 5, 2026
1 check passed
@awcodes
awcodes deleted the chore/focus-templates-v2 branch October 5, 2026 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant