| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Thanks for the pull request, @brianjbuck-wgu! This repository is currently maintained by @openedx/wg-maintenance-openedx-platform-oncall. 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.
To 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:
If 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:
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. |
Sorry, something went wrong.
There was a problem hiding this comment.
Code looks good, just added some nit comments. Thanks!
Sorry, something went wrong.
| Return CCX Coach metadata for a master course or CCX course. | ||
|
|
||
| **Example Request** | ||
| *Example Request* |
There was a problem hiding this comment.
Nit: do we need these changes? this would make these italic instead of bold (if this works like markdown...)
Sorry, something went wrong.
| """ | ||
| def visit(node, depth=1): | ||
| """ | ||
| Recursive generator function which yields CCX schedule nodes. |
There was a problem hiding this comment.
I see that the original get_ccx_schedule had a more detailed docstring, should we bring that back for completness and documentation?
Sorry, something went wrong.
There was a problem hiding this comment.
Tested in my local and works as expected, thanks!
Sorry, something went wrong.
|
instead of post for save schedule can it be a PUT instead? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Adds the CCX Coach schedule endpoints to the v2 API consumed by the CCX Coach. This builds on the CCX Coach v2 API added in #39031 and continues migrating CCX Coach off the legacy Django templates, following the Instructor Dashboard v2 conventions.
Issue: #38987
Endpoints
Refactor
The schedule read/save logic was extracted from lms/djangoapps/ccx/views.py into reusable services in lms/djangoapps/ccx/utils.py get_ccx_schedule(), save_ccx_schedule(), and the new remove_block_from_ccx_schedule(). The legacy ccx_schedule and save_ccx views now delegate to these services, so the legacy coach dashboard is unaffected (the existing legacy tests still pass). This mirrors the create_ccx_course() extraction from #39031.
Impacted roles: CCX Coach, Course Staff/Instructor (Learner-facing behavior unchanged)
Supporting information
Deadline
None
Other information