Commit Graph

52504 Commits

Author SHA1 Message Date
Joel Thiessen 3679f019bb
Adding attributes block to product block editor. (#38051) 2023-05-02 21:13:48 -07:00
Jorge A. Torres 3c27123aa2 Make changes per review 2023-05-02 17:11:36 -03:00
Matt Sherman 94599a14cf
Add product type options to product tracking (#38017)
* Add product_type_options to wcadmin_product_add_publish
* Add product_type_options to wcadmin_product_update
* Add product_type_options to other wcadmin_product_ events
2023-05-02 13:42:57 -04:00
Joshua T Flowers 6b141fa2c6
Add fixed toolbar to modal editor (#38031) 2023-05-02 08:45:50 -07:00
Shojib khan 0ae9ec0844
Solves Cross-Sells display variable product (#37616)
Solved cross-sells display issue on cart
2023-05-02 10:24:22 -04:00
Nathan Silveira 4145b6e0f7
Await triggerNoteAction before navigating when action is clicked (#38047)
* Await triggerNoteAction before navigating when action is clicked

* Add additional logic and use @woocommerce/navigation to navigate
2023-05-02 11:17:50 -03:00
Tomek Wytrębowicz d35e8f3c46 Fix path for `segment_label` in Products & Variations schema 2023-05-02 16:11:58 +02:00
Jorge A. Torres fa6ee94bc8 Add changelog 2023-05-02 10:17:45 -03:00
Peter Fabian 02dbd1f325
Update wp org listing description 2023-05-02 15:03:35 +02:00
Tomek Wytrębowicz fbd377b2ec Change `get_item_properties_schema` to be protected 2023-05-02 14:22:51 +02:00
Sam Seay 46aa3f2aa1
Add check for bot author to steps that should be skipped (#37949)
Add check for bot author to steps that should be skipped.
2023-05-02 15:21:35 +12:00
Corey McKrill f92e505d48
Fix comment list alignment in TT2 (#37894) 2023-05-01 17:03:48 -07:00
“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