Commit Graph

53278 Commits

Author SHA1 Message Date
Kyle Nel c1f24735ca
Remove marketplace tour temporarily (#39618)
* Tour: reconfigure to work with new layout

- Started Reconfiguring the existing tour to work with the new layout and components.
- Updated step content based on design
- Implemented PR feedback
- Removed task list for MVP

# Conflicts:
#	plugins/woocommerce-admin/client/marketplace/components/tabs/tabs.tsx
2023-08-10 14:10:08 +02:00
RJ 106e15f74a
fix: core-profiler intro opt in page tracks ordering (#39508) 2023-08-10 14:25:44 +08:00
Barry Hughes dda93bfe51
Add filter to allow preventing deletion. (#39650) 2023-08-09 15:50:57 -07:00
Maikel David Pérez Gómez 3ffe7b8376
Create variation items block (#39657)
* Create and register product-variation-items-field block

* Create variations-table component

* Use variations-table component in variation-items block

* Remove last border bottom from the variation options list

* Add changelog file

* Add changelog file
2023-08-09 16:06:59 -03:00
Barry Hughes f36cb3a50c
Autoload test helpers and exclude from test suites. (#39586)
* Autoload test helpers and exclude from test suites.

This avoids loading order problems, and eliminates warnings (about HposTestCase) not containing any tests.

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

---------

Co-authored-by: github-actions <github-actions@github.com>
2023-08-09 15:48:04 -03:00
Luigi Teschio a5539edd14
bump WooCommerce blocks version to 10.6.5 (#39639) 2023-08-09 19:05:05 +02:00
And Finally 2a8d47cd6a
Ensure My Subscriptions page is still accessible when new marketplace is enabled (#39569) 2023-08-09 15:19:41 +01:00
louwie17 592b4feb5e
Fix attribute terms disappearing in list (#39620)
* Fix enhance attribute logic

* Add changelog

* Fix test

* Add auto create global attribute term and fix bug with terms for global attribute

* Fix test and update changelogs

* Add invalidate resolution call and error notice

* Revert auto create on select changes
2023-08-09 10:41:47 -03:00
Vedanshu Jain 97cd0abda9
Compare props to set changed array between post and order data. (#39653)
* Compare props to set changed array between post and order data.

* Use correct classname so that props can be set.

* Also clear cache after update and before backfill.
2023-08-09 10:25:21 -03:00
Thomas Shellberg 9418072a47
Add Branding + Tone to Product Descriptions (#39253)
* [Woo AI] generate product descriptions using tone of voice and/or business description context.
2023-08-09 14:15:18 +02:00
And Finally 56176ab008 If `marketplace` feature is enabled, adds `admin_menu` action to add the `wc-addons` page to the WooCommerce menu without showing it as a submenu item. This is a temporary measure, so we can continue to use the PHP version of the My Subscriptions page. Changes link on My Subscriptions page to point to the extensions tab of the new marketplace. Adds tab for My Subscriptions to marketplace header. 2023-08-09 12:39:55 +01:00
And Finally 172234b5a9
Create search loading state component for Marketplace (#39607) 2023-08-09 11:52:18 +01:00
Vedanshu Jain fc7e6871ed Add changelog. 2023-08-09 15:04:30 +05:30
Vedanshu Jain 722bbd8147 Add filter to allow preventing deletion. 2023-08-09 15:01:02 +05:30
Sam Seay d08780f139
Bump beta tester to 2.2.2 in prep to release bugfixes (#39603) 2023-08-09 13:06:02 +12:00
Sam Seay 3a6c3cde9f
Code analyzer: find multiple hooks in single patch, add tests (#39566) 2023-08-09 13:05:00 +12:00
Christopher Allford 4549bc82c5
Applied PHPCS To Beta Tester (#39476) 2023-08-08 17:20:34 -07:00
Fernando Marichal 8f147eafb2
[E2E test coverage]: Disable block product editor (#39493)
* Remove ENABLE_NEW_PRODUCT_EDITOR

* add block-product-editor.spec.js

* Remove old editor tests

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/new-product-editor/new-product-editor.spec.js

* Add changelog

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

* Fix enabling

* Fix NEW_EDITOR_ADD_PRODUCT_URL

* Add test disable new product editor

* Add changelog

* Clean code

* Fix disabling

* Moved methods

* Fix comment

* Fix url

* Add `clickOnTab` function

* Add "general-tab"

* Add changelog

* Add sale price

* Rename file

* Rename file

* rename file again

* Fix product creation tests

* Fix  test

* add block-product-editor.spec.js

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/merchant/products/block-editor/enable-block-product-editor.spec.js

* Fix enabling

* Add test disable new product editor

* Add changelog

* Clean code

* Fix disabling

* Moved methods

* Fix comment

* Fix url

* Add `clickOnTab` function

* Add "general-tab"

* Add changelog

* Add sale price

* Rename file

* Rename file

* rename file again

* Fix product creation tests

* Fix  test

* Remove expect not used
2023-08-08 15:36:22 -07:00
github-actions[bot] af52065798
Update changelog.txt from release 8.0.0 (#39631)
Prep trunk post release 8.0.0

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 16:22:25 -05:00
github-actions[bot] e5fa243683
Delete changelog files based on PR 39625 (#39628)
Delete changelog files for 39625

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 13:17:44 -05:00
Barry Hughes e62af256f2
Rollback condition from delete flow as causes issues with no HPOS tables (#39625) 2023-08-08 10:35:01 -07:00
Vedanshu Jain b3e011aa2b Rollback condition from delete flow as causes issues with no HPOS tables. 2023-08-08 22:14:29 +05:30
github-actions[bot] c76fff2f6a
Delete changelog files based on PR 39616 (#39624)
Delete changelog files for 39616

Co-authored-by: WooCommerce Bot <no-reply@woocommerce.com>
2023-08-08 11:07:28 -05:00
Vedanshu Jain d4141958b2
Set the orders table exist option if its not set. (#39616)
* Set the orders table exist option if its not set.

* Add changelog.

* Must use yoda conditions.

* Remove unnecessary option set.
2023-08-08 13:01:00 -03:00
louwie17 75d64ee063
Create global attributes by default (#39548)
* Add support to attribute control for creating global attributes

* Add create global attribute to variation block

* Add changelog

* Invalidate the attributeTerm search after creating a new attribute term
2023-08-08 12:54:11 -03:00
And Finally e7a57502e4
Add Product Card component (#39173) 2023-08-08 16:05:32 +01:00
Maikel David Pérez Gómez 8d8d315d66
Focus the first attribute field when opening the modal (#39549)
* Focus the first attribute field on modal shown

* Add changelog file

* Remove setTimeout to focus the attribute dropdown field
2023-08-08 10:50:11 -04:00
Maikel David Pérez Gómez b546e4fb17
Manage default variation option (#39570)
* Add default attributes property to the Product type

* Add change log file

* Set default attributes when click add from the attribute options modal

* Add Set default value checkbox to the edit attribute modal

* Manage default attributes when update or delete an attribute option

* Show Set default value only when the editing attribute is used for variations

* Add change log file
2023-08-08 10:41:26 -04:00
And Finally b56654867a Changes from `add/marketplace-product-card-component` after rebasing on feature branch. 2023-08-08 15:29:08 +01:00
Vedanshu Jain 9c13c21ec8
Execute order update logic earlier in the request (#39590) 2023-08-08 18:59:49 +05:30
Fernando Marichal d5d282dafa
[E2E test coverage]: Enable block product editor (#39463)
* Remove ENABLE_NEW_PRODUCT_EDITOR

* add block-product-editor.spec.js

* Remove old editor tests

# Conflicts:
#	plugins/woocommerce/tests/e2e-pw/tests/new-product-editor/new-product-editor.spec.js

* Add changelog

* Improve `isNewProductEditorEnabled`

* Refactor enable-block-product-editor

* Fix enabling

* Fix NEW_EDITOR_ADD_PRODUCT_URL
2023-08-08 10:14:08 -03:00
Maikel David Pérez Gómez d3702c53ba
Add product visibility blocks (#39477)
* Add catalog visibility block

* Add product search visibility block

* Add changelog files

* Fix linter errors

* Remove non necesary block

* Add catalog_visibility property to the Product type
2023-08-08 09:58:00 -03:00
Ilyas Foo 12ccae642f Lint and changelog 2023-08-08 18:22:09 +08:00
Ilyas Foo 2a21fb9c6e Add loading indicator when submitting location 2023-08-08 16:42:43 +08:00
Cem Ünalan 85b4011c13
Marketplace: Category selector UI (#39561) 2023-08-08 10:34:33 +03:00
raicem bb84e90ef4 Marketplace: Add category selector 2023-08-08 09:56:02 +03:00
Kyle Nel 4fc7fba118
Apply suggestions from code review
Co-authored-by: And Finally <andfinally@users.noreply.github.com>
2023-08-08 08:35:28 +02:00
Sam Seay e8c3808527
Upgrade TypeScript to v5.1 (#39531) 2023-08-08 16:35:31 +12:00
Alefe Souza 428feb58a7
Update WCPay banners for WooPay (#39596)
* Update WCPay banners for WooPay

* Fix unit tests

* Always checks for WooPay eligibility

* Use existing method to determine WooPay eligibility

* Create is_woopay_eligible method
2023-08-07 19:17:59 -07:00
Kyle Nel ebf292492a
Loader: Add search loader component
- Rebased on feature branch 7th August 2023
2023-08-07 15:20:31 +02:00
Joel Thiessen 144bf08293
Generating the short description on the product editor (#39237)
* [Woo AI] Generate short description after long description is generated.
2023-08-07 14:03:52 +02:00
Kyle Nel a807040208 Add/user menu component (#39383)
User Menu: Create component and add to header

- Create initial component design
- We may need to return to implement the helper connection URLs once those are in place.
- Some PHPCS errors still exist - this is to be expected for now.

# Conflicts:
#	plugins/woocommerce-admin/client/marketplace/stylesheets/_variables.scss

Co-authored-by: And Finally <andfinally@users.noreply.github.com>
Co-authored-by: raicem <unalancem@gmail.com>
2023-08-07 12:34:05 +01:00
And Finally 55b2bb33ac Integrating search component into in-app marketplace header.
- Changed classNames in `Search` component.
- Moved styles from `header.scss` to `search.scss`.
- Deleted `HeaderSearch` and `HeaderSearchButton` components, no longer needed.
- Removed wrapper element around search form.
- Corrected marketplace API address in `Search` component.
- Using state to remember search term, instead of getting value of search input.
- Added condition to clear search input if Escape is pressed while it's focused.
- Not running search if search term is falsy.
- Changed label of "Extensions" tab to "Browse" – we'll do this for the moment, as we have repetition with the page title `Extensions`.
2023-08-07 12:34:05 +01:00
And Finally b48e52652d Tidying history for https://github.com/woocommerce/woocommerce/pull/39145. Copied changes from `add/wccom-17419-marketplace-top-admin-bar`.
Deleting unused import.

Addressing CSS linter errors.
2023-08-07 12:34:05 +01:00
Kyle Nel bd72b2cd08 Add skeleton and cherry-picked commits
- Reset layout to allow full width
- Added Footer & IconWithText components

Add temporary placeholder components

All components here are temporary and can be removed/replaced when their relevant PR is ready.

Add marketplace footer component

The component is added using a SlotFill to use the existing WC Admin footer and utilise full width correctly.

Setup initial content area layout

Update tab styles

Setup styling to match latest design

Finalise footer, wide layout, and tidy styles

- Applies the wide layout from latest MVP design
- Applies the correct footer links to titles
- Some general style tidying

Organise styles and setup variables

Swap to using CSS Grid for layouts

Update breakpoints

Restructure style naming and update to core styles

Add translation in some places

In-app marketplace search component. Cleaned up the commit history of this branch. Copied changes from these commits:

e9828422706176817e511778980005222aa36cc5
9ca2ae351c97fcd27ecd77a1464c2a9ca16de040
e47815705f3854bf50ff48d7975b7cf2f541614b
976811c458e67ae7fa107c8bf8554fdc3e809d85
46eafdf49fe39c12dee77d6ce0885bdeda527dea

Deleted unused import.
2023-08-07 12:34:05 +01:00
And Finally 05a608399a Changed `Tabs` to use `useQuery` instead of `getQuery`, so the browser back button will work.
Changed submenu item name back to `Extensions`, and keeping it in the current order within the WooCommerce menu.
Changed `path` value to `extensions`.
2023-08-07 12:34:05 +01:00
And Finally b3723f7a7d First commit. This contains the changes from `update/react-marketplace`, reviewed in https://github.com/woocommerce/woocommerce/pull/38885. 2023-08-07 12:34:05 +01:00
Barry Hughes c4f00719de
Fire 'woocommerce_process_shop_order_meta' only once when updating orders on the admin (#39587) 2023-08-04 15:41:29 -07:00
github-actions 406fd408dc Add changefile(s) from automation for the following project(s): woocommerce 2023-08-04 21:45:16 +00:00
Joshua T Flowers 63ca33ae35
Fix toolbar button text not showing in WP 6.3 (#39572)
* Fix toolbar button text not showing in WP 6.3

* Add changelog entry
2023-08-04 16:23:09 -05:00