From b6a9afe00273c274e5938195e46fa06f3f841d2f Mon Sep 17 00:00:00 2001 From: Nikhil Pachange Date: Fri, 28 Feb 2025 20:20:01 +0530 Subject: [PATCH 1/5] Update complete-screen.php --- templates/admin/complete-screen.php | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/templates/admin/complete-screen.php b/templates/admin/complete-screen.php index ce0a3432..92d3a04e 100644 --- a/templates/admin/complete-screen.php +++ b/templates/admin/complete-screen.php @@ -1,10 +1,9 @@ -
- <?php esc_attr_e( 'BigCommerce', 'bigcommerce' ); ?> +
+ <?php esc_attr_e( 'Open Source Plugin', 'opensource' ); ?>
- -
- -
-
-

+ +
+ +
+
+

From 2f5f7c15321c4bb292bb8a6923b0eda9190569ff Mon Sep 17 00:00:00 2001 From: Nikhil Pachange Date: Fri, 28 Feb 2025 20:21:27 +0530 Subject: [PATCH 2/5] Update next-steps.php --- templates/admin/next-steps.php | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/templates/admin/next-steps.php b/templates/admin/next-steps.php index 3babfaae..1e0c4f47 100644 --- a/templates/admin/next-steps.php +++ b/templates/admin/next-steps.php @@ -1,43 +1,42 @@

%s

', - $new_account ? __( 'Authenticate and Confirm your BigCommerce Account', 'bigcommerce' ) : __( 'Next Steps', 'bigcommerce' ), - $new_account ? __( 'Check your email for a link to confirm your account.', 'bigcommerce' ) : __( 'Complete the steps below to optimize your BigCommerce for WordPress experience.', 'bigcommerce' ) +printf( '

%s

', + $new_account ? __( 'Authenticate and Confirm your Open Source Account', 'opensource' ) : __( 'Next Steps', 'opensource' ), + $new_account ? __( 'Check your email for a link to confirm your account.', 'opensource' ) : __( 'Complete the steps below to optimize your Open Source Plugin experience.', 'opensource' ) ); if ( ! empty( $required ) ) { - printf( '

%s

', esc_html( __( 'Required Steps', 'bigcommerce' ) ) ); + printf( '

%s

', esc_html( __( 'Required Steps', 'opensource' ) ) ); foreach ( $required as $key => $step ) { - printf( '
', sanitize_html_class( 'bc-next-step--' . $key ) ); - printf( '
' ); - printf( ' %s', sanitize_html_class( 'icon-bc-' . $step['icon'] ), esc_html( __( 'Incomplete', 'bigcommerce' ) ) ); + printf( '
', sanitize_html_class( 'next-step--' . $key ) ); + printf( '
' ); + printf( ' %s', sanitize_html_class( 'icon-' . $step['icon'] ), esc_html( __( 'Incomplete', 'opensource' ) ) ); printf( '
' ); - printf( '

%s

', esc_html( $step['heading'] ) ); + printf( '

%s

', esc_html( $step['heading'] ) ); if ( ! empty( $step['url'] ) && ! empty( $step['label'] ) ) { - printf( '%s', esc_url( $step['url'] ), esc_html( $step['label'] ) ); + printf( '%s', esc_url( $step['url'] ), esc_html( $step['label'] ) ); } echo '
'; } } - if ( ! empty( $optional ) ) { - printf( '

%s

', esc_html( __( 'Optional Steps', 'bigcommerce' ) ) ); + printf( '

%s

', esc_html( __( 'Optional Steps', 'opensource' ) ) ); foreach ( $optional as $key => $step ) { - printf( '
', sanitize_html_class( 'bc-next-step--' . $key ) ); - printf( '
' ); - printf( ' %s', sanitize_html_class( 'icon-bc-' . $step['icon'] ), esc_html( __( 'Incomplete', 'bigcommerce' ) ) ); + printf( '
', sanitize_html_class( 'next-step--' . $key ) ); + printf( '
' ); + printf( ' %s', sanitize_html_class( 'icon-' . $step['icon'] ), esc_html( __( 'Incomplete', 'opensource' ) ) ); printf( '
' ); - printf( '

%s

', esc_html( $step['heading'] ) ); + printf( '

%s

', esc_html( $step['heading'] ) ); if ( ! empty( $step['url'] ) && ! empty( $step['label'] ) ) { - printf( '%s', esc_url( $step['url'] ), esc_html( $step['label'] ) ); + printf( '%s', esc_url( $step['url'] ), esc_html( $step['label'] ) ); } echo '
'; } From 0de61374084d4750dda8772befd1aeba56c040ec Mon Sep 17 00:00:00 2001 From: Nikhil Pachange Date: Fri, 28 Feb 2025 20:22:43 +0530 Subject: [PATCH 3/5] Update resources-screen.php --- templates/admin/resources-screen.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/templates/admin/resources-screen.php b/templates/admin/resources-screen.php index 5c16bbbf..0d8c0f8d 100644 --- a/templates/admin/resources-screen.php +++ b/templates/admin/resources-screen.php @@ -9,22 +9,22 @@ */ ?> -
- -
+
+ +
-
-

+
+

-
-
-
    +
    +
    +
-
+
From e15b3d9ea4872c9a476ef0040f583d1490187d1a Mon Sep 17 00:00:00 2001 From: Nikhil Pachange Date: Sat, 4 Oct 2025 01:23:42 +0530 Subject: [PATCH 4/5] Update browserSync.js --- grunt_options/browserSync.js | 116 ++++++++++++++--------------------- 1 file changed, 47 insertions(+), 69 deletions(-) diff --git a/grunt_options/browserSync.js b/grunt_options/browserSync.js index 33c1fd70..9a185edd 100644 --- a/grunt_options/browserSync.js +++ b/grunt_options/browserSync.js @@ -5,75 +5,53 @@ * */ -module.exports = { - dev: { - bsFiles: { - src: [ - '<%= pkg._bc_css_dist_path %>master.css', - '<%= pkg._bc_css_dist_path %>master-amp.css', - '<%= pkg._bc_css_dist_path %>login.css', - '<%= pkg._bc_css_dist_path %>editor-style.css', - '<%= pkg._bc_assets_path %>/**/*.php', - '<%= pkg._bc_assets_path %>/**/*.twig', - '<%= pkg._bc_public_js_dist_path %>*.js', - '<%= pkg._bc_admin_js_dist_path %>*.js', - '<%= pkg._bc_public_img_path %>**/*.jpg', - '<%= pkg._bc_admin_img_path %>**/*.jpg', +const commonFiles = [ + '<%= pkg._bc_css_dist_path %>master.css', + '<%= pkg._bc_css_dist_path %>master-amp.css', + '<%= pkg._bc_css_dist_path %>login.css', + '<%= pkg._bc_css_dist_path %>editor-style.css', + '<%= pkg._bc_assets_path %>/**/*.php', + '<%= pkg._bc_assets_path %>/**/*.twig', + '<%= pkg._bc_public_js_dist_path %>*.js', + '<%= pkg._bc_admin_js_dist_path %>*.js', + '<%= pkg._bc_public_img_path %>**/*.jpg', + '<%= pkg._bc_admin_img_path %>**/*.jpg', + '<%= pkg._bc_plugin_path %>assets/**/*.css', + '<%= pkg._bc_plugin_path %>assets/**/*.js', + '<%= pkg._bc_plugin_path %>**/*.php', +]; - '<%= pkg._bc_plugin_path %>assets/**/*.css', - '<%= pkg._bc_plugin_path %>assets/**/*.js', - '<%= pkg._bc_plugin_path %>**/*.php', - ], - }, - options: { - watchTask: true, - debugInfo: true, - logConnections: true, - notify: true, - proxy: '<%= dev.proxy %>', - ghostMode: { - scroll: true, - links: true, - forms: true, - }, - }, - }, - devDocker: { - bsFiles: { - src: [ - '<%= pkg._bc_css_dist_path %>master.css', - '<%= pkg._bc_css_dist_path %>master-amp.css', - '<%= pkg._bc_css_dist_path %>login.css', - '<%= pkg._bc_css_dist_path %>editor-style.css', - '<%= pkg._bc_assets_path %>/**/*.php', - '<%= pkg._bc_assets_path %>/**/*.twig', - '<%= pkg._bc_public_js_dist_path %>*.js', - '<%= pkg._bc_admin_js_dist_path %>*.js', - '<%= pkg._bc_public_img_path %>**/*.jpg', - '<%= pkg._bc_admin_img_path %>**/*.jpg', +const commonOptions = { + watchTask: true, + debugInfo: true, + logConnections: true, + notify: true, + ghostMode: { + scroll: true, + links: true, + forms: true, + }, +}; - '<%= pkg._bc_plugin_path %>assets/**/*.css', - '<%= pkg._bc_plugin_path %>assets/**/*.js', - '<%= pkg._bc_plugin_path %>**/*.php', - ], - }, - options: { - watchTask: true, - debugInfo: true, - logConnections: true, - notify: true, - open: 'external', - host: '<%= dev.proxy %>', /* https://192.168.1.199:3000/ will still work for mobile device testing */ - proxy: 'https://<%= dev.proxy %>', - https: { - key: '<%= dev.certs_path %>/<%= dev.proxy %>.key', - cert: '<%= dev.certs_path %>/<%= dev.proxy %>.crt', - }, - ghostMode: { - scroll: true, - links: true, - forms: true, - }, - }, - }, +module.exports = { + dev: { + bsFiles: { src: commonFiles }, + options: { + ...commonOptions, + proxy: '<%= dev.proxy %>', + }, + }, + devDocker: { + bsFiles: { src: commonFiles }, + options: { + ...commonOptions, + open: 'external', + host: '<%= dev.proxy %>', + proxy: 'https://<%= dev.proxy %>', + https: { + key: '<%= dev.certs_path %>/<%= dev.proxy %>.key', + cert: '<%= dev.certs_path %>/<%= dev.proxy %>.crt', + }, + }, + }, }; From 8ed307039f17ee380fe7f8c3a90275973f0cd9a9 Mon Sep 17 00:00:00 2001 From: Nikhil Pachange Date: Fri, 10 Oct 2025 11:01:37 +0530 Subject: [PATCH 5/5] Update Gruntfile.js