Commit Graph

51706 Commits

Author SHA1 Message Date
Ali Shan 255d5f377c
Order is search with the phone number and linked with the user accoun… (#37844)
* Order is search with the phone number and linked with the user account. #36810

* updated the query and tested on local env

* fixed the phpcs issue

* added the changelog

* updated the string concatenation issue and also moved the change log file to the correct path

* removed the %i placeholder from the query and used the old way to add the table name
2023-04-28 11:11:58 -04:00
Maikel David Pérez Gómez f3959d0700
Summary field remove 'inline image' and 'keyboard input' options (#38012)
* Summary field remove 'inline image' and 'keyboard input' options

* Add changelog file
2023-04-28 10:51:22 -04:00
Joshua T Flowers bf14b26846
Add modal editor for use in product editor (#37937)
* Add modal editor for use in product editor

* Allow title of modal to be modified by consumer

* Add changelog entry

* Remove errant style imports after rebase

* Handle PR feedback
2023-04-28 07:48:36 -07:00
louwie17 452fa75038
Remove strange block editor highlighting within product block editor (#38000)
* Remove or hide block highlighting within product block editor

* Add changelog
2023-04-28 08:31:14 -03:00
louwie17 411a3e600a
Remove dot in images description (#37983) 2023-04-28 05:46:33 -03:00
Christopher Allford 86c102a5ed
Fixed `review-testing-instructions.yml` Workflow Permissions (#38032) 2023-04-28 00:55:10 -07:00
RJ d15f62241f
dev: added xstate inspector toggling (#38022)
* dev: added xstate inspector toggling

* dev: added eslint-plugin-xstate
2023-04-28 15:30:52 +08:00
Sam Seay 6d02b0a00e
Update cache action and fix bug with turbo caching in CI (#37774) 2023-04-28 16:34:49 +12:00
Paul Sealock a303df0da5
Monorepo utils: Fix GitHub flag (#38023)
move source files
2023-04-28 12:31:33 +12:00
Moon 8f02ecbeba
Migrate Ellipsis Menu component to TS (#36405)
* Migrate ellipsis-menu to TS

* Add changelog

* Remove React.VFC -- it is deprecated in React 18

* Make renderContent props optional

* Allow KeyboardEvent

* Make onToggle optional

* Allow undefined for backward compatibility

* Remove unnecessary @ts-expect-error -- ellipsis menu is now in TS

* Make onToggle required

* Make event e required - backward compatibility

* Use toggleHandlerOverride to make it more readable

* Remove React.VFC -- it is deprecated in React 18
2023-04-27 17:00:35 -07:00
Paul Sealock ce7733ae78
Monorepo Utils: Migrate cli-core (#38018)
* move source files

* add uuid type dependency
2023-04-28 10:16:19 +12:00
Paul Sealock 6b158648e3
WooCommerce Utilities CLI: Add banner (#37910)
* Add figlet

* lockfile update
2023-04-28 08:40:44 +12:00
Joshua T Flowers 64dbeba260
Add ContentPreview component for previewing block content (#37990)
* Allow custom tags and attributes in sanitize html util

* Add ContentPreview component for previewing block content

* Add styling around preview area

* Add changelog entry

* Only show content preview area when content exists
2023-04-26 19:29:50 -07:00
Matt Sherman 72551f170a
Show correct variations count when generating a single variation (#37876) 2023-04-26 21:40:08 -04:00
Moon 3c2bae196b
Add navigation and progress-bar components for the new core profiler (#37741)
* add: core profiler scaffolding using xstate

* Add navigation and progress-bar components

* fix css lint error

* Update plugins/woocommerce-admin/client/core-profiler/components/navigation/woologo.tsx

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/core-profiler/components/progress-bar/progress-bar.tsx

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Update plugins/woocommerce-admin/client/core-profiler/components/navigation/navigation.tsx

Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>

* Import HTMLAttributes

* Remove var from __ function

* Make progress bar color configurable

* Destruct props directly in the function and use const to define the comp

* Refactor fillerStyles

* Use woocommerce prefix for classnames

* Use inherit for display -- initial did not work properly

* Fix css lint error

* Remove unused WooLogo var

* Use named export

* Fix js style

* Add changelog

* Fix broken tests

---------

Co-authored-by: rjchow <me@rjchow.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-04-26 17:27:53 -07:00
Moon 4f484f144e
Migrate Rating component to TS (#36301)
* Convert rating to ts

* Add changelog

* Add gridicons type

* Fix style

* Change ReactElement to ReactNode

* Remove propTypes

* Remove React.VFC -- it is deprecated in React 18
2023-04-26 15:21:16 -07:00
Paul Sealock 95dc211bf5
Code Freeze CLI: Add branch and milestone commands to Code Freeze action (#37948)
* Add milestone computation cli

* lock file update

* lock file update

* conflicts

* fixup
2023-04-27 09:02:32 +12:00
Paul Sealock 64c2526b98
Update WooCommerce support policy to L-1 (#37970) 2023-04-27 08:41:31 +12:00
Leif Singer dc88812e90
Update stable tag to 7.6.1 (#38006) 2023-04-26 17:44:55 +02:00
github-actions[bot] 8fe42b4fb9
Update changelog.txt from release 7.6.1 (#38005)
Prep trunk post release 7.6.1

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-26 17:35:03 +02:00
Corey McKrill ddc94fc59f
Fix/36785 Clear floats after Product Summary in 2023 theme (#37877)
Ensures that sections like related products and upsells don't wrap around the product image if there's no product description.

Fixes #36785
2023-04-26 06:28:55 -07:00
Matt Sherman e81f8ae88f
Update AdvancedFilters to use createInterpolateElement instead of interpolateComponents (#37967) 2023-04-26 06:58:14 -04:00
Niels Lange 856df0a3a6
Prepare Packages for Release (#37991) 2023-04-26 10:34:40 +07:00
psealock b726c62be5 Automated change: Prep @woocommerce/extend-cart-checkout-block for release. 2023-04-26 00:53:18 +00:00
Paul Sealock 34bd5e1bf0
Code Freeze CLI: Add branch command (#37914) 2023-04-26 10:53:19 +12:00
Joel Thiessen 6f7eeeaf49
Refactoring LayoutContext and implementing with product editor (#37720) 2023-04-25 15:17:33 -07:00
Ron Rennick e849ff002f
Fix #36664 (#37916) 2023-04-25 18:57:13 -03:00
Christopher Allford c99a1eb633
Fixed Beta Tester TSConfig (#37841)
All of our TS projects need this to avoid pulling conflict types
from higher `node_modules` directories.
2023-04-25 13:20:04 -07:00
Ron Rennick dec3e66410
Change from using a `figure` to using a `div` around the single product image (#37853) 2023-04-25 17:05:31 -03:00
Ron Rennick c7335b2070
Add changelog file 2023-04-25 17:01:40 -03:00
Jorge A. Torres 226af5017d
Fix "Out of stock threshold" when filed value is empty - Fix/issue 36960 (#37855) 2023-04-25 15:36:43 -03:00
Joshua T Flowers 48af8c1333
Add the product description block and callbacks for the IframeEditor (#37852)
* Add onChange and onClose callbacks to IframeEditor

* Add description block

* Add initial blocks to iframe editor

* Update button text when description already exists

* Remove unused editorStyle block property

* Debounce onChange callback

* Add changelog entry

* Handle PR feedback

* Fix up export after rebase
2023-04-25 11:05:25 -07:00
Ravinder Kumar f58ea73702
use of page.fill() in variable product e2e tests (#37854)
* tweeak: use locator to fill values

* chore: log change

* format: improve code formatting

* chore: remove locator refference from variable name

* Update create-variable-product.spec.js

Specify last element with selector

* Update create-variable-product.spec.js

Different selector

* Update create-variable-product.spec.js

Third time is a charm.

* Update create-variable-product.spec.js

.second doesn't exist.  User .nth

---------

Co-authored-by: Jonathan Lane <lanej0@users.noreply.github.com>
2023-04-25 09:45:33 +02:00
Sam Seay 7cbc3811d8
Update monorepo to pnpm 8 and Node to 16.14 (#37915) 2023-04-25 18:49:30 +12:00
Paul Sealock 5798e87200
Code Freeze CLI: Add Milestone command (#37723)
Add milestone computation cli
2023-04-25 16:55:14 +12:00
Paul Sealock 99fd4a1e09
Delete changelog from cherry picked commit from 37890 (#37946)
remove changelog from cherry picked commit
2023-04-25 08:38:15 +12:00
Jorge A. Torres 4ae4e15777
Plugin installer version 2 (#37753) 2023-04-24 14:44:13 -03:00
Maikel David Pérez Gómez fb7e68a83d
Track stock quantity for this product should be disabled when Enable stock management within settings is disabled, and enabled otherwise (#37957)
* Track stock quantity for this product should be disabled when Enable stock management within settings is disabled, and enabled otherwise.

* Add changelog files
2023-04-24 13:42:45 -04:00
Denis Dvali d428a51606 Fix warnings "PHP Deprecated: Creation of dynamic property". 2023-04-24 21:12:53 +04:00
Matt Sherman 2ab11a7236
Analytics: Fix update_registered_customer when invalid user_registered value (#37907) 2023-04-24 10:12:48 -04:00
nigeljamesstevenson c038f22c6d
Fix URL and assertions in merchant/add-order perf tests (#37719) 2023-04-24 09:35:24 +01:00
Leif Singer 0fd5224f78
remove unused deasync dependency (#37821) 2023-04-24 09:37:40 +02:00
RJ f0109e89ac
add: new core profiler scaffolding in xstate (#37628)
* add: core profiler scaffolding using xstate

* address review feedback and questions

* changed path to use setup-wizard

* default new core-profiler feature flag to false
2023-04-24 10:08:24 +08:00
github-actions[bot] e60d251cd0
Delete changelog files based on PR 37927 (#37944)
Delete changelog files for 37927

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-24 11:19:36 +12:00
github-actions[bot] 5c98b1c7a8
Delete changelog files based on PR 37818 (#37826)
Delete changelog files for 37818

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-24 10:05:08 +12:00
github-actions[bot] ecc4588ffc
Delete changelog files based on PR 37827 (#37874)
Delete changelog files for 37827

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-04-24 10:04:58 +12:00
Joel Thiessen 3c5a96712a
Adding Stock status to inventory tab and toggle block (#37906) 2023-04-21 14:49:34 -07:00
Maikel David Pérez Gómez 1f2d735d0c
Update current block names to reflect use case and avoid conflicts (#37851)
* Change woocommerce/product-name to woocommerce/product-name-field

* Change woocommerce/product-summary to woocommerce/product-summary-field

* Change woocommerce/product-pricing to woocommerce/product-pricing-field

* Change woocommerce/product-radio to woocommerce/product-radio-field

* Change woocommerce/product-images to woocommerce/product-images-field

* Fix product name block invalid class name

* Move woocommerce/product-section to blocks folder

* Move woocommerce/product-tab to blocks folder

* Move woocommerce/product-collapsible to blocks folder

* Organize block registration, imports and styles

* Add changelog files

* Change woocommerce/product-category to woocommerce/product-category-field

* Change woocommerce/product-checkbox to woocommerce/product-checkbox-field

* Change woocommerce/product-inventory-email to woocommerce/product-inventory-email-field

* Change woocommerce/product-sku to woocommerce/product-sku-field

* Register woocommerce/product-schedule-sale-fields in server side

* Register woocommerce/product-track-inventory-fields in server side

* Fix invalid reference in tabs tests
2023-04-21 16:26:53 -04:00
Joel Thiessen 87da63eb3a
Moving section icon svgs to assets folder and loading by URL (#37869) 2023-04-21 11:53:06 -07:00
Barry Hughes afe226d573
Fix bulk sale price update (#37812) 2023-04-21 11:43:30 -07:00