planet
planet copied to clipboard
Ratings: Encouraging more course ratings (fixes #6640)
In the process of working on implementing a snack bar pop-up that appears if a learner has completed a course but not yet rated it. The snack bar pop-up will have an action button that will open a popup rating window that will let the learner rate the course. After learner has rated the course, the rating box will update. Below is a checklist of what has been done and what still needs to be done. fixes #6640
- [x] trigger snack bar if course is completed
- [x] Trigger snack bar if course is not rated yet
- [x] Open Pop up on action click
- [x] add working popup functionality with comments and ratings.
- [x] Refactor code
@RheuX could you send a video of what is happening on your end?
https://www.loom.com/share/c5ba17b15a274468b405a8fbe3ec25f8?sid=8f0a9bf1-adf9-4e14-82f1-75404055047d
@Gavinp14 I think it's more of an edge case, i think i found it by accident also then
i think it only happens for courses you join in the past, but not for courses you havent joined yet.
The snack bar for taking the course still appears even if I never joined the course (if you just click on a course then leave, it will still prompt the snack bar
So to clarify, this will only happen if you joined a course in the past but now not enrolled - not sure if this is supposed to be fixed or not, since technically they even if you leave the course, it still saves your progress. I might say could you only prompt the snack bar if they finished with the course(?). If not then thats fine.
For now ill just approve it since technically its not a bug, but it may be confusing if they haven't touch the course at all, but they just joined