Commit Graph

10169 Commits

Author SHA1 Message Date
Michael Pretty 6be097ff45
Add context to the credit card names used for translators. (#36364)
Co-authored-by: Michael Pretty <prettyboymp@Michaels-MacBook-Pro.local>
Co-authored-by: Jorge A. Torres <jorge.torres@automattic.com>
2023-05-11 16:59:24 +02:00
Ron Rennick 246053277e
Fix/37599 Add Product Name in the `aria-label` attribute (#37830) 2023-05-11 10:55:58 -03:00
Néstor Soriano eccff559a5
Hide state selector from Ethiopia and Rwanda addresses (#35481)
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-05-11 11:05:11 +02:00
Alejandro Iglesias 4688290463
Save order before calculating totals if created via REST API (#37845) 2023-05-11 10:29:48 +02:00
Ron Rennick d93a5d4e88
Add default styles for product meta in the TT3 order details table (#38172) 2023-05-10 16:59:46 -03:00
Nathan Silveira f668ce72ac
Add tests to tracks events fired through JS (#38124)
* Add test for inbox_note_view event

* Add tracks test for Layout's page_view

* Add test to inbox_action_click

* Add tests to analytics_filter tracks event

* Add tracks event test to activity_panel_open

* Add tests to tracks event activity_panel_orders_orders_begin_fulfillment

* Add tracks tests to activity_panel_stock_update_stock

* Improve tests based on code review comments

* Mock recordEvent and recordPageView globally

* Add missing mock

* Improve inbox panel tests
2023-05-10 09:36:42 -03:00
Chi-Hsuan Huang fa658a0e94
Fix "Add store details" task fails to mark as completed for selecting Nigeria based address (#38181)
* Fix "add store details" task fails to mark as completed for selecting Nigeria based address while OBW

* Add changelog

* Remove empty line

* Fix lint
2023-05-10 17:08:33 +08:00
Menaka S c3d06ad05f
Add WC Tracker unique payment method (#37951)
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
2023-05-10 09:22:58 +02:00
Ilyas Foo 1b8eeed2e2
Fix tracks identifier mismatch (#38094)
* Add tracks identifyUser when initializing wcTracks object

* Changelog

* Remove unused code

* Lint

* Lint

* More lint
2023-05-10 14:08:19 +08:00
Chi-Hsuan Huang 687549dc6b
Fix "Marketing & Merchandising" padding on store management panel (#38088)
* Add a 24px spacing between the Manage my store header and the Marketing & Merchandising heading

* Add changelog

* Update store management card style

* Update .woocommerce-store-management-links__card-body padding
2023-05-10 13:02:22 +08:00
Chi-Hsuan Huang 956d09c34b
Fix shipping tour layout context error (#38183)
* Add LayoutContextProvider to embedded body layout to fix shipping tour error

* Show an error notice and record track when failing to update shipping option

* Add changelog

* Update error message

* Remove unused import
2023-05-10 13:01:37 +08:00
Chi-Hsuan Huang 4ba276d3fb
Re-enable purchase unit tests and falling back to simply not display any prices when data is not available (#38163)
* Re-enable Purchase unit tests

* Fallback to simply not display any prices rather than empty prices when data is not available.

* Add changelog
2023-05-10 10:30:59 +08:00
Jonathan Lane 71981b5318
Playwright 1.33 and UI mode (#38100)
* Update Playwright to 1.33

* Add UI command

* Changelog entry

* Increase timeout

* Increase timeout again

* Moved Playwright to devDependencies

* Remove UI command

* Re-update Playwright

* Comment out failing assertion

---------

Co-authored-by: Jon Lane <jon.lane@automattic.com>
2023-05-10 09:30:08 +08:00
Matt Sherman d11f50b5a3
Update empty state for product attributes tab (#38126)
* Remove empty state HTML

* Add empty attribute when product has no attributes

* Remove unused woocommerce_admin_meta_boxes.has_local_attributes

* Remove unused toggle_add_global_attribute_layout

* Remove unused button.add_attribute click handling (button doesn't exist anymore)

* Fix positioning of Expand / Close

* Remove unnecessary add-attribute-container div

* Refactor attribute search selection handling

* Remove empty attribute if adding an existing attribute

* Update e2e test clicking of "Add new" attribute button

* Update Tracks handling for "Add new" attribute button

* Changelog

* Fix action recorded when "Add new" button is clicked

* Remove console.log statements

* Allow propagation of click event on "Create value" button

* Move Tracks wcadmin_product_attributes_buttons action: 'add_existing' to product-tracking TS

* Make function names more descriptive. Add comment to clarify why event.preventDefault is used.
2023-05-09 20:04:29 -04:00
Tomek Wytrębowicz 00c151f9aa
Remove `qs` dependency from `woocommerce-admin` (#35128) 2023-05-09 21:03:25 +02:00
Fernando Marichal eef417fe39
Variations - Rename the Generate variations button after variations are created (#38084)
* Rename 'Generate variations' button

* Add changelog

* Fix button rename

* Refactor fix
2023-05-09 15:12:29 -03:00
Barry Hughes 6a42565550
fixed spacing issue of thumb image (#35491) 2023-05-09 10:51:25 -07:00
Fernando Marichal 765a87a741
Variations - Remove separator between buttons and empty state screen (#38123)
* Remove separator between buttons and empty state screen

* Add changelog

* Fix separator style
2023-05-09 12:43:25 -03:00
Tomek Wytrębowicz bbf4f47c9c Remove qs dependency from `WCAddonsTour` ,
use native `URLSearchParams` instead.
2023-05-09 14:57:39 +02:00
Chi-Hsuan Huang 4c9bcbc30e
Add missing woocommerce_run_on_woocommerce_admin_updated hook for RemoteInboxNotificationsEngine scheduled action (#38159)
* Remove maybe_mark_complete usage

* Add changelog

* Add woocommerce_run_on_woocommerce_admin_updated hook

* Add changelog

* Fix lint
2023-05-09 18:53:08 +08:00
Chi-Hsuan Huang 059d1de563
Remove core onboarding usage of woocommerce_updated hook (#38158)
* Remove maybe_mark_complete usage

* Add changelog
2023-05-09 18:20:42 +08:00
Chi-Hsuan Huang 2189cb181a
Hide "Upload a logo" step in Personalize task if theme doesn't support it (#38161)
* Hide upload logo step in Personalize task if theme doesn't support it

* Add changelog

* Fix lint
2023-05-09 18:20:18 +08:00
Chi-Hsuan Huang e06097b4c2
Fix `wc-experimental` strings are not translated (#38108)
* Add wc-experimental to translated_scripts

* Add changelog
2023-05-09 17:07:36 +08:00
Chi-Hsuan Huang 0148c3eafd
Make all fields in the tax location form mandatory (#38137)
* Make all fields in the tax location form mandatory

* Add changelog
2023-05-09 17:01:37 +08:00
Joshua T Flowers 329fcd1bc3
Add tinymce scripts to product editor pages (#38175)
* Add tinymce scripts to product editor pages

* Add changelog entry
2023-05-09 04:32:00 -03:00
Chi-Hsuan Huang 4a237ca476
Migrate Purchase task and dashboard utils to TS (#37725)
* Fix onboarding productTypes TS define type

* Rename purchase.js -> purchase.tsx

* Rename utils.js -> utils.ts

* Migrate dashboard/util to TS

* Rename tasks fills to index.ts

* Migrate purchase task to TS

* Add changelog

* Fix types

* Update changelog
2023-05-09 11:28:57 +08:00
Jorge A. Torres 1206b5a38a
Enhancement: Add order note to display held stock inventory. #29132 (#37833) 2023-05-08 19:46:14 -03:00
Jorge A. Torres 8eb8a09c88 Minor fixes 2023-05-08 18:18:39 -03:00
Jorge A. Torres 63916fed3c Drop `$held_stock_counter` to simplify logic 2023-05-08 17:53:05 -03:00
“Chris 38db587d1e Add changelog 2023-05-08 22:23:04 +03:00
“Chris 105137c406 Add styling for wc-item-meta in order details table 2023-05-08 22:20:48 +03:00
AashikP 552806b34a
Add e2e test for Merchant > Posts > Can create a new post (#38041)
* Add create-post.spec.js

Create e2e test for Critical Flow: Merchant > Posts > Can create a new post

* Fix e2e Merchant Create Post

* Force delete created post
* Check for Welcome modal - close if exists
* Change assertion for Published post confirmation from `check if true` to `check if visible`
* Added changelog file

* e2e-pw: Create post - replace btoa

Replace deprecated function btoa with Buffer function
2023-05-08 10:33:29 -07:00
Fernando Marichal 7f87c7d1b7
[Enhancement]: Allow dropdown options recording for WooCommerce Settings (#38035)
* Add dropdown recording

* Add changelog

* Fix lint
2023-05-08 12:04:14 -03:00
Maikel David Pérez Gómez c265db936e
Add Sale price validation (#38078)
* Create sale-price block

* Create regular-price block

* Add changelog files

* Fix some typos in field validator names
2023-05-08 10:05:13 -04:00
Chi-Hsuan Huang 880459ee9a
Change product-category-metabox scripts/styles enqueue logic (#38076)
* Update product-category-metabox JS/style enqueue logic

Change to only enqueue on product pages, not all admin pages.

* Add changelog
2023-05-08 17:19:12 +08:00
Jeffrey Paul df0583f9b8
Fix/37502: Correct spelling errors. (#37887)
* change reference of Catpure to Capture

Co-Authored-By: Vikram  <93216400+vikrampm1@users.noreply.github.com>

* change reference of expicitly to explicitly

Co-Authored-By: Vikram  <93216400+vikrampm1@users.noreply.github.com>

* change reference 'cutted' to 'cut'

* change reference 'determening' to 'determining'

* change reference 'retreive' to 'retrieve'

* change reference 'neccessary' to 'necessary'

* change reference 'Fitler' to 'Filter'

* change reference of "seperate" to "separate"

Co-Authored-By: Ankit K Gupta <ankit.himcs@gmail.com>

* change reference of "wether" to "whether"

Co-Authored-By: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com>

* change reference of "staus" to "status"

* change reference of "retrive" to "retrieve"

* change references of "gatways" to "gateways"

* change references of "existant" to "existent"

* change reference of "requries" to "requires"

* change reference of "configuation" to "configuration"

* change reference of "processsing" to "processing"

* change reference of "represenation" to "representation"

* change reference of "dimentions" to "dimensions"

* change references of "reigster" to "register"

* change reference of "colum" to "column"

* change reference of "transtions" to "transitions"

* change references of "intially" to "initially"

* change references of "orignal" to "original"

* change references of "deprected" to "deprecated"

* change references of "paramter" to "parameter"

* change reference of "intance" to "instance"

* change reference of "elemets" to "elements"

* change references of "funcitons" to "functions"

* change reference of "specificed" to "specified"

* change references of "atributes" to "attributes"

* change reference of "tast" to "task"

* change reference of "chaning" to "changing"

* change reference of "retreiving" to "retrieving"

* change reference of "caluclation" to "calculation"

* change references of "Invaid" to "Invalid"

* change references of "paramaters" to "parameters"

* change reference of "Additonal" to "Additional"

* change reference of "teh" to "the"

* change reference of "evalutes" to "evaluates"

* change reference of "addedd" to "added"

* change reference of "excempt" to "exempt"

* change reference of "sequencially" to "sequentially"

* change reference of "previos" to "previous"

* change reference of "elegible" to "eligible"

* change references of "Boostrap" to "Bootstrap"

* change references of "compability" to "compatibility"

* change reference of "heirarchy" to "hierarchy"

* change references of "visibilty" to "visibility"

* change reference of "comparsion" to "comparison"

* change reference of "capabilties" to "capabilities"

* change reference of "datatores" to "datastores"

* change reference of "occured" to "occurred"

* change reference of "coresponding" to "corresponding"

* change references of "thier" to "their"

* change reference of "sucessfully" to "successfully"

* change reference of "insde" to "inside"

* change reference of "nagivation" to "navigation"

* change references of "visiblity" to "visibility"

* change reference of "documentaiton" to "documentation"

* change reference of "anayltics" to "analytics"

* change reference of "intalling" to "installing"

* change reference of "mininum" to "minimum"

* change references of "intial" to "initial"

* change reference of "Feld" to "Field"

* change reference of "taks" to "task"

* change reference of "trasnfer" to "transfer"

* change reference of "respone" to "response"

* change reference of "Extenstions" to "Extensions"

* change reference of "detault" to "default"

* change reference of "simultanious" to "simultaneous"

* change reference of "overides" to "overrides"

* change references of "Indvidual" to "Individual"

* change reference of "refering" to "referring"

* change reference of "aginst" to "against"

* change reference of "execuatable" to "executable"

* change reference of "repsonse" to "response"

* change reference of "documention" to "documentation"

* change reference of "asumed" to "assumed"

* change reference of "Minium" to "Minimum"

* change reference of "unqiue" to "unique"

* change references of "existance" to "existence"

* change reference of "compatability" to "compatibility"

* change reference of "Taxnomy" to "Taxonomy"

* change reference of "quering" to "querying"

* change reference of "retrun" to "return"

* change reference of "informations" to "information"

Co-Authored-By: Viktor Szépe <viktor@szepe.net>

* Add changelog

* Add changelog

* Fix typo

---------

Co-authored-by: Vikram  <93216400+vikrampm1@users.noreply.github.com>
Co-authored-by: Ankit K Gupta <ankit.himcs@gmail.com>
Co-authored-by: Sumit Bagthariya <67687255+qasumitbagthariya@users.noreply.github.com>
Co-authored-by: Viktor Szépe <viktor@szepe.net>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
2023-05-08 15:55:09 +08:00
Chi-Hsuan Huang 3f0219b1bc
Fix misaligned loading sample product's progress message (#38107)
* Fix misaligned loading sample products modal

* Add changelog

* Fix misaligned loading sample product confirm modal
2023-05-08 12:19:55 +08:00
Tomek Wytrębowicz 0d45b0f107 Merge branch 'trunk' into remove/qs 2023-05-07 16:18:32 +02:00
Corey McKrill 87e25de9ab
Make more information available to `checkout_place_order` callbacks (#38147)
Makes the `wc_checkout_form` object available to Javascript event handlers during the checkout process. This makes it easier for extension (payment gateway) developers to manipulate the checkout experience. In isolation, though, nothing should change and everything should work as before.

Fixes #26827
2023-05-05 16:12:36 -07:00
barryhughes 7743fa41b6 Changelog. 2023-05-05 13:58:27 -07:00
minaldiwan 29ea9b0b65 fixed spacing issue of thumb image 2023-05-05 13:57:26 -07:00
Ben Meredith 6fdddd25f0
Fix typo (#35232)
* Fix typo

"Log out" is a verb
"logout" is a noun. 

This link should be an action. So it's the verb form.

* Add changelog file

* update E2E tests for text change

* update unit test for text change

---------

Co-authored-by: Ron Rennick <ron@ronandandrea.com>
Co-authored-by: Ron Rennick <ronald.rennick@automattic.com>
2023-05-05 13:50:07 -07:00
barryhughes ce23ac81af Whitespace/formatting. 2023-05-05 12:28:29 -07:00
barryhughes 7449329599 Changelog. 2023-05-05 12:26:31 -07:00
Emran Ahmed 73829979fc When triggering handlers for `checkout_place_order[_*]` events, supply extraParameters.
Adding `extraParameters` to `triggerHandler` to gateways manipulate the checkout if needed with more data
2023-05-05 12:24:17 -07:00
aezazs-multidots 24a59c8d59
updated product description tips text (#38070)
* updated product description tips text

* Add Description in changelog
2023-05-05 20:10:58 +08:00
Luigi Teschio 7ba4c8b5ca
Update WooCommerce blocks package to 10.0.4 (#38135) 2023-05-05 14:07:38 +02:00
Chi-Hsuan Huang 208ac81ba3
Fix tasklist completion message when no tasks are completed (#38092)
* Fix task list progress title

* Add changelog
2023-05-05 17:48:10 +08:00
github-actions[bot] cabe966291
Delete changelog files based on PR 37783 (#37965)
Delete changelog files for 37783

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-05 20:16:28 +12:00
github-actions[bot] 6cd8695407
Delete changelog files based on PR 37907 (#37963)
Delete changelog files for 37907

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-05-05 20:16:17 +12:00