woocommerce/plugins/woocommerce-admin/client
Cem Ünalan 48ebe7b84c
Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983)
* Marketplace: Add "Add to Store" button for free and WordPress.org products (#43616)

* Marketplace: Install free .org plugins with Add to Store button

* Marketplace: addressed feedback for the the new install free products flow

- Moved notices to the top of the modal
- Updated notice styles slightly
- Updated the CreateOrderSuccessResponse to reflect API changes

* Marketplace: Require the Helper orders API file

* Marketplace: fix linter errors

* Marketplace: form encode when submitting the request

The body is encoded anyways by the WordPress core. However, if I don't
do it here, I can't create a valid signature to be verified by
Woo.com.

I could have just submitted a JSON too, but this seamed easier since
the body is parsed on Woo.com automatically when it's in this form.

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

* Marketplace: remove "~" character in imports and use relative paths

* Marketplace: fix margins in the product with the Add to Store button

* Marketplace: Add conditions to hide the button

We hide it if:

- the product is already installed
- user doesn't have the right capability
- if the product is just installed using our flow and there is
no page refresh

* Marketplace: don't show Add to Store button on Themes and on Discover

* Marketplace: fix linting

* Marketplace: hide ratings from the product if "is-small" class exists

* Marketplace: fix linting errors

---------

Co-authored-by: github-actions <github-actions@github.com>
2024-01-24 23:02:20 +03:00
..
activity-panel Fix highlight tooltip deprecation notices (#43303) 2024-01-05 08:35:06 -04:00
analytics fix: fixed all instances of no-use-before-define lint rule violations 2023-11-16 19:21:30 +08:00
core-profiler Track core profiler individual plugin installation success/failure (#43309) 2024-01-10 11:48:34 +08:00
customize-store CYS Redirect to intro screen if theme is not modified (#43736) 2024-01-23 11:15:19 +01:00
dashboard Address some deprecation warnings (#41845) 2023-12-15 09:45:06 -04:00
embedded-body-layout Fix Layout Controller forwarding arrays from the URL query string. (#38593) 2023-06-05 04:55:20 -03:00
guided-tours Shipping Settings: Fix updates to copy (#41445) 2023-11-21 13:57:27 +13:00
header Fix incorrect wpBody margin top value set by TasksReminderBar (#43020) 2023-12-21 08:43:50 -08:00
homescreen Fix activity panel showing incorrect currency (#43733) 2024-01-19 12:20:36 +08:00
hooks Add variation switcher in footer for variation page (#40713) 2023-10-12 11:56:48 -03:00
inbox-panel Add tests to tracks events fired through JS (#38124) 2023-05-10 09:36:42 -03:00
layout Regenerate PNPM Lock File & Fix Errors (#41830) 2023-12-05 00:36:30 -08:00
lib Moving currencyContext to currency package and updating references (#36959) 2023-02-28 08:55:49 -08:00
marketing Marketing: Add "Sales" column in Campaigns card (#43284) 2024-01-19 01:42:35 +08:00
marketplace Marketplace: Add "Add to Store" button for free and WordPress.org products #43616 (#43983) 2024-01-24 23:02:20 +03:00
mobile-banner Create @woocommerce/admin-layout package (#37094) 2023-03-10 09:58:02 -05:00
navigation Add variation switcher in footer for variation page (#40713) 2023-10-12 11:56:48 -03:00
payments update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
payments-welcome CYS - Core: implement 'noAI' flowType (#43368) 2024-01-09 15:49:59 +01:00
products Address some deprecation warnings (#41845) 2023-12-15 09:45:06 -04:00
profile-wizard fix: fixed all instances of no-use-before-define lint rule violations 2023-11-16 19:21:30 +08:00
settings update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
settings-recommendations Fix JS lint errors (#33484) 2022-06-21 16:37:34 +08:00
shipping update references to woocommerce.com to now reference woo.com 2023-11-10 15:49:08 +01:00
store-management-links fix: fixed all instances of no-use-before-define lint rule violations 2023-11-16 19:21:30 +08:00
stylesheets Fix description styling and remove use of `woocommerce-page` in admin pages (#40218) 2023-09-15 17:06:42 -03:00
task-lists Update product editor experiment name for new release (#44014) 2024-01-24 11:41:05 -04:00
typings Create product-pre-publish-modal feature flag (#43861) 2024-01-23 11:46:52 -03:00
utils CYS - Core: implement 'noAI' flowType (#43368) 2024-01-09 15:49:59 +01:00
wp-admin-scripts Fix Subscriptions autorenewals column for WooPayments pre-install promo in Settings > Payments (#43436) 2024-01-12 19:05:29 +02:00
index.js fix/cys ui feedback 12 sep (#40155) 2023-09-20 10:47:05 +08:00
jest.config.js Fix Jest Preset (#42707) 2023-12-12 09:58:13 -08:00
tsconfig.test.json Update admin tsconfig to isolated from other projects 2022-04-15 13:50:18 +08:00
xstate.js dev: added xstate inspector toggling (#38022) 2023-04-28 15:30:52 +08:00