Skip to content

feat(app-cards): replace overlay with aspectRatio and textColor fields - #397

Merged
Ardnived merged 2 commits into
mainfrom
feat/396-app-cards-aspect-ratio-text-color
May 25, 2026
Merged

Ardnived merged 2 commits into
mainfrom
feat/396-app-cards-aspect-ratio-text-color

Conversation

@Ardnived

Copy link
Copy Markdown
Contributor

Summary

  • Removes the overlay boolean checkbox from all three view tabs (default, startingSoon, liveNow) and drops the corresponding DB columns (default_overlay, starting_soon_overlay, live_now_overlay)
  • Adds aspectRatio select (square | flexible, default: square) to all three view tabs
  • Adds textColor select (black | white, default: black) to all three view tabs
  • Groups aspectRatio, textColor, and alignment under a new "Text & Layout" collapsible section in each view tab; in event views the collapsible inherits the enabledCondition
  • Migration adds 6 new columns and drops 3 overlay columns on both app_cards and _app_cards_v tables

Closes #396

Test Results

  • Integration tests: 37 passed, 0 skipped
  • E2E tests: N/A (no E2E specs for app-cards)
  • Build: ✓ Success
  • Pre-existing failures fixed: none

🤖 Generated with Claude Code

Ardnived and others added 2 commits May 25, 2026 12:55
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]>
@Ardnived
Ardnived merged commit b706965 into main May 25, 2026
@Ardnived
Ardnived deleted the feat/396-app-cards-aspect-ratio-text-color branch May 25, 2026 05:19
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.

feat(app-cards): per-view aspect ratio and text color fields

1 participant