-
Notifications
You must be signed in to change notification settings - Fork 195
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
feat: refactor legacy assessment actions and add assessment mfe bff handler #2074
Conversation
44ba76a
to
07652e5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feat/2023-dual-ui #2074 +/- ##
====================================================
Coverage ? 94.26%
====================================================
Files ? 192
Lines ? 20426
Branches ? 1854
====================================================
Hits ? 19255
Misses ? 916
Partials ? 255
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
4db0c30
to
dccdf74
Compare
8542bdd
to
025558e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good, with the following caveats:
- I initial page context load should also fetch a submission to assess. Proposing refactor to
get_peer_submission
to check if you have an active one and return that, else get a new one. - Trying to understand why refactors include moving files around.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…andler (#2074) * refactor: legacy peer assessment handler and api action * refactor: legacy self assessment api handler * refactor: legacy staff assessment handler and api action * refactor: legacy student training handler and api action * refactor: legacy ui mixins folder structure * refactor: peer review uuid matching * feat: mfe handler to submit assessment * test: add tests and style cleanup for mfe assessment handler * feat: get_active_assessment peer api function * feat: auto-pull peer unless jumping
…andler (#2074) * refactor: legacy peer assessment handler and api action * refactor: legacy self assessment api handler * refactor: legacy staff assessment handler and api action * refactor: legacy student training handler and api action * refactor: legacy ui mixins folder structure * refactor: peer review uuid matching * feat: mfe handler to submit assessment * test: add tests and style cleanup for mfe assessment handler * feat: get_active_assessment peer api function * feat: auto-pull peer unless jumping
…andler (#2074) * refactor: legacy peer assessment handler and api action * refactor: legacy self assessment api handler * refactor: legacy staff assessment handler and api action * refactor: legacy student training handler and api action * refactor: legacy ui mixins folder structure * refactor: peer review uuid matching * feat: mfe handler to submit assessment * test: add tests and style cleanup for mfe assessment handler * feat: get_active_assessment peer api function * feat: auto-pull peer unless jumping
Add support for multiple UIs, currently legacy and a new MFE view. Includes: * make: legacy template (#2046) * chore: add lms+cms restart script to install-local-ora * refactor: move data gathering pieces of mixins into xblock/apis * feat: new xblock/ui_mixins/legacy to replace existing view/handler behaviors from mixins, leveraging our new APIs. * refactor: remaining non-core-xblock functionality from xblock to xblock/utils. Updated references to changed file locations. * feat: add page context MFE endpoint * refactor: allow peeking a peer assessment * chore: update translations * feat: Add logic to display the new ORA UI templates (#2054) * feat: xblock iframe * feat: conditional render of new views based on mobile or waffle * feat: BFF Assessments Data (#2063) * feat: add url generation to file parsing * refactor: legacy upload files * refactor: legacy delete file * refactor: legacy file upload url generation * refactor: has any files in upload space * chore: fix studio base view (#2078) * docs: update some comments / docstrings * fix: add missing teams step * feat: xblock view (#2080) * feat: disable MFE views for unsupported use-cases (#2090) * feat: refactor legacy assessment actions and add assessment mfe bff handler (#2074) * refactor: legacy peer assessment handler and api action * refactor: legacy self assessment api handler * refactor: legacy staff assessment handler and api action * refactor: legacy student training handler and api action * refactor: legacy ui mixins folder structure * refactor: peer review uuid matching * feat: get_active_assessment peer api function --------- Co-authored-by: Nathan Sprenkle <[email protected]> Co-authored-by: Jenkins <[email protected]> Co-authored-by: Ben Warzeski <[email protected]> Co-authored-by: Leangseu Kim <[email protected]>
…andler (openedx#2074) * refactor: legacy peer assessment handler and api action * refactor: legacy self assessment api handler * refactor: legacy staff assessment handler and api action * refactor: legacy student training handler and api action * refactor: legacy ui mixins folder structure * refactor: peer review uuid matching * feat: mfe handler to submit assessment * test: add tests and style cleanup for mfe assessment handler * feat: get_active_assessment peer api function * feat: auto-pull peer unless jumping
TL;DR - - Add mfe BFF handler for submitting assessments
JIRA: AU-1302
What changed?
FYI: @openedx/content-aurora