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 220
Interactivity API: implement the new store()
API
#11071
Merged
Merged
Commits on Sep 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8450749 - Browse repository at this point
Copy the full SHA 8450749View commit details
Commits on Sep 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c467f35 - Browse repository at this point
Copy the full SHA c467f35View commit details -
Configuration menu - View commit details
-
Copy full SHA for d196254 - Browse repository at this point
Copy the full SHA d196254View commit details
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39230bf - Browse repository at this point
Copy the full SHA 39230bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34f09af - Browse repository at this point
Copy the full SHA 34f09afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e2e838 - Browse repository at this point
Copy the full SHA 6e2e838View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6636df7 - Browse repository at this point
Copy the full SHA 6636df7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 35d9b17 - Browse repository at this point
Copy the full SHA 35d9b17View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1ee265 - Browse repository at this point
Copy the full SHA a1ee265View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f83002 - Browse repository at this point
Copy the full SHA 4f83002View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0840c78 - Browse repository at this point
Copy the full SHA 0840c78View commit details
Commits on Oct 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 826bb6e - Browse repository at this point
Copy the full SHA 826bb6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61e6636 - Browse repository at this point
Copy the full SHA 61e6636View commit details -
Configuration menu - View commit details
-
Copy full SHA for 447bc23 - Browse repository at this point
Copy the full SHA 447bc23View commit details
Commits on Oct 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9f78157 - Browse repository at this point
Copy the full SHA 9f78157View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b694e7 - Browse repository at this point
Copy the full SHA 2b694e7View commit details
Commits on Oct 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6185cfe - Browse repository at this point
Copy the full SHA 6185cfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba71c22 - Browse repository at this point
Copy the full SHA ba71c22View commit details -
Configuration menu - View commit details
-
Copy full SHA for cff0dc7 - Browse repository at this point
Copy the full SHA cff0dc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0601c4e - Browse repository at this point
Copy the full SHA 0601c4eView commit details
Commits on Oct 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c32fa0c - Browse repository at this point
Copy the full SHA c32fa0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 39cdbe3 - Browse repository at this point
Copy the full SHA 39cdbe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e07f0d1 - Browse repository at this point
Copy the full SHA e07f0d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97cac9d - Browse repository at this point
Copy the full SHA 97cac9dView commit details
Commits on Oct 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 96631ce - Browse repository at this point
Copy the full SHA 96631ceView commit details
Commits on Oct 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c3ac5c5 - Browse repository at this point
Copy the full SHA c3ac5c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4180a7 - Browse repository at this point
Copy the full SHA e4180a7View commit details
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1d59c78 - Browse repository at this point
Copy the full SHA 1d59c78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b696c4 - Browse repository at this point
Copy the full SHA 1b696c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9537884 - Browse repository at this point
Copy the full SHA 9537884View commit details
Commits on Oct 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f1e0cdf - Browse repository at this point
Copy the full SHA f1e0cdfView commit details
Commits on Oct 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9ae9002 - Browse repository at this point
Copy the full SHA 9ae9002View commit details
Commits on Oct 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f0508c9 - Browse repository at this point
Copy the full SHA f0508c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2750a07 - Browse repository at this point
Copy the full SHA 2750a07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0662935 - Browse repository at this point
Copy the full SHA 0662935View commit details -
Configuration menu - View commit details
-
Copy full SHA for 48adf83 - Browse repository at this point
Copy the full SHA 48adf83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b22797 - Browse repository at this point
Copy the full SHA 3b22797View commit details
Commits on Nov 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0740232 - Browse repository at this point
Copy the full SHA 0740232View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb8adf1 - Browse repository at this point
Copy the full SHA bb8adf1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fc6f60 - Browse repository at this point
Copy the full SHA 6fc6f60View commit details
Commits on Nov 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8e61632 - Browse repository at this point
Copy the full SHA 8e61632View commit details -
Configuration menu - View commit details
-
Copy full SHA for 691bb54 - Browse repository at this point
Copy the full SHA 691bb54View commit details
Commits on Nov 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e1c1007 - Browse repository at this point
Copy the full SHA e1c1007View commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8e605e6 - Browse repository at this point
Copy the full SHA 8e605e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d91a56 - Browse repository at this point
Copy the full SHA 5d91a56View commit details
Commits on Nov 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8fc2917 - Browse repository at this point
Copy the full SHA 8fc2917View commit details
Commits on Nov 16, 2023
-
Migration of Product Collection and Product Button blocks to the new …
…`store()` API (#11558) * Refactor Product Button with new store() API * Use `wc_initial_state` in Product Button * Fix namespace * Remove unnecessary state * Test namespaces in directive paths * Add test context with namespace * Simplify woo-test context * Move addToCart and animations to a file * Do not pass `rawStore` to `afterLoad` callbacks * Move callbacks and actions back to the main file Because the animation was broken. * Remove selectors in favor of state * Use default ns in `getContext` for state and actions * Remove `afterLoad` callback * Remove unnecessary ns * Fix getContext in add-to-cart * Replace namespace and delete unnecessary store * Pass context types only once * Use an alternative for requestIdleCallback * Add previous react code for notices * Add namespace to Product Collection block * Replace getTextButton with getButtonText * Add block name to the ProductCollection namespace * fix style HTML code * Remove circular deps error on the Interactivity API * Product Gallery block: Migrate to new Interactivity API store (#11721) * Migrate Product Gallery block to new Interactivity API store * Fix some references * Add missing data-wc-interactive * Fix an additional namespace * Remove unnecessary click handler * Dialog working * Refactor action names * Reindex PHP array There was some missing indexes, which turned the array into an object in JS. * Remove unused event handlers * Move next/previous logic to external function * Move StorePart util to the types folder * Rename namespace to `woocommerce/product-gallery` * Undo product collection namespace renaming * Remove unnecessary namespace * Don't hide the large image on page load * Minor refactorings * Fix eslint error * Fix php cs errors with spacing and double arrows alignment * Disable no-use-before-define rule for eslint * Disable @typescript-eslint/ban-types rule for eslint * Fix parsed context error in e2e tests * Fix context parser for Thumbnail image * Move store to the top of the frontend file * Add interactivity api utils to the @woocommerce/utils alias * Replace deprecated event attribute --------- Co-authored-by: Luis Herranz <luisherranz@gmail.com> Co-authored-by: David Arenas <david.arenas@automattic.com> Co-authored-by: roykho <roykho77@gmail.com> --------- Co-authored-by: David Arenas <david.arenas@automattic.com> Co-authored-by: Luigi Teschio <gigitux@gmail.com> Co-authored-by: Alexandre Lara <allexandrelara@gmail.com> Co-authored-by: roykho <roykho77@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9ea4bfe - Browse repository at this point
Copy the full SHA 9ea4bfeView commit details
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6413756 - Browse repository at this point
Copy the full SHA 6413756View commit details -
Configuration menu - View commit details
-
Copy full SHA for b67b264 - Browse repository at this point
Copy the full SHA b67b264View commit details -
Configuration menu - View commit details
-
Copy full SHA for f665a38 - Browse repository at this point
Copy the full SHA f665a38View commit details
Commits on Nov 21, 2023
-
Merge branch 'trunk' of github.com:woocommerce/woocommerce-blocks int…
…o interactivity-api-new-store-api
Configuration menu - View commit details
-
Copy full SHA for 09821c9 - Browse repository at this point
Copy the full SHA 09821c9View commit details -
Merge commit 'a94a442d9a4cf40cb3cc68e08e172ccba1304bd2' into interact…
…ivity-api-new-store-api
Configuration menu - View commit details
-
Copy full SHA for fa5932c - Browse repository at this point
Copy the full SHA fa5932cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f675cd - Browse repository at this point
Copy the full SHA 8f675cdView 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.