Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VerticalSpacing property to Collections #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ab-gnm
Copy link
Member

@ab-gnm ab-gnm commented Nov 30, 2024

What does this change?

  • Created a new enum VerticalSpacing with values Regular and Compact.
  • Added a new property content_vertical_spacing to Collection model.

The intent of this PR is that MAPI will guide the apps on which vertical spacing to use for rows & cards within a collection.

  • This will default to Regular for most collections (represented as 24px in-app)
  • For all MyGuardian and some Podcast tab collections, we'll use Compact (represented as 16px in-app)

Have we considered potential risks?

@ab-gnm ab-gnm requested a review from a team as a code owner November 30, 2024 09:37
@ab-gnm ab-gnm requested review from aoifemcl15, waisingyiu, lindseydew and falloutfox and removed request for a team November 30, 2024 09:38
@ab-gnm ab-gnm changed the title Add VerticalSpacing proeprty to Collections Add VerticalSpacing property to Collections Nov 30, 2024
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.

1 participant