feat: add certificate management v2 API endpoints#181
Conversation
|
Thanks for the pull request, @wgu-jesse-stewart! 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. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #181 +/- ##
==========================================
+ Coverage 88.78% 89.84% +1.05%
==========================================
Files 133 138 +5
Lines 2006 2264 +258
Branches 411 480 +69
==========================================
+ Hits 1781 2034 +253
- Misses 219 222 +3
- Partials 6 8 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
This PR migrates the Certificates page from using dummy data to consuming real backend APIs, making certificate management fully functional. The changes enable Course Authors and Operators to manage learner certificates through the instructor dashboard.
Key changes:
RemoveExceptionModalcomponent for confirming exception removalsUser roles impacted:
Supporting information
This work connects the frontend to the backend certificate management APIs as part of the broader instructor dashboard modernization effort.
Testing instructions
View issued certificates:
Grant exceptions:
Invalidate certificates:
Remove exceptions:
Remove invalidations:
Regenerate certificates:
Disable certificates:
View generation history:
Other information
API changes:
/api/instructor/v2/courses/{course_id}/certificates/*formatKnown limitations:
Best Practices Checklist
.ts,.tsx).propTypes,defaultProps, andinjectIntlpatterns are not used in any new or modified code.src/testUtils.tsx(specificallyinitializeMocks)apiHooks.tsin this repo for examples.messages.tsfiles have adescriptionfor translators to use.../. To import from parent folders, use@src, e.g.import { initializeMocks } from '@src/testUtils';instead offrom '../../../../testUtils'