Skip to content

Remove container check in Card#15981

Open
abeddow91 wants to merge 3 commits into
mainfrom
b/card-refactor/remove-more-galleries-check
Open

Remove container check in Card#15981
abeddow91 wants to merge 3 commits into
mainfrom
b/card-refactor/remove-more-galleries-check

Conversation

@abeddow91
Copy link
Copy Markdown
Contributor

@abeddow91 abeddow91 commented May 27, 2026

What does this change?

Lifts container-level decision making for trail text visibility up to the container itself, rather than handling it within individual cards.

This means the card component no longer need to understand container-specific rules or conditions relating to whether trail text should be displayed.

Why?

This builds on #15688.
The aim is to further separate container concerns from card concerns and move towards a clearer ownership model.

Where possible:

  • Containers decide what should be displayed
  • Cards decide how to display it

Screenshots

This is a no-op change

@abeddow91 abeddow91 added the maintenance Departmental tracking: maintenance work, not a fix or a feature label May 27, 2026
@abeddow91 abeddow91 self-assigned this May 27, 2026
@github-actions
Copy link
Copy Markdown

Hello 👋! When you're ready to run Chromatic, please apply the run_chromatic label to this PR.

You will need to reapply the label each time you want to run Chromatic.

Click here to see the Chromatic project.

@abeddow91 abeddow91 requested a review from domlander May 27, 2026 08:25
@abeddow91 abeddow91 added the run_chromatic Runs chromatic when label is applied label May 27, 2026
@github-actions github-actions Bot removed the run_chromatic Runs chromatic when label is applied label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant