Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Interactivity API: implement the new store() API #11071

Merged
merged 53 commits into from
Nov 21, 2023

Commits on Sep 25, 2023

  1. Configuration menu
    Copy the full SHA
    8450749 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. New store() API

    luisherranz committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    c467f35 View commit details
    Browse the repository at this point in the history
  2. Store raw actions

    luisherranz committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    d196254 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Configuration menu
    Copy the full SHA
    39230bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34f09af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e2e838 View commit details
    Browse the repository at this point in the history
  4. Allow store parts in store()

    DAreRodz committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    6636df7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    35d9b17 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a1ee265 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4f83002 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0840c78 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Configuration menu
    Copy the full SHA
    826bb6e View commit details
    Browse the repository at this point in the history
  2. Simplify store() a bit

    DAreRodz committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    61e6636 View commit details
    Browse the repository at this point in the history
  3. Implement privateStore()

    DAreRodz committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    447bc23 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    9f78157 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b694e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    6185cfe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba71c22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cff0dc7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0601c4e View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Set scope inside evaluate

    DAreRodz committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    c32fa0c View commit details
    Browse the repository at this point in the history
  2. Refactor proxy handlers

    DAreRodz committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    39cdbe3 View commit details
    Browse the repository at this point in the history
  3. Improve types a bit

    DAreRodz committed Oct 7, 2023
    Configuration menu
    Copy the full SHA
    e07f0d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    97cac9d View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Configuration menu
    Copy the full SHA
    96631ce View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Implement getElement

    DAreRodz committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    c3ac5c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e4180a7 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Remove unnecessary import

    DAreRodz committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    1d59c78 View commit details
    Browse the repository at this point in the history
  2. Implement private stores

    DAreRodz committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    1b696c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9537884 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    f1e0cdf View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    9ae9002 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. Configuration menu
    Copy the full SHA
    f0508c9 View commit details
    Browse the repository at this point in the history
  2. Remove DeepPartial type

    DAreRodz committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    2750a07 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0662935 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    48adf83 View commit details
    Browse the repository at this point in the history
  5. Move getters outside scope

    DAreRodz committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    3b22797 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Fix wc-key assignment

    DAreRodz committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    0740232 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb8adf1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6fc6f60 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Configuration menu
    Copy the full SHA
    8e61632 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    691bb54 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Configuration menu
    Copy the full SHA
    e1c1007 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Fix namespace assignment

    DAreRodz committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    8e605e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d91a56 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    8fc2917 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. 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>
    5 people committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9ea4bfe View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2023

  1. Configuration menu
    Copy the full SHA
    6413756 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b67b264 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f665a38 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Merge branch 'trunk' of github.com:woocommerce/woocommerce-blocks int…

    …o interactivity-api-new-store-api
    gigitux committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    09821c9 View commit details
    Browse the repository at this point in the history
  2. Merge commit 'a94a442d9a4cf40cb3cc68e08e172ccba1304bd2' into interact…

    …ivity-api-new-store-api
    luisherranz committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    fa5932c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f675cd View commit details
    Browse the repository at this point in the history