Commit Graph

52342 Commits

Author SHA1 Message Date
“Chris 9d9a5bbb72
Add changelog 2023-05-01 15:43:03 -07:00
“Chris a6e4a9e8ab
Fix TT2 comment list 2023-05-01 15:43:03 -07:00
Tomek Wytrębowicz b0b80445ab Move common stats item schema bits to a shared class 2023-05-01 23:31:05 +02:00
Tomek Wytrębowicz 6a027f8eb7 Fix whitespaces for PHPCS 2023-05-01 22:51:43 +02:00
Tomek Wytrębowicz 5d75137f73 Rename `AbstractController` to `GenericController` 2023-05-01 22:19:05 +02:00
Tomek Wytrębowicz 58bc88e0fc Move `interval` collection param to a shared parent class 2023-05-01 22:10:22 +02:00
Tomek Wytrębowicz 766e19e109 Fix `Taxes\Stats\Controller::get_collection_params`
remove lefover `$params` overwrite, let it use parent's one.
2023-05-01 21:46:12 +02:00
jonathansadowski dfd3c9fbb6
Remove woorelease config (#37730)
* Remove woorelease config

* Add changelog
2023-05-01 13:10:25 -05:00
Joel Thiessen 16b9191c0d
Adding shipping class option and modal (#37968) 2023-05-01 10:04:54 -07:00
Joshua T Flowers 8827d3fb9a
Add block inspector to modal iframe editor (#38011)
* Add block inspector to modal iframe editor

* Add changelog entry
2023-05-01 10:04:25 -07:00
Joshua T Flowers d86a3d1dab
Register server-side tracking during rest requests (#37796)
* Register server-side tracking during rest requests

* Move loading of tracks related functionality to WC class

* Load tracks functions to allow tests to pass

* Move single init hook for WC Site Tracking to core class
2023-05-01 09:50:58 -07:00
Joel Thiessen d014e80a20
Fixing more menu width in product block editor header (#38053)
* Fixing more menu styles

* Adding changelog
2023-05-01 06:55:31 -03:00
Jorge A. Torres 3002a19bce
Print blocks-based element CSS classes only when a block theme is used (#37631) 2023-04-28 16:57:51 -03:00
Nathan Silveira 8fc6972161
Fix N/A displayed on re-enabling toggles for "Stats overview" panel after refreshing "Woocommerce > Home" page. (#38030)
* Fix N/A on stats overview on WooCommerce > Home

* Add changelogs

* Fix wrongfully added type definition
2023-04-28 16:15:10 -03:00
Jorge A. Torres 6fde831921
fix/37604: replace title html attribute with aria-label (#37811) 2023-04-28 15:53:44 -03:00
Tomek Wytrębowicz 2654d577c0 Fix whitespaces for PHPCS 2023-04-28 17:41:52 +02:00
Maikel David Pérez Gómez a35f2c3d5d
Update List price Pricing link on the general tab to navigate to the Pricing tab (#37961)
* Update List price Pricing link on the general tab to navigate to the Pricing tab

* Add changelog files

* Simplify the event name to product_pricing_help_click
2023-04-28 11:33:56 -04:00
Maikel David Pérez Gómez 1514333162
Remove AUTO-DRAFT in product name field on create new product page (#37982)
* Remove AUTO-DRAFT in product name field on create new product page #37930

* Add changelog file

* Remove non needed useEffect import
2023-04-28 11:33:28 -04:00
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
Tomek Wytrębowicz f5779ba468 Add the changelog entry 2023-04-28 16:44:19 +02:00
Tomek Wytrębowicz 9f921b8e40 Move common `prepare_item_for_response` bits to the shared class
to make the code DRYier.

`Reports/Controller` differs, so its children will still contain redundant code.
2023-04-28 16:41:20 +02:00
Siddharth Thevaril 9f277ad7f5 remove echo 2023-04-28 19:32:49 +05:30
Tomek Wytrębowicz 9126db1abb Move common `get_collection_params` bits to the shared class
to make the code DRYier
2023-04-28 15:40:30 +02: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
Tomek Wytrębowicz 7a2a80bf81 Move `X-WP-Total` headers logic to a shared class,
to DRY - remove duplicated code
2023-04-27 15:28:30 +02: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
Abdalsalaam Halawa 704ad2832a Limit the number of products that are listed in the held stock note. 2023-04-27 00:09:43 +02: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
Tomek Wytrębowicz c924b21c84 Remove `$rest_base` from `…\API\Reports\Controller` as it is defined in its parent `WC_REST_Controller` 2023-04-26 14:44:20 +02: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