tl-its-umich-edu / my-learning-analytics

My Learning Analytics (MyLA)
Apache License 2.0
36 stars 39 forks source link

Students receive the wrong error message if MyLA isn't connected to data in Canvas #1540

Closed jennlove-um closed 7 months ago

jennlove-um commented 1 year ago

Expected behavior (A description of what you expected to happen) :

When a Teacher has added MyLA to a course but has not clicked on the link to enable the course in MyLA, it is not completely set up for students to use. When a student clicks on the link before the teacher has clicked on LTI to enable the course in MyLA, they see the following message: This course has not been set up in MyLA. Contact your instructor, who can enable the visualizations by clicking on MyLA in the course navigation.

Describe the bug (Tell us what happens instead of the expected behavior) :

Instead, the error that displays in production and test environments is "Something went wrong; please try again later."

Steps to Reproduce :

  1. Add MyLA in the course navigation (do not click on the link once it is added)
  2. As a student, click on the MyLA link in the navigation
  3. The wrong error message displays
jennlove-um commented 1 year ago

The correct error message DOES display if the student tries to go to MyLA in a course where MyLA has not been added at all by changing the course ID in the URL.

jennlove-um commented 11 months ago

Add details about what message should display and evaluate priority.

jennlove-um commented 10 months ago

The error message should be "This course has not been set up in MyLA. Contact your instructor, who can enable the visualizations by clicking on MyLA in the course navigation."

jennlove-um commented 8 months ago

Testing passes in beta