Skip to content

fix: course progress url based on whether the user has learning MFE enabled (for master) #34344

Merged
feanil merged 1 commit intoopenedx:masterfrom
FatemeKhodayari:fix/course-progress-page-url-for-master
Jul 16, 2024
Merged

fix: course progress url based on whether the user has learning MFE enabled (for master) #34344
feanil merged 1 commit intoopenedx:masterfrom
FatemeKhodayari:fix/course-progress-page-url-for-master

Conversation

@FatemeKhodayari
Copy link
Contributor

Currently, as we have in Quince, when a user hasn't passed the course, the "View Grades" link / button is displayed to him on the dashboard. Clicking on this link / button, takes the user to the old progress page. The URL of the old progress page is returned in the /api/learner_home/init response. In this change, course progress URL is returned based on whether the user has learning MFE enabled or not.

This issue was originally created in this forum topic and later discussed a little bit in the Maintenance WG meeting.

Closes #34323

@FatemeKhodayari FatemeKhodayari requested a review from a team as a code owner March 9, 2024 09:26
@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Mar 9, 2024
@openedx-webhooks
Copy link

Thanks for the pull request, @FatemeKhodayari! 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.

@mphilbrick211 mphilbrick211 added the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Mar 11, 2024
@FatemeKhodayari FatemeKhodayari force-pushed the fix/course-progress-page-url-for-master branch from d564408 to 64653f3 Compare March 12, 2024 05:41
@FatemeKhodayari FatemeKhodayari requested a review from feanil March 13, 2024 13:37
@mphilbrick211 mphilbrick211 removed the needs test run Author's first PR to this repository, awaiting test authorization from Axim label Mar 13, 2024
@jsnwesson jsnwesson added the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Mar 18, 2024
@FatemeKhodayari FatemeKhodayari force-pushed the fix/course-progress-page-url-for-master branch 2 times, most recently from 7caba09 to 395085e Compare March 21, 2024 11:31
Copy link
Contributor

@feanil feanil left a comment

Choose a reason for hiding this comment

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

@FatemeKhodayari changes look good to me, can you add a test case to validate the change also, then I think this looks good to merge.

@justinhynes
Copy link
Contributor

Hi there -- just mentioning that this is on our radar too for review. I should be able to take a look shortly.

@FatemeKhodayari
Copy link
Contributor Author

@FatemeKhodayari changes look good to me, can you add a test case to validate the change also, then I think this looks good to merge.

Sure! I'll try to add the test by Saturday.

@FatemeKhodayari FatemeKhodayari force-pushed the fix/course-progress-page-url-for-master branch from 395085e to 8a1deb1 Compare March 30, 2024 13:46
@FatemeKhodayari FatemeKhodayari requested a review from feanil March 30, 2024 13:51
@FatemeKhodayari
Copy link
Contributor Author

Hi @feanil! Just added the test. Please let me know if anything needs changing.

@FatemeKhodayari FatemeKhodayari force-pushed the fix/course-progress-page-url-for-master branch from 8a1deb1 to fad574f Compare March 31, 2024 02:01
@deborahgu deborahgu added the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Apr 10, 2024
@FatemeKhodayari FatemeKhodayari force-pushed the fix/course-progress-page-url-for-master branch from fad574f to 5ceb5f1 Compare April 15, 2024 16:46
@FatemeKhodayari FatemeKhodayari requested a review from feanil April 15, 2024 16:47
@FatemeKhodayari
Copy link
Contributor Author

Hi @feanil. Could you please have a look at this when possible? I last updated this repo about 3 week ago. Thanks in advance :)

Copy link
Contributor

@feanil feanil left a comment

Choose a reason for hiding this comment

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

A couple of final comments then this is good to merge. Soooo sorry for the slow review, the Python 3.11 upgrade ate up all my time.

@FatemeKhodayari FatemeKhodayari force-pushed the fix/course-progress-page-url-for-master branch from 5ceb5f1 to a5359d2 Compare June 28, 2024 12:33
@FatemeKhodayari FatemeKhodayari requested a review from feanil July 3, 2024 09:19
@deborahgu deborahgu removed the waiting on author PR author needs to resolve review requests, answer questions, fix tests, etc. label Jul 9, 2024
@feanil
Copy link
Contributor

feanil commented Jul 15, 2024

Looks great, I'll coordinate merging this tomorrow.

@feanil feanil merged commit 8b1e647 into openedx:master Jul 16, 2024
@openedx-webhooks
Copy link

@FatemeKhodayari 🎉 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.

@itsjeyd itsjeyd removed the needs maintainer attention Issue or PR specifically needs the attention of the maintainer. label Sep 7, 2024
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

Status: Done
Archived in project

Development

Successfully merging this pull request may close these issues.

Course Progress URL points to the old progress page

9 participants