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

Chore: Carousel items per page from cms #2062

Merged
merged 8 commits into from
Dec 1, 2023

Conversation

eduardoformiga
Copy link
Member

@eduardoformiga eduardoformiga commented Oct 12, 2023

What's the purpose of this pull request?

Adds itemsPerPage field for Carousel in the ProductShelf section.

How it works?

You should be able to set the carousel's itemsPerPage prop via CMS.

How to test it?

  • in faststore.config.js change the workspace to fanny
  • yarn dev to run locally
  • check the ProductShelf in homepage using these links (version from fanny's workspace):

http://localhost:3000/api/preview?contentType=home&documentId=509f861b-719d-11ee-83ab-0a650ce03a3d&versionId=52f602cb-719d-11ee-83ab-126d1b33ed09

Check in the CMS:

You should be able to see the itemsPerPage field

image

Starters Deploy Preview

vtex-sites/starter.store#291

@vercel
Copy link

vercel bot commented Oct 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
faststore-site ⬜️ Ignored (Inspect) Visit Preview Nov 30, 2023 5:27pm

@eduardoformiga eduardoformiga changed the base branch from main to chore/rename-first-shelf-fs-1287 October 12, 2023 19:54
@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 12, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 152a4ac:

Sandbox Source
Store UI Typescript Configuration

Base automatically changed from chore/rename-first-shelf-fs-1287 to main October 13, 2023 18:04
@hellofanny hellofanny marked this pull request as ready for review November 29, 2023 19:41
@hellofanny hellofanny requested a review from a team as a code owner November 29, 2023 19:41
@hellofanny hellofanny requested review from gvc and Gmantiqueira and removed request for a team November 29, 2023 19:41
@hellofanny hellofanny marked this pull request as draft November 29, 2023 19:42
@hellofanny hellofanny self-assigned this Nov 29, 2023
@hellofanny hellofanny marked this pull request as ready for review November 29, 2023 21:34
@eduardoformiga
Copy link
Member Author

I can't approve this PR because I am the original author, but it's approved! hahaha

@hellofanny hellofanny merged commit afdcb98 into main Dec 1, 2023
5 checks passed
@hellofanny hellofanny deleted the chore/carousel-items-per-page-cms branch December 1, 2023 16:46
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