-
Notifications
You must be signed in to change notification settings - Fork 137
feat: tutorial self enrolment task feature #306
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
base: 8.0.x
Are you sure you want to change the base?
Conversation
|
Hi @b0ink, Good work! Checklist
ScreenshotsSuggested Changes
Summary
|
|
Hey @b0ink, I have reviewed the PR, and the UI and functionality is working as expected. I have tested in following web browsers
Screenshot
|
de37b87 to
15ba574
Compare
|
Hi @b0ink, I've been assigned to re-review your PR as a 'senior reviewer'. I've completed the following steps: Checklist
FindingsI've come across some potential issues. The main thing here is to determine whether the issue is in my development environment, or there's actually bugs in the code.
Can you please see if you are able to reproduce the above errors on your end and get back to me, then we can go from there. Cheers. |
| public onSelectStream(): void { | ||
| const selectedStream = this.tutoralStreamControl.value; | ||
| if (selectedStream) { | ||
| console.log(selectedStream); |
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.
This log should probably be removed
| this._tutorialStreams.push(stream); | ||
| } | ||
|
|
||
| console.log(this.taskDefinition.tutorialSelfEnrolmentStream); |
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.
This log should probably be removed.
| const tutorialStreams = this.taskDefinition.unit.tutorialStreamsCache.currentValues; | ||
| console.log(tutorialStreams); | ||
| for (const stream of tutorialStreams) { | ||
| console.log(stream); |
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.
This log should probably be removed.
|
|
||
| public ngOnInit(): void { | ||
| const tutorialStreams = this.taskDefinition.unit.tutorialStreamsCache.currentValues; | ||
| console.log(tutorialStreams); |
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.
This log should probably be removed.
|
I've accidentally approved these changes and cannot revert this due to not having write access. I'll reach out to Nebula to revert this. |






Description
This feature will allow staff to enable the "Tutorial self enrolment" feature for a designated task. Staff will select which tutorial stream(s) to fetch the tutorials from, and students will be prompted with the list of tutorials they must choose from to complete the task.
Type of change
How Has This Been Tested?
Ensure you are also using the API branch:
thoth-tech/doubtfire-api#64
Testing Checklist:
Checklist: