Problem/Motivation

Twitter branding has changed to the new X brand. The module still has Twitter everywhere. We should change the module to use the new brand and icons.

Steps to reproduce

Create social media links to point to Twitter. The links and icons are still using the old brand.

Proposed resolution

1. Replace the Twitter name with X and I think we should include some text to people understand that the service is formerly known as Twitter.
2. Replace Twitter icons with the new X icon.

Remaining tasks

TBD.

User interface changes

TBD.

API changes

TBD.

Data model changes

TBD.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

HeikkiY created an issue. See original summary.

judapriest’s picture

Font awesome has also incorporated the X logo : https://fontawesome.com/search?q=twitter&o=r

Lus’s picture

I've replaced the name of the Platform plugin to X, added a description, icon name (used to add a class that is then used by fontawesome).
I've updated the version of the external fontawesome library.

So I didn't change the class name nor the url as they are still using the twitter.com url.

djsagar’s picture

Status: Active » Needs review

Hi all,

Patch #3 working as expected, verified changes and shared attachment for reference.

RTBC +1.

Regards!

djsagar’s picture

MichaelLHenson made their first commit to this issue’s fork.

chishiki’s picture

any objection to changing the urlPrefix to x.com?

fengtan’s picture

#3 works fine -- thanks!

With regards to setting the urlPrefix to https://x.com instead of https://www.twitter.com/ -- I believe this would prevent users from re-saving existing URLs (they would have to update the links from x.com to twitter.com upon saving the form), which may be annoying.

Also x.com currently redirects to twitter.com so people may have a hard time generating URLs with x.com.

An alternative is to create a new, distinct social network X on top of Twitter so end users would be able to choose whether they want their link to be rendered with the bird icon or with an X. The domain constraint would match the network they pick.

perrypierre’s picture

#3 working as expected.

carolpettirossi’s picture

I applied patch #7 and it works as expected.

Test evidence shwoing X logo

carolpettirossi’s picture

Status: Needs review » Reviewed & tested by the community
tawiiams’s picture

Any idea when this will be added to a stable release?

Neslee Canil Pinto’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.