From 47a503fff47b0dcfce26154c1ae3d7bce2813a95 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Wed, 2 Oct 2024 11:49:50 +0800 Subject: [PATCH 1/3] Standardise Plugin title to `Kit (formerly ConvertKit) for WooCommerce` --- README.md | 4 ++-- woocommerce-convertkit.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d108568..88fc136 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# ConvertKit for WooCommerce +# Kit for WooCommerce -Welcome to the Kit (formerly ConvertKit) WooCommerce Addon for WordPress repository on GitHub. Here you can view the plugin source code, review open issues, and see releases of the plugin. +Welcome to the Kit WooCommerce Addon for WordPress repository on GitHub. Here you can view the plugin source code, review open issues, and see releases of the plugin. **If you're not a developer, please download the plugin from [WordPress.org](https://wordpress.org/plugins/convertkit-woocommerce/). Downloading and installing directly from GitHub will not work.** diff --git a/woocommerce-convertkit.php b/woocommerce-convertkit.php index 475103a..388608a 100755 --- a/woocommerce-convertkit.php +++ b/woocommerce-convertkit.php @@ -6,11 +6,11 @@ * @author ConvertKit * * @wordpress-plugin - * Plugin Name: ConvertKit for WooCommerce + * Plugin Name: Kit (formerly ConvertKit) for WooCommerce * Plugin URI: https://www.kit.com * Description: Integrates WooCommerce with Kit, allowing customers to be automatically sent to your Kit account. * Version: 1.8.7 - * Author: ConvertKit + * Author: Kit * Author URI: https://www.kit.com * Text Domain: woocommerce-convertkit * From ad0824a03a7da1dcee4e86992550438fc588b382 Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Wed, 2 Oct 2024 11:49:56 +0800 Subject: [PATCH 2/3] Update styling to match new UI --- resources/backend/css/settings.css | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/resources/backend/css/settings.css b/resources/backend/css/settings.css index 5f7ce0a..105689a 100644 --- a/resources/backend/css/settings.css +++ b/resources/backend/css/settings.css @@ -17,19 +17,20 @@ body.woocommerce_page_wc-settings .wrap form#mainform ul.subsubsub { */ body.woocommerce_page_wc-settings .wrap .postbox { background: #fff; - box-shadow: 0 2px 5px #0000000d; - color: #373f45; + color: #6e6e6e; margin: 0 0 30px 0; padding: 40px 30px 30px 30px; font-size: 14px; - border: 1px solid #EDF2F4; + border-radius: 8px; + border: none; } body.woocommerce_page_wc-settings .wrap .postbox h2 { margin: 0 0 30px 0; padding: 0 0 30px 0; font-size: 24px; font-weight: 600; - border-bottom: 1px solid #EDF2F4; + border-bottom: 1px solid #e3e3e3; + color: #3d3d3d; } body.woocommerce_page_wc-settings .wrap .postbox p { font-size: 14px; @@ -38,7 +39,9 @@ body.woocommerce_page_wc-settings .wrap p.submit { padding: 0; } body.woocommerce_page_wc-settings .wrap p.submit .button, -body.woocommerce_page_wc-settings .wrap p.submit .button-primary { +body.woocommerce_page_wc-settings .wrap p.submit .button-primary, +body.woocommerce_page_wc-settings .wrap .button-secondary { + border-radius: 10px; margin: 0 5px 0 0; padding: 4px 12px; font-size: 14px; @@ -49,6 +52,15 @@ body.woocommerce_page_wc-settings .wrap p.submit .button-primary { color: #fff; } body.woocommerce_page_wc-settings .wrap p.submit .button-primary:hover { - background: #1e1e1e; - border-color: #1e1e1e; + background: #3d3d3d; + border-color: #3d3d3d; +} +body.woocommerce_page_wc-settings .wrap .button-secondary { + background: #f0f0f0; + border-color: #f0f0f0; + color: #3d3d3d; } +body.woocommerce_page_wc-settings .wrap .button-secondary:hover { + background: #ddd; + border-color: #ddd; +} \ No newline at end of file From 6a4f7115d5887a89a087fbf10fab867b71aef59e Mon Sep 17 00:00:00 2001 From: Tim Carr Date: Wed, 2 Oct 2024 12:12:30 +0800 Subject: [PATCH 3/3] Tests: Activate and deactivate updated Plugin name --- tests/_support/Helper/Acceptance/Plugin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/_support/Helper/Acceptance/Plugin.php b/tests/_support/Helper/Acceptance/Plugin.php index a8fd1b8..33791d7 100644 --- a/tests/_support/Helper/Acceptance/Plugin.php +++ b/tests/_support/Helper/Acceptance/Plugin.php @@ -19,7 +19,7 @@ class Plugin extends \Codeception\Module */ public function activateConvertKitPlugin($I) { - $I->activateThirdPartyPlugin($I, 'convertkit-for-woocommerce'); + $I->activateThirdPartyPlugin($I, 'kit-formerly-convertkit-for-woocommerce'); } /** @@ -32,7 +32,7 @@ public function activateConvertKitPlugin($I) */ public function deactivateConvertKitPlugin($I) { - $I->deactivateThirdPartyPlugin($I, 'convertkit-for-woocommerce'); + $I->deactivateThirdPartyPlugin($I, 'kit-formerly-convertkit-for-woocommerce'); } /** @@ -73,7 +73,7 @@ public function activateWooCommerceAndConvertKitPlugins($I) */ public function deactivateWooCommerceAndConvertKitPlugins($I) { - $I->deactivateThirdPartyPlugin($I, 'convertkit-for-woocommerce'); + $I->deactivateThirdPartyPlugin($I, 'kit-formerly-convertkit-for-woocommerce'); // Deactivate WooCommerce Stripe Gateway before WooCommerce, to prevent WooCommerce throwing a fatal error. $I->deactivateThirdPartyPlugin($I, 'woocommerce-gateway-stripe');