fix: unhide discussion tab when enabling it (#677) - #35431
Conversation
|
Thanks for the pull request, @viadanna! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are 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. DetailsWhere 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. |
8c4abae to
9ea51d7
Compare
4dee709 to
ec86ca9
Compare
|
@viadanna I have seen a similar problem with the |
xitij2000
left a comment
There was a problem hiding this comment.
👍 Working well!
- I tested this: tested on tutor nightly devstack
- I read through the code
|
@arslanashraf7 I haven't seen this issue with the progress page yet. I'd look into the endpoint handler view to check if the problem has the same cause as this one. |
|
Thanks @xitij2000 |
@viadanna Thanks. For me, the steps were almost identical to yours and they are as follows:
|
|
Hi @viadanna! Apologies for the delay in getting reviews. I've put this out to the community to help get it looked at. In the meantime, would you be able to run the new tests that have popped up? |
|
Sure thing, done @mphilbrick211 |
Hi @viadanna - apologies, but another test has popped up. Would you mind running it when you get a moment? Thanks! |
|
@viadanna I don't think I fully understand the problem here based on your description. What was the previous behavior this is trying to fix? |
|
@sarina Redwood changed how discussions are hidden or disabled, which didn't unhide courses previously hidden on Palm. |
|
I still don't think I understand, I'm sorry. Could you describe:
I am not really familiar with discussions, this problem, and the code comments don't help me. aton. |
|
Sorry for not being clear, Sarina. There are currently two mechanisms for hiding the discussions tab in Open edX:
The problem is that these properties aren't kept in sync when disabling discussions in master. So a course that had its discussions hidden pre-Palm would feature the With this PR, whenever the discussions configuration is updated, the |
|
Thanks for the recommendations @sarina |
|
@viadanna apologies but could you kindly address the failing test? |
d28ecaf to
4155613
Compare
|
Sure, done @sarina |
|
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. |
|
Thank you, Sarina! |
Description
Update the
is_hiddenproperty in the modulestore to store the visibility of the discussions tab properly.Supporting information
Testing instructions
Deadline
None