learn-ocaml icon indicating copy to clipboard operation
learn-ocaml copied to clipboard

Customizing the "nickname" field

Open adhameer opened this issue 7 years ago • 5 comments
trafficstars

We are using the Learn OCaml platform in a course where we need students to use their student ID number as their nickname so that we can associate their grades to them. Since there is no explanation of the nickname field on the welcome page, several have written something else in the nickname field instead. I imagine this would be a problem in any course where Learn OCaml is used.

It would be nice to have some customization of the welcome screen - at least being able to add a message at the top, or ideally to change the nickname field to say "student ID" or something similar.

adhameer avatar Sep 06 '18 17:09 adhameer

We could implement that kind of customization by using as label the content of a file named "welcome-nickname-label.txt" at the root of the folder. If it is not present, the default label would appear.

yurug avatar Sep 07 '18 13:09 yurug

I have patches for this but didn't have time to file a PR yet :)

AltGr avatar Sep 07 '18 16:09 AltGr

Also note that, if a student got it wrong, they can edit their nickname at any time on the left panel of the main screen.

AltGr avatar Sep 12 '18 08:09 AltGr

We need to make the configuration file persist through learn-ocaml build.

yurug avatar Sep 13 '18 15:09 yurug

Indeed!

AltGr avatar Sep 17 '18 15:09 AltGr