From e09b16931514d139b3150cb2b1c0955a9ae51548 Mon Sep 17 00:00:00 2001 From: Jeffrey Paul Date: Mon, 13 Nov 2023 14:53:20 -0600 Subject: [PATCH 01/17] begin renaming --- CONTRIBUTING.md | 2 +- CREDITS.md | 2 ++ README.md | 38 +++++++++++++++++++------------------- composer.json | 2 +- package.json | 2 +- readme.txt | 39 +++++++++++++++++++++------------------ 6 files changed, 45 insertions(+), 40 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ff5075e5..9dbd6a4d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ The following is a set of guidelines for contributors as well as information and ## Ways to contribute -Contributing isn't just writing code - it's anything that improves the project. All contributions for AutoShare for Twitter are managed right here on GitHub. Here are some ways you can help: +Contributing isn't just writing code - it's anything that improves the project. All contributions for Autopost for X are managed right here on GitHub. Here are some ways you can help: ### Reporting bugs diff --git a/CREDITS.md b/CREDITS.md index edac58f5..691fde0f 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -1,3 +1,5 @@ +# Credits + The following acknowledges the Maintainers for this repository, those who have Contributed to this repository (via bug reports, code, design, ideas, project management, translation, testing, etc.), and any Libraries utilized. ## Maintainers diff --git a/README.md b/README.md index aaedf71d..c2a1bcc6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Autoshare for Twitter +# Autopost for X (formerly Autoshare for Twitter) > Automatically tweets the post title or custom message and a link to the post. @@ -11,15 +11,15 @@ ## Overview -Autoshare for Twitter automatically tweets your posts as soon as they’re published. Once you hit the Publish button, the plugin sends your post’s title, featured image, and link to Twitter, along with a custom message. +Autopost for X (formerly Autoshare for Twitter) automatically shares your posts to X/Twitter as soon as they’re published. Once you hit the Publish button, the plugin sends your post’s title, featured image, and link to X/Twitter, along with a custom message. -| Create post screen with Autoshare for Twitter options | Published post screen with Autoshare for Twitter options. | +| Create post screen with Autopost for X options | Published post screen with Autopost for X options. | | -------------- | ---------------- | -| [![Create post screen with Autoshare for Twitter options](.wordpress-org/screenshot-1.png)](.wordpress-org/screenshot-1.png) | [![Published post screen with Autoshare for Twitter options.](.wordpress-org/screenshot-2.png)](.wordpress-org/screenshot-2.png) | +| [![Create post screen with Autopost for X options](.wordpress-org/screenshot-1.png)](.wordpress-org/screenshot-1.png) | [![Published post screen with Autopost for X options.](.wordpress-org/screenshot-2.png)](.wordpress-org/screenshot-2.png) | -Unlike a myriad of other social media, multitool solutions, Autoshare for Twitter is built solely for Twitter. It focuses on doing one thing and does it well, with the code and interface craftsmanship we apply to every project. +Unlike a myriad of other social media, multitool solutions, Autopost for X is built solely for X/Twitter. It focuses on doing one thing and does it well, with the code and interface craftsmanship we apply to every project. -With Autoshare for Twitter, developers can further customize nearly everything about the tweets, including the image, author, and link, using an extensive set of hooks built into the code. Among its other features, the WordPress plugin: +With Autopost for X, developers can further customize nearly everything about the tweets, including the image, author, and link, using an extensive set of hooks built into the code. Among its other features, the WordPress plugin: * Works in both the classic and new block editors. * Becomes part of the pre-publish checklist step that’s part of the new block editor. @@ -27,9 +27,9 @@ With Autoshare for Twitter, developers can further customize nearly everything a * Counts characters to keep you under the tweet limit. * Adds a link to the tweet in the block editor sidebar. -| Autoshare For Twitter block editor sidebar panel | Autoshare for Twitter Settings, found under `Settings` > `Autoshare for Twitter`. | +| Autopost For X block editor sidebar panel | Autopost for X Settings, found under `Settings` > `Autopost for X`. | | --------------- | --------------- | -|[![Autoshare For Twitter block editor sidebar panel](.wordpress-org/screenshot-3.gif)](.wordpress-org/screenshot-3.gif) | [![Autoshare for Twitter Settings, found under `Settings` > `Autoshare for Twitter`.](.wordpress-org/screenshot-4.png)](.wordpress-org/screenshot-4.png)| +|[![Autopost For X block editor sidebar panel](.wordpress-org/screenshot-3.gif)](.wordpress-org/screenshot-3.gif) | [![Autopost for X Settings, found under `Settings` > `Autopost for X`.](.wordpress-org/screenshot-4.png)](.wordpress-org/screenshot-4.png)| **Disclaimer:** _TWITTER, TWEET, RETWEET and the Twitter logo are trademarks of Twitter, Inc. or its affiliates._ @@ -42,13 +42,13 @@ With Autoshare for Twitter, developers can further customize nearly everything a 1. Install the plugin via the plugin installer, either by searching for it or uploading a .ZIP file. 2. Activate the plugin. -3. Save Twitter connection settings, found under `Settings` > `Autoshare for Twitter`. +3. Save X/Twitter connection settings, found under `Settings` > `Autopost for X`. ## Plugin Compatibility ### Distributor -When using with 10up's [Distributor plugin](https://github.com/10up/distributor), posts that are distributed will not be autoshared if they are already tweeted from the origin site. Autoshare for Twitter tracks posts that have been tweeted in post meta to avoid "double tweeting". To avoid this behavior, use the `dt_blacklisted_meta` filter to exclude the 'autoshare_for_twitter_status' meta value from being distributed : +When using with 10up's [Distributor plugin](https://github.com/10up/distributor), posts that are distributed will not be autoshared if they are already tweeted from the origin site. Autopost for X tracks posts that have been tweeted in post meta to avoid "double tweeting". To avoid this behavior, use the `dt_blacklisted_meta` filter to exclude the 'autoshare_for_twitter_status' meta value from being distributed : ```php add_filter( 'dt_blacklisted_meta', function( $blacklisted_metas ) { @@ -61,7 +61,7 @@ add_filter( 'dt_blacklisted_meta', function( $blacklisted_metas ) { **Note:** Posts and pages are supported by default. Developers can use the `autoshare_for_twitter_default_post_types` filter to change the default supported post types (for more, see #25). The plugin namespace changed to just 'autoshare' as of version 1.0.0. -Custom post types can now be opted into autoshare features like so: +Custom post types can now be opted into autopost features like so: ```php function opt_my_cpt_into_autoshare() { @@ -93,16 +93,16 @@ add_filter( 'autoshare_for_twitter_enabled_default', 'enable_autoshare_by_defaul Yes, yes it does! For more details on this, see [#44](https://github.com/10up/autoshare-for-twitter/pull/44). -### Does the plugin work with Twitter API V2? +### Does the plugin work with X/Twitter API V2? -Yes, the plugin is compatible with Twitter API v2. +Yes, the plugin is compatible with X/Twitter API v2. ### I'm encountering the error message "401: Unauthorized." What could be the possible reason for this error? There are a few potential reasons for this error: -1. **Incorrect Twitter API credentials**: Please ensure that you have entered the correct Twitter API credentials. -2. **Deprecated access levels**: If you are still using the old Twitter access levels (Standard (v1.1), Essential (v2), Elevated (v2), etc...), you must migrate to the new access levels (Free, Basic, Pro, etc.). Please make sure to migrate to the new access levels to ensure uninterrupted functionality. Here's how you can do it: +1. **Incorrect X/Twitter API credentials**: Please ensure that you have entered the correct X/Twitter API credentials. +2. **Deprecated access levels**: If you are still using the old X/Twitter access levels (Standard (v1.1), Essential (v2), Elevated (v2), etc...), you must migrate to the new access levels (Free, Basic, Pro, etc.). Please make sure to migrate to the new access levels to ensure uninterrupted functionality. Here's how you can do it: 1. Go to the following URL: https://developer.twitter.com/en/portal/products 2. Look for the "Downgrade" button. @@ -110,9 +110,9 @@ There are a few potential reasons for this error: ### I'm encountering the error message "429: Too Many Requests." What could be the possible reason for this error? -If you're seeing the error message "429: Too Many Requests" it indicates that you have exceeded the usage limits of Twitter's Free API access. With the Free API, you are allowed **1,500 Tweets per month** and **50 requests within a 24-hour period**. Since you have surpassed the daily limit, we kindly advise waiting for 24 hours before attempting to tweet again. +If you're seeing the error message "429: Too Many Requests" it indicates that you have exceeded the usage limits of X/Twitter's Free API access. With the Free API, you are allowed **1,500 Tweets per month** and **50 requests within a 24-hour period**. Since you have surpassed the daily limit, we kindly advise waiting for 24 hours before attempting to tweet again. -To avoid encountering this error in the future and to have higher usage limits, we recommend considering a subscription to either the Basic or Pro access level. These access levels provide increased quotas and additional benefits to accommodate your needs. For more information on Twitter API access levels, you can visit this link: https://developer.twitter.com/en/products/twitter-api. +To avoid encountering this error in the future and to have higher usage limits, we recommend considering a subscription to either the Basic or Pro access level. These access levels provide increased quotas and additional benefits to accommodate your needs. For more information on X/Twitter API access levels, you can visit this link: https://developer.twitter.com/en/products/twitter-api. ## Support Level @@ -120,11 +120,11 @@ To avoid encountering this error in the future and to have higher usage limits, ## Changelog -A complete listing of all notable changes to Autoshare for Twitter are documented in [CHANGELOG.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CHANGELOG.md). +A complete listing of all notable changes to Autopost for X are documented in [CHANGELOG.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CHANGELOG.md). ## Contributing -Please read [CODE_OF_CONDUCT.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CODE_OF_CONDUCT.md) for details on our code of conduct, [CONTRIBUTING.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CONTRIBUTING.md) for details on the process for submitting pull requests to us, and [CREDITS.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CREDITS.md) for a listing of maintainers, contributors, and libraries for Autoshare for Twitter. +Please read [CODE_OF_CONDUCT.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CODE_OF_CONDUCT.md) for details on our code of conduct, [CONTRIBUTING.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CONTRIBUTING.md) for details on the process for submitting pull requests to us, and [CREDITS.md](https://github.com/10up/autoshare-for-twitter/blob/develop/CREDITS.md) for a listing of maintainers, contributors, and libraries for Autopost for X. ## Like what you see? diff --git a/composer.json b/composer.json index 69b512ef..ddf83b2c 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "10up/autoshare-for-twitter", - "description": "Automatically tweets the post title or custom message and a link to the post.", + "description": "Automatically shares the post title or custom message and a link to the post on X/Twitter.", "type": "wordpress-plugin", "keywords": [], "homepage": "https://10up.com", diff --git a/package.json b/package.json index 8f3fe9dc..3b973e83 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@10up/autoshare-for-twitter", "version": "2.1.1", - "description": "Automatically tweets a post title, URL, and optional description.", + "description": "Automatically shares a post title, URL, and optional description to X/Twitter.", "scripts": { "start": "wp-scripts start", "build": "wp-scripts build", diff --git a/readme.txt b/readme.txt index c15bb1e6..b37b90f9 100644 --- a/readme.txt +++ b/readme.txt @@ -1,6 +1,6 @@ -=== Autoshare for Twitter === +=== Autopost for X (formerly Autoshare for Twitter) === Contributors: 10up, johnwatkins0, adamsilverstein, scottlee, dinhtungdu, jeffpaul, dharm1025 -Tags: twitter, tweet, autoshare, auto-share, auto share, share, sharing, social media, posse +Tags: twitter, tweet, autoshare, auto-share, auto share, share, sharing, social media, posse, x, x/twitter, twitter/x Requires at least: 5.7 Tested up to: 6.4 Requires PHP: 7.4 @@ -8,15 +8,15 @@ Stable tag: 2.1.1 License: GPL-2.0-or-later License URI: https://spdx.org/licenses/GPL-2.0-or-later.html -Automatically tweets the post title or custom message and a link to the post. +Automatically shares the post title or custom message and a link to the post to X/Twitter. == Description == -Autoshare for Twitter automatically tweets your posts as soon as they’re published. Once you hit the Publish button, the plugin sends your post’s title, featured image, and link to Twitter, along with a custom message. +Autopost for X (formerly Autoshare for Twitter) automatically shares your posts to X/Twitter as soon as they’re published. Once you hit the Publish button, the plugin sends your post’s title, featured image, and link to X/Twitter, along with a custom message. -Unlike a myriad of other social media, multitool solutions, Autoshare for Twitter is built solely for Twitter. It focuses on doing one thing and does it well, with the code and interface craftsmanship we apply to every project. +Unlike a myriad of other social media, multitool solutions, Autopost for X is built solely for X/Twitter. It focuses on doing one thing and does it well, with the code and interface craftsmanship we apply to every project. -With Autoshare for Twitter, developers can further customize nearly everything about the tweets, including the image, author, and link, using an extensive set of hooks built into the code. Among its other features, the WordPress plugin: +With Autopost for X, developers can further customize nearly everything about the tweets, including the image, author, and link, using an extensive set of hooks built into the code. Among its other features, the WordPress plugin: * Works in both the classic and new block editors. * Becomes part of the pre-publish checklist step that’s part of the new block editor. @@ -29,13 +29,13 @@ With Autoshare for Twitter, developers can further customize nearly everything a == Installation == 1. Install the plugin via the plugin installer, either by searching for it or uploading a .ZIP file. 2. Activate the plugin. -3. Save Twitter connection settings, found under `Settings` > `Autoshare for Twitter`. +3. Save X/Twitter connection settings, found under `Settings` > `Autopost for X`. == Plugin Compatibility == = Distributor = -When using with 10up's [Distributor plugin](https://github.com/10up/distributor), posts that are distributed will not be autoshared if they are already tweeted from the origin site. Autoshare for Twitter tracks posts that have been tweeted in post meta to avoid "double tweeting". To avoid this behavior, use the `dt_blacklisted_meta` filter to exclude the 'autoshare_for_twitter_status' meta value from being distributed : +When using with 10up's [Distributor plugin](https://github.com/10up/distributor), posts that are distributed will not be autoshared if they are already tweeted from the origin site. Autopost for X tracks posts that have been tweeted in post meta to avoid "double tweeting". To avoid this behavior, use the `dt_blacklisted_meta` filter to exclude the 'autoshare_for_twitter_status' meta value from being distributed : ` add_filter( 'dt_blacklisted_meta', function( $blacklisted_metas ) { @@ -48,7 +48,7 @@ add_filter( 'dt_blacklisted_meta', function( $blacklisted_metas ) { **Note:** Posts and pages are supported by default. Developers can use the `autoshare_for_twitter_default_post_types` filter to change the default supported post types -Custom post types can now be opted into autoshare features like so: +Custom post types can now be opted into autopost features like so: ` function opt_my_cpt_into_autoshare() { @@ -82,15 +82,15 @@ Additional technical details can be found in [our GitHub repository](https://git Yes, yes it does! For more details on this, see [#44](https://github.com/10up/autoshare-for-twitter/pull/44). -= Does the plugin work with Twitter API V2? = += Does the plugin work with X/Twitter API V2? = -Yes, the plugin is compatible with Twitter API v2. +Yes, the plugin is compatible with X/Twitter API v2. = I'm encountering the error message "401: Unauthorized." What could be the possible reason for this error? = There are a few potential reasons for this error: -1. **Incorrect Twitter API credentials**: Please ensure that you have entered the correct Twitter API credentials. -2. **Deprecated access levels**: If you are still using the old Twitter access levels (Standard (v1.1), Essential (v2), Elevated (v2), etc...), you must migrate to the new access levels (Free, Basic, Pro, etc.). Please make sure to migrate to the new access levels to ensure uninterrupted functionality. Here's how you can do it: +1. **Incorrect X/Twitter API credentials**: Please ensure that you have entered the correct X/Twitter API credentials. +2. **Deprecated access levels**: If you are still using the old X/Twitter access levels (Standard (v1.1), Essential (v2), Elevated (v2), etc...), you must migrate to the new access levels (Free, Basic, Pro, etc.). Please make sure to migrate to the new access levels to ensure uninterrupted functionality. Here's how you can do it: 1. Go to the following URL: https://developer.twitter.com/en/portal/products 2. Look for the "Downgrade" button. @@ -100,14 +100,14 @@ There are a few potential reasons for this error: If you're seeing the error message "429: Too Many Requests" it indicates that you have exceeded the usage limits of Twitter's Free API access. With the Free API, you are allowed **1,500 Tweets per month** and **50 requests within a 24-hour period**. Since you have surpassed the daily limit, we kindly advise waiting for 24 hours before attempting to tweet again. -To avoid encountering this error in the future and to have higher usage limits, we recommend considering a subscription to either the Basic or Pro access level. These access levels provide increased quotas and additional benefits to accommodate your needs. For more information on Twitter API access levels, you can visit this link: https://developer.twitter.com/en/products/twitter-api. +To avoid encountering this error in the future and to have higher usage limits, we recommend considering a subscription to either the Basic or Pro access level. These access levels provide increased quotas and additional benefits to accommodate your needs. For more information on X/Twitter API access levels, you can visit this link: https://developer.twitter.com/en/products/twitter-api. == Screenshots == -1. Create post screen with Autoshare for Twitter options. -2. Published post screen with Autoshare for Twitter options. -3. Autoshare For Twitter sidebar panel. -4. Autoshare for Twitter Settings, found under `Settings` > `Autoshare for Twitter`. +1. Create post screen with Autopost for X options. +2. Published post screen with Autopost for X options. +3. Autopost for X sidebar panel. +4. Autopost for X Settings, found under `Settings` > `Autopost for X`. == Changelog == = 2.1.1 - 2023-08-22 = @@ -261,6 +261,9 @@ To avoid encountering this error in the future and to have higher usage limits, * Initial private release (props [@scottlee](https://profiles.wordpress.org/scottlee/)) == Upgrade Notice == += 2.2.0 = +Autoshare for Twitter rebranded / renamed to Autopost for X. + = 2.0.0 = Autoshare for Twitter 2.0.0 utilizes [Twitter's v2 API](https://developer.twitter.com/en/products/twitter-api). If you have not already done so, please [migrate your app](https://developer.twitter.com/en/portal/projects-and-apps) to Twitter's v2 API to continue using Autoshare for Twitter. [Learn more about migrating here](https://developer.twitter.com/en/docs/twitter-api/migrate/ready-to-migrate). From bf35aad0bc71c47b4a18ffe3911a2c7d751ed5bf Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Wed, 29 Nov 2023 13:15:16 +0530 Subject: [PATCH 02/17] Updated "Twitter" to "X" in codebase. --- autoshare-for-twitter.php | 6 +-- includes/admin/post-meta.php | 16 ++++---- includes/admin/settings.php | 40 +++++++++---------- includes/class-ast-staging.php | 4 +- .../class-twitter-accounts-list-table.php | 8 ++-- includes/class-twitter-accounts.php | 6 +-- includes/class-twitter-api.php | 2 +- includes/core.php | 2 +- includes/utils.php | 2 +- tests/cypress/e2e/admin.test.js | 2 +- tests/cypress/e2e/block-editor.test.js | 2 +- tests/cypress/e2e/classic-editor.test.js | 2 +- tests/cypress/e2e/disconnect.test.js | 4 +- tests/cypress/e2e/mutli-accounts.test.js | 4 +- tests/test-plugin/e2e-test-plugin.php | 2 +- 15 files changed, 51 insertions(+), 51 deletions(-) diff --git a/autoshare-for-twitter.php b/autoshare-for-twitter.php index eced8fa8..d894db5f 100644 --- a/autoshare-for-twitter.php +++ b/autoshare-for-twitter.php @@ -1,7 +1,7 @@
-

+

-

+

  • -
  • Describe all of your use cases of Twitter's data and API field. You can find an example response below.", 'autoshare-for-twitter' ) ); ?> +
  • Describe all of your use cases of X's data and API field. You can find an example response below.", 'autoshare-for-twitter' ) ); ?>
  • - +

-

+

  • link tag, closing HTML link tag */ - wp_kses_data( __( 'Go to the %1$sTwitter developer portal%2$s', 'autoshare-for-twitter' ) ), + wp_kses_data( __( 'Go to the %1$sX developer portal%2$s', 'autoshare-for-twitter' ) ), '', '' ); @@ -376,7 +376,7 @@ function cred_section_cb() {
  • Callback URLs fields to %s and click Save.', 'autoshare-for-twitter' ), esc_url( admin_url( 'admin-post.php?action=authoshare_authorize_callback' ) ) ) ); ?>
  • @@ -390,10 +390,10 @@ function cred_section_cb() {
  • Save Changes button below to save settings.', 'autoshare-for-twitter' ) ); ?>
-

+

    -
  • -
  • Connect Twitter account button and follow the instructions provided there to connect your Twitter account with this site.', 'autoshare-for-twitter' ) ); ?>
  • +
  • +
  • Connect X account button and follow the instructions provided there to connect your X account with this site.', 'autoshare-for-twitter' ) ); ?>
@@ -409,7 +409,7 @@ function options_page() { ?>
-

+

@@ -427,7 +427,7 @@ function options_page() {

- +


sprintf( __( 'Tweeted on %s', 'autoshare-for-twitter' ), $date ), + 'message' => sprintf( __( 'Posted to X/Twitter on %s', 'autoshare-for-twitter' ), $date ), 'url' => $twitter_url, 'status' => $status, 'handle' => $twitter_handle, @@ -384,7 +384,7 @@ function get_tweet_status_message( $post ) { case 'error': $response_array[] = [ - 'message' => __( 'Failed to tweet; ', 'autoshare-for-twitter' ) . $tweet_meta['message'], + 'message' => __( 'Failed to post to X/Twitter; ', 'autoshare-for-twitter' ) . $tweet_meta['message'], 'status' => $status, 'handle' => $twitter_handle, ]; @@ -402,7 +402,7 @@ function get_tweet_status_message( $post ) { default: $response_array[] = [ - 'message' => __( 'This post was not tweeted.', 'autoshare-for-twitter' ), + 'message' => __( 'This post was not posted to X/Twitter.', 'autoshare-for-twitter' ), 'status' => $status, ]; } @@ -489,7 +489,7 @@ function markup_published( $status_meta ) { return sprintf( '
', - esc_html__( 'Tweeted on', 'autoshare-for-twitter' ), + esc_html__( 'Posted to X/Twitter on', 'autoshare-for-twitter' ), esc_html( $date ), esc_url( $twitter_url ), esc_html__( 'View', 'autoshare-for-twitter' ), @@ -518,7 +518,7 @@ function markup_error( $status_meta ) { return sprintf( '
%s
%s
%s
', - esc_html__( 'Failed to tweet', 'autoshare-for-twitter' ), + esc_html__( 'Failed to post to X/Twitter', 'autoshare-for-twitter' ), esc_html( $status_meta['message'] ) . wp_kses_post( $learn_more ), wp_kses_post( $handle ) ); @@ -561,8 +561,7 @@ function _safe_markup_default() { > - - + @@ -578,7 +577,7 @@ function _safe_markup_default() { value="1" > - +

diff --git a/includes/core.php b/includes/core.php index 28f9d971..b52277d5 100644 --- a/includes/core.php +++ b/includes/core.php @@ -153,7 +153,7 @@ function modify_post_type_add_tweet_status( $column_name, $post_id ) { $twitter_url = Utils\link_from_twitter( $tweet_status ); $tweet_title = sprintf( '%s %s', - __( 'Tweeted on', 'autoshare-for-twitter' ), + __( 'Posted to X/Twitter on', 'autoshare-for-twitter' ), $date ); From 49d54c81cf7ed1d17b81cefcb267333591c8a8b6 Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Wed, 13 Dec 2023 18:20:29 +0530 Subject: [PATCH 06/17] Block editor wordings and Icon updates. --- src/js/AutoshareForTwitterPostStatusInfo.js | 14 +++-- src/js/AutoshareForTwitterPrePublishPanel.js | 12 +++- src/js/components/PluginIcon.js | 60 ++++++++++++++++---- src/js/index.js | 19 +++++-- 4 files changed, 82 insertions(+), 23 deletions(-) diff --git a/src/js/AutoshareForTwitterPostStatusInfo.js b/src/js/AutoshareForTwitterPostStatusInfo.js index d6cd19bf..3882c6e6 100644 --- a/src/js/AutoshareForTwitterPostStatusInfo.js +++ b/src/js/AutoshareForTwitterPostStatusInfo.js @@ -100,7 +100,7 @@ export function AutoshareForTwitterPostStatusInfo() {