This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Product Collection: Use Interactivity API for pagination #10361
Merged
imanish003
merged 16 commits into
trunk
from
add/10328-product-collection-interactivity-api
Aug 11, 2023
Merged
Product Collection: Use Interactivity API for pagination #10361
imanish003
merged 16 commits into
trunk
from
add/10328-product-collection-interactivity-api
Aug 11, 2023
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5847587 - Browse repository at this point
Copy the full SHA 5847587View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2b5431 - Browse repository at this point
Copy the full SHA e2b5431View commit details -
Configuration menu - View commit details
-
Copy full SHA for c0e090c - Browse repository at this point
Copy the full SHA c0e090cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ab84aa - Browse repository at this point
Copy the full SHA 7ab84aaView commit details
Commits on Jul 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 91f2432 - Browse repository at this point
Copy the full SHA 91f2432View commit details
Commits on Jul 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 56671c9 - Browse repository at this point
Copy the full SHA 56671c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35c0e5f - Browse repository at this point
Copy the full SHA 35c0e5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b4c991 - Browse repository at this point
Copy the full SHA 7b4c991View commit details -
Configuration menu - View commit details
-
Copy full SHA for ade05ad - Browse repository at this point
Copy the full SHA ade05adView commit details -
Configuration menu - View commit details
-
Copy full SHA for 967f00d - Browse repository at this point
Copy the full SHA 967f00dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f1c4a3 - Browse repository at this point
Copy the full SHA 8f1c4a3View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 763ddf8 - Browse repository at this point
Copy the full SHA 763ddf8View commit details
Commits on Jul 26, 2023
-
Introduce interactivity to Product Collection block and navigation en…
…hancements This commit brings significant improvements to the ProductCollection block. 1. A new property `parsed_block` is added to the class to hold the block with its attributes before it gets rendered. This allows for more complex manipulations of the block and its attributes. 2. Interactivity has been added to the product collection block. The block is marked as an interactive region so it can be updated during client-side navigation. The `add_navigation_id_directive` method is responsible for adding this functionality. This ensures better UX as users navigate through the products. 3. Navigation links inside the Query Pagination block are also made interactive. The `add_navigation_link_directives` function is responsible for this. All anchor tags in the pagination are given the `data-wc-navigation-link` attribute with relevant navigation payload. This includes prefetching and scroll behavior. The pagination links are given unique keys for 'previous' and 'next' navigation. 4. The `render_block` filter hook has been used to add these functionalities to the product collection and query pagination blocks during render.
Configuration menu - View commit details
-
Copy full SHA for 066376b - Browse repository at this point
Copy the full SHA 066376bView commit details -
Merge branch 'add/data-wc-navigation-directives' into add/10328-produ…
…ct-collection-interactivity-api
Configuration menu - View commit details
-
Copy full SHA for ba05986 - Browse repository at this point
Copy the full SHA ba05986View commit details
Commits on Aug 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f7557e8 - Browse repository at this point
Copy the full SHA f7557e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fadbcb - Browse repository at this point
Copy the full SHA 7fadbcbView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.