Commit Graph

54364 Commits

Author SHA1 Message Date
Brent MacKinnon 88ef351f54
Update style-guide.md 2023-10-10 13:03:17 -03:00
Maikel David Pérez Gómez e0a138b27b
Complete General tab for Single Variation page (#40633)
* Add description to the Variation details section

* Add Image section block to the Single Variation page

* Add support to the checkbox block for changing non boolean properties and extend it to use the entity context

* Register the product-variation-visibility block into the ProductVariationTemplate

* Null is a valid value but not updafined

* Fix type definitions

* Add changelog files

* Fix linter errors

* Add changelog file

* Change onValue and offValue for checkedValue and unchackedValue for the checkbox block to avoid event naming conflicts

* Set multiple value dynamically into the media uploader component

* Prevent uploading multiple files when multiple is set to false

* Remove cover label when multiple is set to false

* Fix DropZone min height in Image section

* Fix rebase conflict

* Fix linter error
2023-10-10 09:42:26 -04:00
Nathan Silveira dab1457bba
Add 'Declaring compatibility with the product editor' section to Handbook (#40658)
* Add declaring compatibility section

* Improve text
2023-10-10 13:39:44 +00:00
louwie17 98876f54d9
Add pricing tab for variations (#40642)
* Update blocks with postType context

* Add tax class

* Pass context into get_tax_class

* Add parent option

* Add changelog

* Update changelog

* Add isRequired attribute to regular price block for use in variations

* Add additional condition to avoid error in date time picker

* Add changelog

* Fix lint errors
2023-10-10 08:55:05 -03:00
Corey McKrill 914a1dfd09
Update mobile app onboarding modal to focus on app installation (#40559) 2023-10-09 16:00:50 -07:00
nigeljamesstevenson 840b722ce5
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 19:44:01 +01:00
nigeljamesstevenson b7b763cf7e
Update test-assistant-api-rest-change-tracker.yml 2023-10-09 16:54:59 +01:00
Matt Sherman 8ac66ab2b7
Template API: Expression evaluation package (#40556) 2023-10-09 09:22:17 -04:00
Nathan Silveira a1226d5e30
Add support for 'meta_data.' property format for reusable blocks (#40600)
* Add support to multiple types in useProductEntityProp

* Migrate 'checkbox' to useProductEntityProp

* Migrate 'pricing' to useProductEntityProp

* Migrate 'radio' to useProductEntityProp

* Migrate 'taxonomy' to useProductEntityProp

* Migrate 'text' to useProductEntityProp

* Migrate 'toggle' to useProductEntityProp

* Add changelog

* Update unit tests

* Add postType context to generic blocks and use-product-entity-props and add code review suggestions

* Use postType for meta_data as well

* Fix unit tests
2023-10-09 12:34:37 +00:00
sanesh-acowebs 1c711eeb16
Updated possibly_schedule_import function to return order id (#35743)
Co-authored-by: Néstor Soriano <konamiman@konamiman.com>
2023-10-09 12:06:59 +02:00
nigeljamesstevenson 2731c41268
Remove OBW end to end tests (#40256) 2023-10-09 10:16:49 +01:00
Chris Runnells e14086eef1
Update recommended themes for Customize Your Store (#40650)
* Update theme properties

* Fix theme array properties

* Update filtered urls to use admin_url() instead of home_url()

home_url() is used for front-end requests; admin_url() should be used for wp-admin urls

* Remove "valid" theme check

* Slight tweak to the color palette values

The theme showcase actually uses some more complex logic to pick two out of the 5 colors to represent the theme. We could probably manually copy these as two values instead of what I'm doing here.

* Removed unused color palette values

Really this is probably the simpler approach. Might revisit this later. Also added a total_palettes value so we can track that and show "+X" in the theme preview

* Add extra palettes number

If there are more than 4 palettes, we'll show the number of extras as we do in the WP.com theme showcase.

* Tighten gap between theme name and type

There was too large of a bottom margin on the theme info div.

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

* Fix lint

* Remove allowed_theme check from activate_theme api

* Fix tests

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-10-09 02:45:04 -05:00
RJ b436d40be3
add: CYS task-completed intro flow (#40616)
* add: UI work for task completed flow

* added spinner for intro page loading

* add: save ai generated theme id to options

* resolve rebase conflict

* fixed tests
2023-10-09 13:19:08 +08:00
Matt Sherman 2abd3eee38 Initial documentation 2023-10-08 08:13:54 -04:00
Matt Sherman 7a950f51b6 Changelog 2023-10-08 07:03:17 -04:00
nigeljamesstevenson 60b4502e40
Update test-assistant-api-with-date.yml 2023-10-07 11:03:46 +01:00
nigeljamesstevenson a98d255f9f
Update test-assistant-api-with-date.yml 2023-10-07 11:01:29 +01:00
nigeljamesstevenson 1a1b54b355
Update test-assistant-api-with-date.yml 2023-10-07 10:43:26 +01:00
nigeljamesstevenson 292cd5cb5a
Update test-assistant-api-with-date.yml 2023-10-07 10:25:47 +01:00
Christopher Allford 1c30563ffc
Separate PHP and JS Unit Tests (#40639)
Since some projects might have both kinds of tests we are
going to have a `test:php` and a `test:js` script for each.
2023-10-06 15:41:47 -07:00
Brent MacKinnon e1f85cbde8
Add linting rules to style-guide.md 2023-10-06 18:05:31 -03:00
Jon Lane 0d38de6a20 Changelog 2023-10-06 13:57:37 -07:00
Jon Lane 7091ac3d9a Skips tests as they’re only designed to run in wp-env 2023-10-06 13:51:30 -07:00
Moon e7711f1a50
Skip combining translation files without comment.reference (#40623)
* Skip invalid translation format

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-10-06 13:33:37 -07:00
Jon Lane 67e78507e7 Remove onboarding helpers 2023-10-06 13:32:33 -07:00
Corey McKrill 783cf6bdcf
Add settings-api.md (#40640)
Moved over from the old woodocs repo.
2023-10-06 11:45:31 -07:00
Jon Lane 8d2496ca33 Merge branch 'trunk' into e2e/remove-obw-tests 2023-10-06 11:14:23 -07:00
Brent MacKinnon ba63366169
Add settings-api.md 2023-10-06 15:06:22 -03:00
Maikel David Pérez Gómez d1656e12e5
Add Shipping tab to the single variation page (#40637)
* Fix shipping blocks ids into ProductVariationTemplate

* Add support to postType context to product-shipping-class-field block

* Add support to postType context to product-shipping-dimensions-fields block

* Add changelog files
2023-10-06 13:47:45 -04:00
Maikel David Pérez Gómez 5d97297c89
Add Inventory tab to the single variation page (#40636)
* Remove advance section from the inventory section in the ProductVariationTemplate

* Add support to postType context to product-sku-field block

* Add support to postType context to product-toggle-field block

* Add support to postType context to product-inventory-quantity-field block

* Add support to postType context to product-radio-field block

* Fix inventory blocks ids into ProductVariationTemplate

* Add changelog files
2023-10-06 13:45:27 -04:00
nigeljamesstevenson e57cb30e31
Check first element on the page (#40423) 2023-10-06 18:11:59 +01:00
Nathan Silveira 129f11df9e
Create woocommerce/product-number-field block (#40619)
* Add initial structure for number block

* Add more attributes and remove currenty formatting

* Add changelog

* Refactor

* Add readme

* Remove unused import

* Add changelog

* Use 'formatNumber' and 'parseNumber' functions from useProductHelper hook

* Use 36px default size

* Fix README
2023-10-06 16:21:33 +00:00
nigeljamesstevenson 66b619ed4c
Update test-assistant-api-with-date.yml 2023-10-06 14:44:04 +01:00
nigeljamesstevenson 3fd92748a9
Update test-assistant-api-with-date.yml 2023-10-06 14:26:39 +01:00
nigeljamesstevenson 054aeaa6e3
Update test-assistant-api-with-date.yml 2023-10-06 14:05:57 +01:00
nigeljamesstevenson 70714fc744
Update test-assistant-api-with-date.yml 2023-10-06 13:42:30 +01:00
nigeljamesstevenson 8fa7906385
Update test-assistant-api-with-date.yml 2023-10-06 13:21:45 +01:00
nigeljamesstevenson 2907e31c46
Update test-assistant-api-with-date.yml 2023-10-06 13:01:24 +01:00
nigeljamesstevenson 9b188e2221
Update test-assistant-api-with-date.yml 2023-10-06 12:38:10 +01:00
nigeljamesstevenson 3b5d0829a1
Update test-assistant-api-with-date.yml 2023-10-06 12:30:18 +01:00
nigeljamesstevenson 6ccb20287f
Rename test-assistant-api-with-date to test-assistant-api-with-date.yml 2023-10-06 12:23:18 +01:00
nigeljamesstevenson 9c4dfc3fd3
Update test-assistant-api-with-date 2023-10-06 12:17:37 +01:00
nigeljamesstevenson 755b1ebf81
Update test-assistant-api-with-date 2023-10-06 12:06:40 +01:00
nigeljamesstevenson e69f640241
Create test-assistant-api-with-date 2023-10-06 12:05:27 +01:00
Leif Singer c7dbd8a4e1
Tweak flaky meta data save test (#40457) 2023-10-06 11:42:38 +02:00
And Finally c8346b70d3
Marketplace search view more button & categories 2 (#40617) 2023-10-06 09:56:05 +01:00
Chi-Hsuan Huang 6ce8199e97
[Customize Your Store] Add "Inter + Inter" font pairing & Set default font pairing (#40611)
* Add Inter + Inter font pairing

* Set default font pairing

* Add changelog
2023-10-06 03:53:52 -05:00
And Finally a60f0ab23f Changes from https://github.com/woocommerce/woocommerce/pull/40375. Adding "View all" button to in-app marketplace search results. 2023-10-06 09:17:56 +01:00
Jonathan Lane 76cc38d7bd
A few fixes for API daily test execution (#40180)
* Make check conditional

* Changelog

* Refactor based on PR feedback

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-10-06 08:25:15 +02:00
Jaclyn Chen 6a3a94ee42 Fit mobile app modal height to content with a max height that's taller than the default modal guide. 2023-10-06 13:36:14 +08:00