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

feat: add toggling for the hardcode support link (for master) #864

Merged

Conversation

DmytroAlipov
Copy link
Contributor

Description:

Add a toggling mechanism for the unlink all social media accounts text to display it as a link or text depending on the MFE env setting.
Currently, the link leads to the page https://support.edx.org/hc/en-us/articles/207206067 which is hardcoded. I suggest adding the DISABLE_UNLINK_SOCIAL_MEDIA_ACCOUNT_SUPPORT_URL variable to control whether this text is displayed as a link or as plain text.

Before:
screen_75

After:
screen_76

@openedx-webhooks
Copy link

Thanks for the pull request, @DmytroAlipov! 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 Aug 31, 2023
@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Aug 31, 2023
Add a toggling mechanism for the "unlink all social media
accounts" text to show it as a link or text depending on
the MFE env setting.
@DmytroAlipov DmytroAlipov force-pushed the feat-unlink-social-media-account branch from 09b1967 to 979c13c Compare September 1, 2023 11:08
@e0d
Copy link

e0d commented Sep 5, 2023

@DmytroAlipov Looks like there are some linting failures, https://github.com/openedx/frontend-app-account/actions/runs/6048702918/job/16519629022?pr=864#step:7:20, Can you have a look?

@e0d e0d added waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. and removed needs test run Author's first PR to this repository, awaiting test authorization from Axim labels Sep 5, 2023
Add a toggling mechanism for the "unlink all social media
accounts" text to show it as a link or text depending on
the MFE env setting.
…account' into feat-unlink-social-media-account
@DmytroAlipov
Copy link
Contributor Author

@e0d done

@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.08% 🎉

Comparison is base (db0f8f8) 46.54% compared to head (38e3e96) 46.63%.
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #864      +/-   ##
==========================================
+ Coverage   46.54%   46.63%   +0.08%     
==========================================
  Files         122      122              
  Lines        2548     2552       +4     
  Branches      669      672       +3     
==========================================
+ Hits         1186     1190       +4     
  Misses       1286     1286              
  Partials       76       76              
Files Changed Coverage Δ
...settings/delete-account/BeforeProceedingBanner.jsx 100.00% <100.00%> (ø)
.../account-settings/delete-account/DeleteAccount.jsx 69.44% <100.00%> (+0.87%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mphilbrick211 mphilbrick211 removed the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Sep 12, 2023
@mphilbrick211
Copy link

Hi @openedx/fed-bom! Would someone be able to please review/merge this for us? Thanks!

@abdullahwaheed abdullahwaheed requested review from abdullahwaheed and removed request for abdullahwaheed September 12, 2023 14:07
@abdullahwaheed abdullahwaheed merged commit 85c5902 into openedx:master Sep 21, 2023
8 checks passed
@openedx-webhooks
Copy link

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

@DmytroAlipov DmytroAlipov deleted the feat-unlink-social-media-account branch September 21, 2023 08:32
snglth pushed a commit to Abstract-Tech/community-theme-account that referenced this pull request Jan 9, 2024
…x#864)

* feat: add toggling for the hardcode support link (master)

Add a toggling mechanism for the "unlink all social media
accounts" text to show it as a link or text depending on
the MFE env setting.

* fix(deps): update dependency @edx/frontend-platform to v5.3.0

* Revert "fix(deps): update dependency @edx/frontend-platform to v5.3.0" (openedx#870)

This reverts commit 757e446.

* feat: add toggling for the hardcode support link (master)

Add a toggling mechanism for the "unlink all social media
accounts" text to show it as a link or text depending on
the MFE env setting.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Muhammad Abdullah Waheed <[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
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants