Commit Graph

53465 Commits

Author SHA1 Message Date
Jon Lane 1f3a0962ff Uninstall and reinstall WC 2023-09-06 14:37:18 -07:00
Fernando Marichal ad1920ca2e
Add Tags to product editor (#39966)
* Add block

* Add component tags-field

# Conflicts:
#	packages/js/product-editor/src/style.scss

* Add changelog

* Clean code

* Add style

# Conflicts:
#	packages/js/product-editor/src/style.scss

* Trim styles

* Delete input when creating tag

* Clean input after creating tag

* import Query type

* Add changelogs

* Add tests

* Rename newInputValue

* Remove lodash use

* Add useInstanceId instead of using a fixed id

* Remove pagination related code

* Remove isAsync const

* Fix list filtering

* Abstract useSelect

* Fix tests

* Refactor use-tag-search

* Fix lint
2023-09-06 15:51:22 -03:00
Tofandel 93aae26b1b Change deprecated version 2023-09-06 20:29:37 +02:00
Maikel David Pérez Gómez 5e301f5a6f
Show sale price and list price in each variation row when the variation is on sale (#40048)
* Show sale price and list price in each variation row when the variation is on sale

* Add changelog file
2023-09-06 15:20:34 -03:00
Maikel David Pérez Gómez 9e812dd5da
Show in product details feature under Edit attribute modal (#40006)
* Change the Visible to customers checkbox label and tooltip

* Set default visibility to true if the atribute is non used for variations, false otherwise

* Add changelog file
2023-09-06 15:20:24 -03:00
Fernando Marichal 365e479614
Create a plugin to enable Variations feature (#40027)
* Add plugin to enable features and map it

* Activate plugin

* Add changelog
2023-09-06 12:48:57 -03:00
Nathan Silveira e9aad24125
Migrate Category field to woocommerce/taxonomy-field block (#40021)
* Migrate category field to woocommerce/taxonomy-field block

* Remove details-categories-field

* Add changelogs

* Remove more references

* Rename block and add it to blockregistry

* Add missing setIsCreating calls

* Undo changelog change

* Add changelog
2023-09-06 10:21:37 -03:00
nigeljamesstevenson 5a8ed71edc
E2E: Remove WP Latest-2 from release tests (#40012) 2023-09-06 12:38:40 +01:00
Thomas Shellberg 8ec91504ff
Add Short Description "Write With AI" Button + Inform about automatic generation (#39805)
* Add "Write With AI" button to product short description media buttons area.
2023-09-06 12:36:14 +02:00
Matt Sherman a66a48108f
Update woocommerce/create-product-editor-block to use template API (#39993) 2023-09-06 06:30:59 -04:00
nigeljamesstevenson 54fc5857bd
Couple of caching fixes for daily tests (#39918) 2023-09-06 11:02:01 +01:00
github-actions dbc2fed88a Add changefile(s) from automation for the following project(s): woocommerce 2023-09-06 09:24:24 +00:00
Tofandel 300790271d Change deprecated version 2023-09-06 11:20:46 +02:00
Thomas Shellberg c61f453fdb
Remove Woo AI Enabled Setting and rework copy on the Woo AI Settings page. (#39784)
* Woo AI - Remove enabled setting. Re-order tone of voice settings and adjust neutral messaging.
2023-09-06 11:07:39 +02:00
Tofandel 4e87591245 fix: cloning cart reference in session 2023-09-06 11:02:10 +02:00
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
And Finally 21d1bab26e [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Fixing `prettier` linter errors.
2023-09-04 16:00:30 +01:00
And Finally 6d65d54ed5 [wccom-17942] Making sure snackbar doesn't appear before content has loaded.
- Fixing `prettier` linter errors.
2023-09-04 15:45:24 +01:00
Alex López 30e2437d43 Fix typo. 2023-09-04 15:12:02 +02:00
Alex López ef023f75c6 Add instructions for testing contributions in the CONTRIBUTING.md file. 2023-09-04 15:07:32 +02: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 6d946930f1 Simplify WP L-1 wp-env setup 2023-09-03 18:19:25 +08:00
Rodel Calasagsag 02638a71e8 Remove unnecessary cookie header 2023-09-03 17:59:56 +08:00
Rodel Calasagsag cf2ebde187 Add changelog 2023-09-03 17:05:38 +08:00
Rodel Calasagsag 9d1664b822 Fix input value 2023-09-03 11:55:16 +08:00
Rodel Calasagsag d34fb8b07e Re-enable steps and jobs 2023-09-03 10:56:37 +08:00
Rodel Calasagsag 8463c77765 Add command to verify wp version 2023-09-03 10:31:21 +08:00
Rodel Calasagsag 249f78b4ad Remove step to verify env details 2023-09-03 10:30:36 +08:00