-
Notifications
You must be signed in to change notification settings - Fork 106
refactor: remove references of ENABLE_HOME_PAGE_COURSE_API_V2 #1611
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
base: master
Are you sure you want to change the base?
Conversation
Thanks for the pull request, @bra-i-am! 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. 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. |
994e1b6
to
eb6203a
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1611 +/- ##
==========================================
+ Coverage 93.30% 93.40% +0.09%
==========================================
Files 1101 1109 +8
Lines 21856 22293 +437
Branches 4741 4714 -27
==========================================
+ Hits 20393 20822 +429
- Misses 1392 1406 +14
+ Partials 71 65 -6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
95ebf9d
to
dfabaab
Compare
* fix: infinite requests when clearing filters * fix: some requests were being duplicated when changing filters
82b976e
to
c6b6c64
Compare
@bradenmacdonald: Can you help us review this PR which is part of the openedx/public-engineering#287 deprecation effort? Thank you! |
Hmm, I don't think I'll be able to answer these questions. Maybe @jristau1984 or @KristinAoki can answer? |
I think the ProcessingCourses component work should be moved to another PR. I have only seen it one time when a course creation job was hung. I am unable to say if it should be skipped or not. If you want to see the feature, you can manually force a course be in-progress by hard-coding the status. |
6456ccc
to
65b4d0f
Compare
@KristinAoki, taking this into account, I removed the ProcessingCourses related changes from this merge request and left only the related with dropping ENABLE_HOME_PAGE_COURSE_API_V2 |
@bra-i-am checking in on this PR. What is the current status of this PR? I am working on removing the v1 API from edx-platform in this PR, and was wondering when we would be able to merge that PR! cc: @mariajgrimaldi |
Description
This PR primarily aims to eliminate references to ENABLE_HOME_PAGE_COURSE_API_V2: it intends to use that API, enabling the pagination and the course filters by default without needing the flag. Moreover, it also solves some issues related to the requests to the API that make the UI blink or request more times than required.
Supporting information
https://github.com/eduNEXT/consulting-issues-mapping/issues/118
Side effects
Archived Courses Tab
has been removed as it is no longer necessary because it relied on the previously used attributearchived_courses
, which is no longer in use. With the implementation of the courses API v2, courses are marked as archived when theisActive
attribute of the retrieved courses istrue
, as reviewed through the new filters.Testing instructions
Mount this MFE on this specific branch in a Sumac/Nightly environment
Be sure you count with many courses (11 makes to appear the pagination component)
You should watch by default the search bar and filters without adding any env variable
Open the inspect and go to the Network tab, every time you change the search bar input or change any filter, you should see only one endpoint call is made