Commit Graph

307 Commits

Author SHA1 Message Date
Luigi Teschio 762f6847e5
WooCommerce Beta Tester - CYS: implement removing patterns_ai_data post type (#41285)
* WooCommerce Beta Tester - CSY: implement removing patterns_ai_data post type

* add changelog

* Update changelog
2023-11-08 12:07:30 +01:00
Matt Sherman ad65099e42 Changelog 2023-11-06 16:07:41 -05:00
Matt Sherman ba53c9d828 Improve UX of expression add button 2023-11-06 15:58:44 -05:00
Matt Sherman feec1c75a0 Remove unused CSS 2023-11-06 15:51:55 -05:00
Matt Sherman 1a2bbc03ed Use custom properties for CSS 2023-11-06 15:49:59 -05:00
Matt Sherman 84ec068dbb Use core/block-editor store to get selected block info 2023-11-06 15:11:04 -05:00
Matt Sherman 8dc2cdce5a Update tab button hover style 2023-11-06 15:11:04 -05:00
Matt Sherman 3a449c2c93 Rename components 2023-11-06 15:11:04 -05:00
Matt Sherman 10057b0d81 Fix scrolling of expressions 2023-11-06 15:11:04 -05:00
Matt Sherman 5727281493 Visually hide tabs when not selected, to keep state 2023-11-06 15:11:04 -05:00
Matt Sherman 1c40d2e892 Handle syntax error 2023-11-06 15:11:04 -05:00
Matt Sherman 140e61ed26 Tweak expression textarea style 2023-11-06 15:11:04 -05:00
Matt Sherman 22c0424cb7 Add Product tab to dev tools 2023-11-06 15:11:04 -05:00
Matt Sherman b0251b1484 Add @woocommerce/expression-evaluation dependency 2023-11-06 15:11:04 -05:00
Matt Sherman b110356263 Add order to menu item 2023-11-06 15:11:04 -05:00
Matt Sherman ed2f32f278 Help panel 2023-11-06 15:11:04 -05:00
Matt Sherman 837f7b05eb Update colors 2023-11-06 15:11:04 -05:00
Matt Sherman 2975c04269 Tab buttons styling 2023-11-06 15:11:04 -05:00
Matt Sherman d2ff3d3615 Fix scrolling and height of dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman 63c629b14d Handle when no block was focused 2023-11-06 15:11:03 -05:00
Matt Sherman cbda698e08 Move useFocusedBlock to dev tools bar 2023-11-06 15:11:03 -05:00
Matt Sherman a2fb19c6ae Extract useFocusedBlock hook 2023-11-06 15:11:03 -05:00
Matt Sherman 49cba8d5ba Style updates, and limit focus tracking to product editor wrapper 2023-11-06 15:11:03 -05:00
Matt Sherman 65e0208073 Initial styling 2023-11-06 15:11:03 -05:00
Matt Sherman b0ce2b5723 Hook up menu 2023-11-06 15:11:03 -05:00
Matt Sherman 2457946161 Initial block inspector panel 2023-11-06 15:11:03 -05:00
Matt Sherman 8af0105e0d Add @woocommerce/admin-layout dependency 2023-11-06 15:11:03 -05:00
Matt Sherman a6ec8d4195 Start hooking up focus handler 2023-11-06 15:11:03 -05:00
Matt Sherman e44751fac5 Refactor menu item components 2023-11-06 15:11:03 -05:00
Matt Sherman 77617ae974 Initial menu skeleton 2023-11-06 15:11:03 -05:00
Matt Sherman 09bb2183fb Update dependencies 2023-11-06 15:11:03 -05:00
Matt Sherman 5bc52ca2eb Add @wordpress/icons dependency 2023-11-06 15:11:03 -05:00
Matt Sherman e1978d04b2 Add @woocommerce/product-editor dependency 2023-11-06 15:11:03 -05:00
jonathansadowski d27c3941ea
Allow print_r in beta tester logger (#41101) 2023-10-30 12:35:54 -05:00
jonathansadowski c0eed18c8d
Prepare Beta Tester 2.2.5 Release (#41099) 2023-10-30 11:57:35 -05:00
Chi-Hsuan Huang 61a68131bd
Add wca test tool to reset Customize Your Store task (#40728)
* Add reset cys tool

* Add changelog

* Reset style

* Fix reset template

* Update actions.js

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>

---------

Co-authored-by: RJ <27843274+rjchow@users.noreply.github.com>
2023-10-12 09:05:58 -05:00
Matt Sherman 1e35d45c99
Template API: Expose template block id and order to client (#40263)
* Update unit tests to handle _templateBlockId and _templateBlockOrder

* Refactor get_formatted_template

* Initial @woocommerce/block-templates package

* Add block-templates to admin webpack

* Add block-templates to dependency-extraction-webpack-plugin

* Add block-templates to admin assets

* Add block-templates dependency

* Update name block

* Update syncpack

* Update regular price block

* Update tab block

* Update section block

* Add @wordpress/deprecated to package

* Deprecated initBlock

* Update attributes block

* Update catalog visibility block

* Update checkbox block

* Update conditional block

* Update collapsible block

* Allow additional props to be passed to useWooBlockProps

* Update inventory sku block

* Update inventory quantity block

* Update inventory email block

* Update images block

* Update description block

* Update radio block

* Update pricing block

* Update password block

* Update notice block

* Update shipping dimensions block

* Update shipping class block

* Update schedule sale block

* Update sale price block

* Update toggle block

* Update taxonomy block

* Update tag block

* Update summary block

* Update variations block

* Update variations options block

* Update variation items blocks

* Changelog

* Changelog

* Changelog

* Changelog

* Changelog

* Add test for registerWooBlockType

* Add @testing-library/react-hooks to devDependencies

* Add test for useWooBlockProps

* Document API

* Fix linting issues in README.md

* Fix tabs tests by mocking useWooBlockProps

* Allow header duplication under different nesting

* Remove unused import (fixes lint error)

* Update lock file
2023-09-27 13:38:56 -07:00
Moon 00fb7dab11
WooCommerce Beta Tester tracks -- Support array property (#39922)
* Support array property

* Add changelog
2023-08-28 12:44:27 -07:00
Christopher Allford 739159ab44
Prepare Beta Tester 2.2.4 Release (#39874) 2023-08-23 13:51:43 -07:00
Christopher Allford cd8edbf51a
Made Beta Tester Release Compatible (#39871) 2023-08-23 12:45:54 -07:00
Néstor Soriano 4876ab35b8
Bump WooCommerce minimum required PHP version to 7.4 (#39820)
-Change "Requires PHP":
  - In woocommerce.php
  - In readme.txt
  - In plugins/woocommerce-docs/woocommerce-docs.php
  - In packages/js/create-product-editor-block/plugin-templates/$slug.php.mustache

- Change "testVersion" in phpcs.xml:
  - In the root of the repository
  - In plugins/woocommerce
  - In plugins/woocommerce-beta-tester

- Change "require-php" and "config-platform-php" in composer.json
- Update composer.lock with more modern versions of some of the dependencies
- Remove the admin notice about the upcoming bump for PHP 7.3 users in class-wc-admin-notices.php
2023-08-22 09:21:09 +02:00
jonathansadowski 9887601901
Update beta tester build step (#39732)
* Update beta tester build step

* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-15 08:16:19 -05:00
jonathansadowski 67079574cc
Add support for releasing Beta Tester to WooCommerce.com (#39671) 2023-08-11 12:51:01 +12:00
Sam Seay d08780f139
Bump beta tester to 2.2.2 in prep to release bugfixes (#39603) 2023-08-09 13:06:02 +12:00
Christopher Allford 4549bc82c5
Applied PHPCS To Beta Tester (#39476) 2023-08-08 17:20:34 -07:00
Sam Seay e8c3808527
Upgrade TypeScript to v5.1 (#39531) 2023-08-08 16:35:31 +12:00
Sam Seay d64e1c24dd
Beta Tester: Do not run code in tracks debug unless WC_ABSPATH is defined. (#39486)
* Do not run code in tracks debug unless WC_ABSPTAH is defined.

* Add changefile(s) from automation for the following project(s): woocommerce-beta-tester

* Also avoid registering scripts if Woo is not installed.

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-04 12:29:07 +08:00
Sam Seay 4a2fd63b99
Use syncpack customTypes to keep pnpm and node in sync. Update pnpm to 8.6.7 (#39245) 2023-07-18 14:27:18 +12:00
rodelgc 90a6ba76dd
Update `wp-env` to `8.2.0` (#39100)
* Update pinVersion

* Syncpack fix mismatches

* Update lockfile via `pnpm i`

* Add changelog.

* Add more changelogs
2023-07-06 10:06:39 -07:00
Sam Seay 957fb2b07e
Update pnpm to 8.6.5 (#38990) 2023-06-29 16:51:29 +12:00