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

enable and disable SUPPORT_URL with environment variable #276

Closed
wants to merge 6 commits into from

Conversation

isankadn
Copy link

@isankadn isankadn commented Nov 5, 2022

Description:

On the MFE learning top menu, the "Help" link is currently displayed by default.

With this change, the "Help" menu will only be visible if the "SUPPORT URL" variable is not empty.

@openedx-webhooks
Copy link

openedx-webhooks commented Nov 5, 2022

Thanks for the pull request, @isankadn! 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 Nov 5, 2022
Copy link
Contributor

@arbrandes arbrandes left a comment

Choose a reason for hiding this comment

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

Thanks @isankadn! I haven't actually tested this yet, but in the meantime, can you please:

@isankadn
Copy link
Author

isankadn commented Nov 9, 2022

@arbrandes Thank you very much!
Both items are now completed!

Here is the pull request to frontend-template-application openedx/frontend-template-application#499

@DeanJayMathew
Copy link

Thanks for helping @arbrandes !

@arbrandes
Copy link
Contributor

@isankadn, thanks!

However, it looks like we're failing some tests. Can you look into it?

Also, please refer to the automated message above: we need you to sign the CLA before accepting your code. Mind doing that? Thanks!

@isankadn
Copy link
Author

isankadn commented Dec 1, 2022

@arbrandes Thank you for your comment, sure I can sign. and the same time, I'm representing ABC for this, I think @DeanJayMathew has already taken care of that.

and I will look into this error as well. thx.

Also, please refer to the automated message above: we need you to sign the CLA before accepting your code. Mind doing that? Thanks!

@isankadn
Copy link
Author

isankadn commented Dec 1, 2022

@arbrandes fixed the linting issue. and pushed.

@codecov
Copy link

codecov bot commented Dec 1, 2022

Codecov Report

Base: 61.87% // Head: 62.12% // Increases project coverage by +0.25% 🎉

Coverage data is based on head (7e759b7) compared to base (536d674).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #276      +/-   ##
==========================================
+ Coverage   61.87%   62.12%   +0.25%     
==========================================
  Files          15       15              
  Lines         299      301       +2     
  Branches       70       71       +1     
==========================================
+ Hits          185      187       +2     
  Misses        112      112              
  Partials        2        2              
Impacted Files Coverage Δ
src/learning-header/AuthenticatedUserDropdown.jsx 87.50% <100.00%> (+4.16%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mphilbrick211
Copy link

Hi @isankadn! Just following up on this PR. In order to push it through, you'll need to complete a CLA form. Please let me know if you have any questions.

@mphilbrick211
Copy link

Hi @isankadn! Tests have been enabled for this pull request, though you'll still need to fill out a CLA form. Please let us know if you plan to pursue this pull request. Thanks!

@DeanJayMathew
Copy link

DeanJayMathew commented Jan 11, 2023 via email

@mphilbrick211
Copy link

Thanks @DeanJayMathew! I'm not seeing @isankadn listed on our end. Let me follow-up internally to make sure I'm not missing anything.

@e0d
Copy link

e0d commented Jan 20, 2023

@mphilbrick211 I see him in the CLA file now.

@isankadn I also notice there are some commit lint issues, we use conventional commits as defined here: https://open-edx-proposals.readthedocs.io/en/latest/best-practices/oep-0051-bp-conventional-commits.html#type

@e0d e0d added the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Jan 20, 2023
@mphilbrick211
Copy link

Hi @isankadn! Just flagging Ed's comment and Adolfo's requested changes. Also, your CLA should be all set now, so once tests are re-run the check should turn green.

Comment on lines +19 to +21
const SupportUrl = (
<a className="text-gray-700 mr-3" href={`${getConfig().SUPPORT_URL}`}>{intl.formatMessage(messages.help)}</a>
);
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need to specify a separate variable for this. It's fine if we just do it below, via:

{getConfig().SUPPORT_URL && (
  <a>...</a>
)}

@arbrandes
Copy link
Contributor

@isankadn after you address my request, can you please squash your commits into a single one with a conventional commit title? In this case it would be a feat:.

@mphilbrick211
Copy link

Hi @isankadn! Just checking in on this to see if you've been able to address Adolfo's feedback. Please let us know when this is ready to review. Thank you!

@mphilbrick211
Copy link

Hi @isankadn! Just checking in on this to see if you've been able to address Adolfo's feedback. Please let us know when this is ready to review. Thank you!

Hi @isankadn! Just checking in to see if you are able to re-run the failing tests and confirm if the requested changes have been made. Thanks!

@mphilbrick211
Copy link

Hi @isankadn! Just checking in on this to see if you've been able to address Adolfo's feedback. Please let us know when this is ready to review. Thank you!

Hi @isankadn! Just checking in to see if you are able to re-run the failing tests and confirm if the requested changes have been made. Thanks!

Hi @isankadn friendly ping on this. Are you planning to pursue this PR?

@mphilbrick211
Copy link

Hi @isankadn - just checking in to see if you plan to pursue this pull request - please let us know. Thanks!

@mphilbrick211 mphilbrick211 added the inactive PR author has been unresponsive for several months label Apr 4, 2023
@mphilbrick211 mphilbrick211 added closed inactivity PR was closed because the author abandoned it and removed waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. inactive PR author has been unresponsive for several months labels Apr 25, 2023
@mphilbrick211
Copy link

Hi @isankadn - I'm going to close this pull request for now. We can reopen if you'd like to pursue in the future. Thanks!

@openedx-webhooks
Copy link

@isankadn 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
closed inactivity PR was closed because the author abandoned it 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