Commit Graph

53374 Commits

Author SHA1 Message Date
Moon c45335b936
CYS - Add LookAndFeel and ToneOfVoice pages (#39979)
* Add ProgressBar component to @woocommerce/components

* Add changelog

* Remove html.wp-toolbar in fullscreen mode

* Add base style

* Add Tell us a bit more about your business page

* Fix merge conflict issues

* Send BUSINESS_INFO_DESCRIPTION_COMPLETE event when continue button is clicked

* Remove duplicated style import

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce

* Lint fix

* Add 'Look and Feel' and 'Tone of voice' pages';

* Use correct classname

* Minor changes

* Textearea color should be gray-900 after the user enter text
* guide font weight should be 500

* Fix layout shift when a choice is selected

* Fix choices width for tone of voice page

* Use context value for the default

* Revert button margin top

* Fix default selection

* Add X button

* Decrease the margin by 20px to accommodate the height of the close button

* Add close action

* Include @woocommerce/ai package

* Add AI service

* Use AI service

* Parse JSON from in function

* Fix assignLookAndTone event type

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/components/choice/choice.scss

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

* Update plugins/woocommerce-admin/client/customize-store/design-with-ai/services.ts

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

* Log when AI API endpoint request fails

* Add spinner when user clicks the continue button

* streamlined unnecessary isRequesting context and forwarded close event

* pnpm-lock changes from trunk

* lint fixes

* ai package test passWithNoTests

* changelog

* reset pnpm-lock to trunk

* Dev: update pnpm-lock.yaml and jest preset config (#40045)

* Update pnpm-lock.yaml

* Update jest-preset config to fix unexpected token error

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
Co-authored-by: rjchow <me@rjchow.com>
2023-09-06 14:21:09 +08:00
Chris Runnells e2c2c52c1c
Update task list progress bar default setting (#39369) 2023-09-05 13:50:33 -10:00
Chris Runnells 788d4419dc Update changelog entry 2023-09-05 13:01:30 -10:00
Maikel David Pérez Gómez f3d1526f71
Auto select one or more attribute terms when selecting an attribute (#40004)
* Add auto select first or all terms when an attribute is selected

* Set auto select all terms in variations tab

* Set auto select the first term in Organization tab

* Add changelog file

* Change termsAutoselection to be camel case

* Remove error suppersion when retreiving attribute terms
2023-09-05 16:29:57 -03:00
nigeljamesstevenson 6d494570ef
Fix flakiness around the `Turn off the new product form` menu item (#39957) 2023-09-05 18:49:02 +01:00
Vedanshu Jain 919a51f682
Remove COT enable requirement from sync and verify command. (#39998) 2023-09-05 16:59:04 +02:00
Matt Sherman 7b328cfabf
Doc: Fix typo in "How to design a simple extension" (#40028) 2023-09-05 10:23:04 -04:00
Vedanshu Jain e108efd793
Add filter woocommerce_hpos_enable_sync_on_read to disable sync on read with HPOS sync enabled. (#40039) 2023-09-05 18:15:47 +05:30
Fernando Marichal ccb72125e0
Add a notice to "track inventory" toggle (#40011)
* Add notice to "track inventory" toggle

* Add changelogs

* Remove console.logs

* Fix link URL
2023-09-05 08:35:38 -03:00
Vedanshu Jain 452a3ed81b Doc update. 2023-09-05 16:40:24 +05:30
Vedanshu Jain 1d0665a8dd Add filter woocommerce_hpos_enable_sync_on_read to disable sync on read with HPOS sync enabled. 2023-09-05 14:33:00 +05:30
Jason Kytros bbe053e16e
Improved UI/UX of the Inventory tab (v2) (#39962) 2023-09-05 09:26:00 +02:00
Jason Kytros 283b1a673c
Improved UI/UX of the Attributes tab (v2) (#39987) 2023-09-05 09:24:34 +02:00
Vedanshu Jain 0f7e6898db
Avoing string to int comparison and add the id clause only when available (#40030) 2023-09-05 12:47:17 +05:30
Chi-Hsuan Huang c9b8236f53
Add customize store assembler hub onboarding tour (#39981)
* Update tour-kit to have a optional skip button and custom secondary button label

* Add changelog

* Add onboarding tour

* Update layout and resiable-frame for onboarding tour

* Update onboarding tour style

* Update resizable handler

* Add changefile(s) from automation for the following project(s): @woocommerce/components, woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-09-05 15:12:04 +08:00
Chi-Hsuan Huang c025b102fc
Add customize store assembler hub logo (#39932)
* Add @wordpress/blob for wc admin customize store project

* Update save-hub to save entities correctly

* Add logo block context

* Update block-editor to render different preview layout for different paths

* Add media uploader filter

* Update logo sidebar

* Fix auto block preview

* Update styles

* Update loading state

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

* Add comments

Add comments

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

* Add custom resiable-frame

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/block-editor.tsx

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/sidebar-navigation-screen-logo.tsx

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Update plugins/woocommerce-admin/client/customize-store/assembler-hub/resizable-frame.jsx

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

* Open media uploader when clicking logo image

* Update style

* FRAME_TRANSITION -> frameTransition

* Fix missing import

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-05 14:21:19 +08:00
Vedanshu Jain 5a22751aa1 Add unit test + changelog. 2023-09-05 11:47:28 +05:30
Vedanshu Jain c8cc44523c Avoing string to int comparison and add the id clause only when available. 2023-09-05 11:22:33 +05:30
RJ d04a0baf5a
fix: wc-connect-tax option truthiness (#39983)
* fix: wc-connect-tax option truthiness

* Update plugins/woocommerce/src/Admin/Features/OnboardingTasks/Tasks/Tax.php

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>

---------

Co-authored-by: Ilyas Foo <foo.ilyas@gmail.com>
2023-09-05 10:17:04 +08:00
Matt Sherman 39310553e0 Changelog 2023-09-04 16:24:31 -04:00
Matt Sherman 7daeb102c5 Fix typo 2023-09-04 16:23:45 -04:00
Maikel David Pérez Gómez 4f867c6736
Components: Select Control dropdown styling issues (#39989)
* Fix select control dropdown menu width, double scroll and item aligment

* Fix attributes dropdown jumping on focus and slot position

* Add changelog files

* Fix double scroll and label margin on Category Select
2023-09-04 14:25:03 -03:00
Jason Kytros 4242375cc5 Review: Parameters localization 2023-09-04 12:56:41 +03:00
Jason Kytros eeafe69c2d Review 2023-09-04 12:50:03 +03:00
Rodel Calasagsag 02638a71e8 Remove unnecessary cookie header 2023-09-03 17:59:56 +08:00
Ron Rennick f493e921d5
Update README.md php minimum version (#39777) 2023-09-01 14:26:50 -03:00
Leif Singer 77e5e28d51
tweak some of the HPOS Settings UI (#39912)
* tweak the wording for HPOS in Settings / Features / Advanced

* order features in Advanced Settings and move HPOS to the top

* emphasize the need to sync

* add a row_class attribute to settings fields

* fix padding between HPOS settings belonging together

* add changelog file

* update wording in a test

* Update plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>

* Update plugins/woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>

* simplify the ordering callback -- props to @jorgeatorres! ☺️

* more consistent phrasing

---------

Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-09-01 14:32:56 +01:00
Jason Kytros 81a70a9b92 Ensure that the placeholder changes even after clearing all Attribute values 2023-09-01 14:13:38 +03:00
Jason Kytros 80e998481f Ensure that a placeholder always exists 2023-09-01 13:53:54 +03:00
Jason Kytros 4aeabe64ef Updated failing e2e test 2023-09-01 12:54:05 +03:00
Jason Kytros 4af01af796 Merge branch 'trunk' into issue-37839 2023-09-01 12:17:34 +03:00
Jason Kytros 16819d18ac Merge branch 'trunk' into issue-37835 2023-09-01 12:02:59 +03:00
nigeljamesstevenson 6e608ec418
Fix WC Admin pages are empty for WC 8.1.0-a.4 and WP 6.2.2 (#39995) 2023-09-01 07:40:27 +01:00
github-actions 78ad790109 Add changefile(s) from automation for the following project(s): woocommerce 2023-09-01 04:26:50 +00:00
Chi-Hsuan Huang 6f89dcdbb5 Update webpack config to not use external @wordpress/router
The external @wordpress/router package is not available in these versions, so we need to bundle it with the plugin. This is a temporary fix until we can drop support for WP 6.2 and below.
2023-09-01 12:24:02 +08:00
Maikel David Pérez Gómez cdaae1caac
Add Shipping item to the global Quick Update dropdown (#39973)
* Add Shipping item to the global Quick Update dropdown

* Add changelog file

* Fix Quick update dropdown menu position to bottom left
2023-08-31 15:00:19 -04:00
Ron Rennick ca6b152755
update the SqlQuery filter prefix in data.md (#39319)
* update the SqlQuery filter prefix in data.md

* fix md linting

---------

Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-08-31 15:23:20 -03:00
Corey McKrill fd4bea5d3c
Adjust some docs subfolder names, add missing heading (#39970) 2023-08-31 11:20:38 -07:00
Nathan Silveira 501abc47b5
Add taxonomy block using SelectTree (#39947)
* Create Hierarchical Taxonomy block

* Add changelog

* Update CSS and remove more references to 'brands'

* Improve error message UX

* Use css variables

* Name block attribute

* Add support for non-hierarchical taxonomies

* Rename attributes

* Fetch "hierarchical" from taxonomy data

* Update changelog

* Remove 'hierarchical' attribute

* Update description

* Fix issue where hierarchy was not displayed in create modal

* Refactor taxonomy details select

* Add README to taxonomy block
2023-08-31 15:19:28 -03:00
Maikel David Pérez Gómez 6673ebecd2
Add Inventory item to the global Quick Update dropdown (#39972)
* Add Inventory item to the global Quick Update dropdown

* Add changelog file
2023-08-31 13:52:06 -04:00
Brent MacKinnon 90d070739b reverting utilities name change 2023-08-31 13:49:06 -03:00
github-actions b0ee81a175 Add changefile(s) from automation for the following project(s): woocommerce 2023-08-31 13:50:58 +00:00
Jason Kytros f30c4dfda7 Check if "Used for variations" exists before using its value. 2023-08-31 16:37:14 +03:00
Jason Kytros b66988bfae Merge branch 'issue-37839' of https://github.com/woocommerce/woocommerce into issue-37839 2023-08-31 16:29:15 +03:00
Jason Kytros bb481269ff Design enhancements for the Attributes tab 2023-08-31 16:28:03 +03:00
Jason Kytros 26f3c38aae no message 2023-08-31 16:24:05 +03:00
louwie17 785d45fbc3
Update variation pagination table (#39967)
* Add className to sortable and perPageOptions to Pagination

* Refactor pagination into seperate components

* Add PageArrowsWithPicker pagination component and usePagination hook

* Add hook to Pagination story

* Update Pagination readme

* Add changelogs

* Make sure input is updated if currentPage updates outside of PageArrowsWithPicker component

* Only show pagination if total count exceeds the minimum page size

* Add missing doc

* Fix lint errors

* Move totalCount to seperate useSelect to avoid multiple calls on page switch

* Fix merge conflict

* Fix lint error
2023-08-31 09:28:10 -03:00
RJ 3f3f032ed5
dev: added docs for core profiler (#39963)
* dev: added docs for core profiler

* lint

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-31 16:27:40 +08:00
Rodel Calasagsag 72ae79bbe0 Merge branch 'trunk' into e2e/fix-flaky-menu-item-turn-off-new-product-form 2023-08-31 14:53:26 +08:00
Corey McKrill 26fde13e00
Fix typo in SQL for stock quantity check (#36402) 2023-08-30 17:01:15 -07:00