-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: set links for CourseAuthoring discussion alert #35406
feat: set links for CourseAuthoring discussion alert #35406
Conversation
Thanks for the pull request, @CefBoud! What's next?Please work through the following steps to get your changes ready for engineering review: 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. 🔘 Let us know that your PR is ready for review:Who will review my changes?This repository is currently maintained by Where can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:
When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
"discussions_incontext_feedback_url": "", | ||
"discussions_incontext_learnmore_url": "", | ||
"discussions_incontext_feedback_url": "https://discuss.openedx.org/t/new-and-improved-discussions-forum/9183", # lint-amnesty, pylint: disable=line-too-long | ||
"discussions_incontext_learnmore_url": "https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/manage_discussions/discussions.html", # lint-amnesty, pylint: disable=line-too-long |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you intend to use the settings you defined in common.py here, instead of hard-coding these URLs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely!
DISCUSSIONS_INCONTEXT_LEARNMORE_URL = '' | ||
# pylint: disable=line-too-long | ||
DISCUSSIONS_INCONTEXT_FEEDBACK_URL = "https://discuss.openedx.org/t/new-and-improved-discussions-forum/9183" | ||
DISCUSSIONS_INCONTEXT_LEARNMORE_URL = "https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/manage_discussions/discussions.html" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this default to an openedx.readthedocs url instead of an edx.readthedocs URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openedx.readthedocs
shows a 404. I found this doc withopenedx
instead of edx
but the migration_wip in the link indicates it is still a work in progress.
If you have a link with openedx
, please share.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see what you're saying. I guess the openedx docs aren't ready for this yet.
cms/envs/common.py
Outdated
DISCUSSIONS_INCONTEXT_FEEDBACK_URL = '' | ||
DISCUSSIONS_INCONTEXT_LEARNMORE_URL = '' | ||
# pylint: disable=line-too-long | ||
DISCUSSIONS_INCONTEXT_FEEDBACK_URL = "https://discuss.openedx.org/t/new-and-improved-discussions-forum/9183" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These feedback URLs often lead to disappointing experiences for our users. It would be better to have them default to empty and then operators who are investing in a feedback loop can override as they like.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review @pdpinch.
I made them default to empty, as per your suggestion.
ffd54de
to
52c0f59
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one more request
@@ -2814,8 +2814,9 @@ | |||
|
|||
BRAZE_COURSE_ENROLLMENT_CANVAS_ID = '' | |||
|
|||
# pylint: disable=line-too-long | |||
DISCUSSIONS_INCONTEXT_FEEDBACK_URL = '' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm disappointed that these settings aren't annotated as required by OEP-17.
I know this predates this PR, but can you add some appropriate annotations?
52c0f59
to
fcd774a
Compare
nitpick: you have a typo in the commit message. It should be:
|
fcd774a
to
7336471
Compare
Good catch! Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you need me to merge this for you?
@pdpinch Yes. Please take care of the merge. |
Thank you for your contribution @CefBoud. My apologies for the delay in merging. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
There is an alert in CourseAuthoring MFE to inform about the usage of an upgraded version of discussion. This PR sets the links used in that alert instead of defaulting to the having clickable empty links.
Testing instructions
Please refer to the related MFE PR openedx/frontend-app-authoring#1245
ref
BB-9079