Skip to content

Conversation

daniellekorn
Copy link

@daniellekorn daniellekorn commented Jul 14, 2025

Overview

Docs improvements for:

  • Actions
  • Grid
  • Header
  • Item
  • LoadMore

Related links

Jira ticket
Slack thread with some design feedback

*
* > **Note:** This component is only relevant for [Wix Vibe](https://support.wix.com/en/article/wix-vibe-an-overview) and [Wix Headless](https://dev.wix.com/docs/go-headless/get-started/about-headless/about-wix-headless) developers.
*
* @component
Copy link
Author

Choose a reason for hiding this comment

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

How does this actually work? With the standard API getCollection(), a user needs to provide an ID.

Copy link
Author

Choose a reason for hiding this comment

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

Ohhh I think that this “Collection” is just a group of items displayed in a grid.
I thought that it was like in Wix Stores, where a “Collection” refers to themed groups of products that store owners create to organize their catalog.
I think there is a naming concern here.

Copy link

@taliasa44 taliasa44 left a comment

Choose a reason for hiding this comment

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

A couple of things:

  1. I see we already have the import statement as part of the docs. I think it's a good idea to also include a usage example, similar to what exists for SEO?
  2. I know there was discussion of adding some kind of playground where users could interact with each component. I'm not sure where that's at, but in the meantime, maybe we consider (if possible in jsdoc) adding an image to the description. This isn't our usual style but may help users by giving them an idea of the component's visual appearance.

@daniellekorn
Copy link
Author

@taliasa44 As for your comments above:

  1. Totally agree. Let's add usage examples for each one.
  2. There isn't any visual style. That's the beauty of this feature! It's just logic. The external devs create the style they want.


/**
* Headless component for load more products functionality
* Note: V3 API uses simplified loading without traditional pagination
Copy link
Author

Choose a reason for hiding this comment

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

Why was this note here?

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