Uh oh!
There was an error while loading. Please reload this page.
Completion duration updates - #3777
Conversation
…oes not include practice quiz fixes
radinamatic
left a comment
There was a problem hiding this comment.
Approving so we can continue with testing.
rtibbles
left a comment
There was a problem hiding this comment.
Some questions - not clear if they're about your implementation or the spec itself!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| threshold: null, | ||
| }; | ||
| } else if (value === CompletionDropdownMap.completeDuration) { | ||
| // set to '1' as the minimum here, due to validation rules requiring > 0 |
There was a problem hiding this comment.
Not sure I understand why we're setting a default here - feels like if there is no value, we need to let the user set it.
Uh oh!
There was an error while loading. Please reload this page.
rtibbles
commented
Oct 28, 2022
Merging this for now for further QA testing. There is still an extant issue with duration setting for exact duration, but we can fix that in follow up. |
pcenov
commented
Oct 28, 2022
@marcellamaki Here are the issues that I was able to identify:
|
marcellamaki
commented
Oct 28, 2022
Thank you @pcenov! I will look into all of these |

Summary
Description of the change(s) you made
These changes are to ensure that data is persisted correctly in the front and back end, and there are no "invisible" validations that cause data to not be saved as expected.
edited: This has been implemented and checked for: video, audio, document, html5, and practice quizzes
Manual verification steps performed
For each file type listed above
Does this introduce any tech-debt items?
Tests still need to be finalized for this PR. It has been opened just for the sake of timely manual QA.
Reviewer guidance
How can a reviewer test these changes?
See manual verification steps above.
Are there any risky areas that deserve extra testing?
Any notable problem areas from open issues, especially:
across all relevant content types.
Comments
When testing on the dev server, the audio and video default files that are generated for engineers (
yarn run devsetup) are both 00:00 long. This does cause an error, as for audio and video files, there is a required minimum in the validation to be > 0. I am not sure if these files are in the usual manual QA workflow, but please do note that mp3 or mp4 files that are 0 seconds long will fail to save. I will check in with @rtibbles to see if we should handle this in a different way, or if it too small of an edge case to consider.Contributor's Checklist
PR process:
CHANGELOGlabel been added to this PR. Note: items with this label will be added to the CHANGELOG at a later timedocslabel has been added if this introduces a change that needs to be updated in the user docs?requirements.txtfiles also included in this PRStudio-specifc:
notranslateclass been added to elements that shouldn't be translated by Google Chrome's automatic translation feature (e.g. icons, user-generated text)pages,components, andlayoutsdirectories as described in the docsTesting:
Reviewer's Checklist
This section is for reviewers to fill out.
yarnandpip)