Open hoffm386 opened 3 years ago
I think this is a great suggestion - I'm not sure whether there was a formal decision when we moved off of Learn to not include the a link to the solution code in the Canvas UI, or if it just didn't happen, but I like the idea of building this option into the CLI.
For the SE side we are going to take some time to decide whether or not to include a solution link on assignments as a general practice, so I agree that the default behavior of the CLI should be to not generate the solution link. But if a flag is passed in like this, it would include the solution link in the HTML output (similar to the --forkable
flag):
$ github-to-canvas -a -lr --forkable --solution
This change will also require updates to the CSS/JS running on each page in Canvas to style the link. @hoffm386 do you have any thoughts on what the solution link element should look like?
The Problem
This is the current solution code guidance provided to DS students:
Students often do not remember or internalize this information about how to find the lab solutions, and this is not caught until a 1:1 with a teacher significantly later in the program.
Proposed Solution
Instead we ideally would have a link that would go straight to the solution branch, next to the GitHub link and Issue link
This should be an option (defaulting to being turned off) in the CLI so that Curriculum can decide for each lesson whether the solution should be easy to access