Skip to content

Conversation

@jkartoshka
Copy link
Collaborator

@jkartoshka jkartoshka commented Oct 10, 2025

Description

Adding Content Card Container Capacity where we only render the number of cards up to the limit of the container settings. When a user dismisses one, the next one will pop in if there is any other ones

Related Issue

https://jira.corp.adobe.com/browse/MOB-24154

Motivation and Context

Content Card Container Functionality in React Native

How Has This Been Tested?

Changed capacity to 2. When dismissing one the next one pops up

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

EmptyComponent?: ReactElement | null;
surface: string;
settings: ContainerSettings | null;
isLoading?: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because we moved the hook out of this component, we should also these state pieces and their components

@jkartoshka jkartoshka merged commit 40dc817 into adobe:content-card-containers Oct 23, 2025
5 checks passed
@jkartoshka jkartoshka deleted the container-capacity branch October 23, 2025 21:03
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.

2 participants