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

feat: empty search with global sections #2690

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

eduardoformiga
Copy link
Member

@eduardoformiga eduardoformiga commented Feb 17, 2025

What's the purpose of this pull request?

This PR aims to wrap the EmptySearch with the Render sections so that this page state can have GlobalSections.

Before After
Screenshot 2025-02-17 at 16 25 41 Screenshot 2025-02-17 at 16 28 17

How to test it?

You can test this PR locally, see a search page without results, or use the preview link.

Starters Deploy Preview

PR

https://storeframework-cm652ufll028lmgv665a6xv0g-a6ylykbgr.b.vtex.app/s?q=sdafasdhflsdfhsda&fuzzy=auto&operator=or&facets=fuzzy%2Coperator&sort=score_desc&page=0

References

https://vtex.slack.com/archives/C051B6LL91U/p1739734780585179

@eduardoformiga eduardoformiga marked this pull request as ready for review February 17, 2025 19:30
@eduardoformiga eduardoformiga requested a review from a team as a code owner February 17, 2025 19:30
@eduardoformiga eduardoformiga requested review from hellofanny and pedromtec and removed request for a team February 17, 2025 19:30
Copy link

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.

Copy link
Contributor

@pedromtec pedromtec left a comment

Choose a reason for hiding this comment

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

question: Will this also make it possible to customize this component?

@eduardoformiga
Copy link
Member Author

question: Will this also make it possible to customize this component?

the customization remains as it is nowadays:
By using CSS I think it's possible to customize, but by using hCMS this component is not available there neither from section override :/

@eduardoformiga eduardoformiga merged commit 56c67d8 into main Feb 18, 2025
10 of 11 checks passed
@eduardoformiga eduardoformiga deleted the feat/empty-search-with-global-sections branch February 18, 2025 16:06
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.

3 participants