Repository navigation
chore: move Focus cards to focus-templates v2.1.0 - #84
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
focus.php: the card templates pin moves fromv1.1.1tov2.0.0. That version has the redesignedtwo-up/two-up-widelayouts and the striped cyan background.card-dashboardis now captured in both themes; the->themes([Theme::Dark])restriction and the unusedThemeimport are removed.->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
docs/assets/card-dashboard-light.png(a card source, not referenced by the docs).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.The capture sizes are unchanged. I tried a shorter
card-dashboardviewport 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 indocs/assets/andart/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)
v2.1.0(additive; existing cards render byte-identical).plaincard,art/plain-2560x1440-dark.png: an unbranded 16:9 image for aw.codes, which puts its own heading over it. It usestwo-up-plain: the same screenshots as the thumbnail, larger, with no text or logo.composer focus -- --cards-onlytwice, byte-identical; no other image changed; Pint passes onfocus.php.🤖 Generated with Claude Code