learn-ocaml
learn-ocaml copied to clipboard
Customizing the "nickname" field
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.
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.
I have patches for this but didn't have time to file a PR yet :)
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.
We need to make the configuration file persist through learn-ocaml build.
Indeed!