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

Lytvynenko/changed link parsing #33565

Merged
merged 7 commits into from
Apr 10, 2024

Conversation

Inferato
Copy link
Contributor

@Inferato Inferato commented Oct 23, 2023

Since social URLs can be not only as a {social_media}/{username} we need to allow the use of any profile links

Closed:#33499
Related: open-release/quince.master

@openedx-webhooks
Copy link

openedx-webhooks commented Oct 23, 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.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Oct 23, 2023
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 23, 2023
@mphilbrick211
Copy link

Hi @Inferato! Just flagging that there are some failing checks.

@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Oct 24, 2023
@hurtstotouchfire hurtstotouchfire added the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Jan 30, 2024
@mariajgrimaldi
Copy link
Member

mariajgrimaldi commented Feb 2, 2024

Hi there @Inferato: could you add testing instructions to the cover letter? Thanks!

@dyudyunov
Copy link
Contributor

dyudyunov commented Feb 2, 2024

Hi there @Inferato: could you add testing instructions to the cover letter? Thanks!

Hi @mariajgrimaldi

Taras can't longer lead this PR (and the rest, if any)

I will take it under my care ASAP (or try to find someone to do so).

Sorry for inconveniences

@mariajgrimaldi
Copy link
Member

@dyudyunov: thank you for the heads up!

@dyudyunov
Copy link
Contributor

Hello @mariajgrimaldi

I can't edit the PR description, so I will leave testing instructions as a comment.

Steps to reproduce:

  1. Open the Profile page for the user (age should be set to more than 13)
  2. In Social links click on Edit
  3. In the Facebook field fill in a standard link to your Facebook profile - containing the "?" sign (e.g https://www.facebook.com/profile.php?id=100003058112229) - it could be taken from the Facebook "Copy link to profile" setting, or by copying the URL from your browser manually. To get to your FB profile - click on your avatar and select the account name.
  4. Save the FB profile link in the Profile MFE

ACTUAL RESULT:

in the link everything after the "?" sign was cut so the saved profile URL is incorrect and leads to the FB profile of the person who clicked the link instead of the person whose openedx profile it belongs to

EXPECTED RESULT:

The original link is saved, and the correct FB profile is opened

NOTES:

  • it is also relevant for Twitter but for Twitter, it is possible to remove text after the "?" sign in the URL - it doesn't break anything and leads to the corresponding profile (e.g https://twitter.com/NASA?s=20)*
  • reproduces on the Account page
  • we've discovered and fixed these issues on the Palm release (our fork)
  • I can't longer reproduce the issue and provide screenshots (without manipulations with our instance) because it is fixed on our instances

@MaxFrank13
Copy link
Member

Hello all! Aperture has created a ticket to review this PR and will prioritize in the next ticket refinement session

@cmltaWt0 cmltaWt0 added the product review PR requires product review before merging label Feb 8, 2024
@jsnwesson
Copy link
Contributor

Hey all! I am on on-call this week for the Aperture team (@MaxFrank13 was on-call last week, hence his comment here).

I know there's a needs maintainer attention label that was attached to this two weeks ago, but I wanted to confirm with @mphilbrick211 if this is indeed ready for our review or if there's any remaining processes on your end.

@mphilbrick211
Copy link

Hey all! I am on on-call this week for the Aperture team (@MaxFrank13 was on-call last week, hence his comment here).

I know there's a needs maintainer attention label that was attached to this two weeks ago, but I wanted to confirm with @mphilbrick211 if this is indeed ready for our review or if there's any remaining processes on your end.

Hi @jsnwesson - We (the OSPR triage team), haven't used the "needs maintainer attention" - I think that was designated for internal 2U use. We have been using "needs engineering review" but I'm not sure how much it was helping. We can continue to use the "needs engineering review" as discussed in Slack.

In this situation however, it looks like @cmltaWt0 recently added a "product review label", so we need to get that sorted first. @cmltaWt0 - can you please clarify if this is something that has been added to the product roadmap board for review? Product needs to be alerted if this needs product review. It previously didn't need it so it was with Engineering for review. If that has changed, please let us know. Thanks!

@mphilbrick211 mphilbrick211 removed the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Feb 15, 2024
@jsnwesson
Copy link
Contributor

The needs eng review label should work fine, thanks for clarifying and looking into this!

@jmakowski1123
Copy link

jmakowski1123 commented Mar 25, 2024

I don't think this needs product review. I removed the label.

@jmakowski1123 jmakowski1123 removed the product review PR requires product review before merging label Mar 25, 2024
@jsnwesson jsnwesson added the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Mar 27, 2024
@mphilbrick211
Copy link

@jsnwesson this is now ready (along with its backport) for review. Product review is not needed. Thanks!

@mphilbrick211 mphilbrick211 added the waiting for eng review PR is ready for review. Review and merge it, or suggest changes. label Mar 29, 2024
Copy link
Member

@MaxFrank13 MaxFrank13 left a comment

Choose a reason for hiding this comment

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

Thanks for doing this work. I tested locally and everything worked for me. I was able to successfully link an actual FB profile, rather than getting routed to my own.

@deborahgu deborahgu added ready to merge and removed waiting for eng review PR is ready for review. Review and merge it, or suggest changes. needs maintainer attention Issue or PR specifically needs the attention of the maintainer. labels Apr 10, 2024
@deborahgu
Copy link
Member

deborahgu commented Apr 10, 2024

Do you want @openedx/2u-aperture to merge this and the backport for you, or are you good now?

Edit: my understanding is that I should be doing this merge now, so I will go ahead and do that.

@deborahgu deborahgu merged commit 14777af into openedx:master Apr 10, 2024
64 checks passed
@openedx-webhooks
Copy link

@Inferato 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

KyryloKireiev pushed a commit to raccoongang/edx-platform that referenced this pull request Apr 24, 2024
* fix:  Social link parsing approach changed

* feat: fix tests

* fix: tests

---------

Co-authored-by: Edward Zarecor <[email protected]>
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 ready to merge
Projects
Status: Done
Archived in project
Development

Successfully merging this pull request may close these issues.