Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Social platform URL update #33500

Closed

Conversation

Inferato
Copy link
Contributor

@Inferato Inferato commented Oct 16, 2023

Description

Twitter url changed to 'x.com'

Related: open-release/quince.master

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Oct 16, 2023
@openedx-webhooks
Copy link

openedx-webhooks commented Oct 16, 2023

Thanks for the pull request, @Inferato! Please note that it may take us up to several weeks or months to complete a review and merge your PR.

Feel free to add as much of the following information to the ticket as you can:

  • supporting documentation
  • Open edX discussion forum threads
  • timeline information ("this must be merged by XX date", and why that is)
  • partner information ("this is a course on edx.org")
  • any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.

Please let us know once your PR is ready for our review and all tests are green.

@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 16, 2023
@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 17, 2023
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 25, 2023
@mphilbrick211
Copy link

Hi @Inferato! It looks like there's a failing check - would you mind taking a look?

@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 27, 2023
@@ -4190,8 +4190,8 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring
},
'twitter': {
'display_name': 'Twitter',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like this value should also be renamed to "X", doesn't it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dyudyunov @Inferato I think so, yep.. and there's a couple more references that could be fixed here too:

And maybe more? Mentions made in js/fixtures or js/spec can be ignored I think (e.g. 1, 2), since they're only used in testing.

Copy link
Contributor

@pomegranited pomegranited left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mphilbrick211 may I review this as CC?

@@ -4190,8 +4190,8 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring
},
'twitter': {
'display_name': 'Twitter',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dyudyunov @Inferato I think so, yep.. and there's a couple more references that could be fixed here too:

And maybe more? Mentions made in js/fixtures or js/spec can be ignored I think (e.g. 1, 2), since they're only used in testing.

@mphilbrick211
Copy link

mphilbrick211 commented Jan 31, 2024

@pomegranited

Sorry for the delay. Yes, please and thank you :)

@dyudyunov
Copy link
Contributor

Hi @pomegranited

I checked this PR again and found that:

  • Twitter (X) uses both Twitter and X domains.
  • X.com will redirect a user to twitter.com if to use APIs (e.g. twitter.com/intent/tweet/...)
  • I was quite sure that twitter.com is redirecting now to x.com when navigating to its web pages, but I can't reproduce it 🤔 Moreover, I found some content loading issues using the x.com URL
  • Before the fix:
    • It was possible to use twitter.com URLs to add your social links through the openedx's Profile/Account MFEs
    • But you could not use x.com URLs there
  • After the fix:
    • Quite the opposite - you can use x.com, but not the twitter.com URLs

My first thought was that we could go with current changes and ignore the rest of Twitter mentions in the platform for now because we're updating only the Profile/Account social links validation.

But maybe we should allow using both x.com and twitter.com URLs here. Or even decline this PR at all.

Please share your thoughts!

@pomegranited
Copy link
Contributor

@Inferato Ugh.. this is a tricky call.

I was quite sure that twitter.com is redirecting now to x.com when navigating to its web pages, but I can't reproduce it 🤔

Ya, I can't reproduce that anymore either.. And so I expect most people will be trying to use twitter.com links as social links, at least for now.

So I think we should close this issue, and re-open it if Twitter ever gets its act together :) Ok with you?

@dyudyunov
Copy link
Contributor

@Inferato Ugh.. this is a tricky call.

I was quite sure that twitter.com is redirecting now to x.com when navigating to its web pages, but I can't reproduce it 🤔

Ya, I can't reproduce that anymore either.. And so I expect most people will be trying to use twitter.com links as social links, at least for now.

So I think we should close this issue, and re-open it if Twitter ever gets its act together :) Ok with you?

I agree ☝️

@dyudyunov
Copy link
Contributor

@mphilbrick211 @pomegranited Could you close the PR (considering previous comments)? The author is not available anymore

@openedx-webhooks
Copy link

@Inferato Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-contribution PR author is not from Axim or 2U
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants