Repository navigation
feat(app-cards): replace overlay with aspectRatio and textColor fields - #397
Merged
Merged
Conversation
Removes the boolean `overlay` field from all three view tabs (default, startingSoon, liveNow) and replaces it with two independent select fields: - `aspectRatio` (square | flexible, default: square) - `textColor` (black | white, default: black) Both fields, along with the existing `alignment`, are grouped under a new "Text & Layout" collapsible section in each view tab. In event view tabs (startingSoon, liveNow), the collapsible group inherits the enabledCondition, keeping the UI compact when the view is disabled. Closes #396 Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
… field - Add admin.description to aspectRatio and textColor in both defaultViewFields() and eventViewFields() - Add required: true + defaultValue: 'center' to alignment in eventViewFields(), making it consistent with defaultViewFields(); payload-types now correctly reflects alignment as non-nullable on startingSoon and liveNow Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
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.
Summary
overlayboolean checkbox from all three view tabs (default, startingSoon, liveNow) and drops the corresponding DB columns (default_overlay,starting_soon_overlay,live_now_overlay)aspectRatioselect (square | flexible, default: square) to all three view tabstextColorselect (black | white, default: black) to all three view tabsaspectRatio,textColor, andalignmentunder a new "Text & Layout" collapsible section in each view tab; in event views the collapsible inherits theenabledConditionapp_cardsand_app_cards_vtablesCloses #396
Test Results
🤖 Generated with Claude Code