Completion duration updates#3777
Merged
rtibbles merged 6 commits intolearningequality:hotfixesfrom Oct 28, 2022
Merged
Conversation
…oes not include practice quiz fixes
radinamatic
approved these changes
Oct 27, 2022
Member
radinamatic
left a comment
There was a problem hiding this comment.
Approving so we can continue with testing.
rtibbles
reviewed
Oct 27, 2022
Member
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!
contentcuration/contentcuration/frontend/channelEdit/components/edit/ActivityDuration.vue
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/frontend/channelEdit/components/edit/CompletionOptions.vue
Outdated
Show resolved
Hide resolved
| threshold: null, | ||
| }; | ||
| } else if (value === CompletionDropdownMap.completeDuration) { | ||
| // set to '1' as the minimum here, due to validation rules requiring > 0 |
Member
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.
contentcuration/contentcuration/frontend/channelEdit/components/edit/CompletionOptions.vue
Outdated
Show resolved
Hide resolved
Member
|
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. |
Member
|
@marcellamaki Here are the issues that I was able to identify:
|
Member
Author
|
Thank you @pcenov! I will look into all of these |
24 tasks
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

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)