cjlee112 / socraticqs2

courselets.org web service implementation
Apache License 2.0
6 stars 10 forks source link

Immediately show new chat session if student hasn't done courselet before #778

Closed cjlee112 closed 4 years ago

cjlee112 commented 5 years ago

Currently, launching a courselet (e.g. via enrollcode) always presents the student with this "welcome page": annoying-delay Note that the "New Chat Session" button is not even visible, unless the student knows to scroll all the way to the bottom of the web page. This is likely to be confusing to new users. Moreover, the point of this screen was mainly to handle the (rare) case where the student actually wants to view an old chat, not start a new chat. So forcing this page on a student who hasn't even done this courselet yet is not a good default behavior.

As a simple fix, I suggest that if the student has no previous chat for this courselet, we should just redirect them immediately to a new chat session for this courselet (i.e. skipping this "welcome page"). Later we could give the instructor an option to always show the "welcome page" (e.g. give them a checkbox for this option on the form where they publish the courselet).