buggyrace / buggy-race-server

Race server and supporting material for running a "Buggy Racing" Python programming project
https://www.buggyrace.net
Other
1 stars 0 forks source link

add prerequisite section to every task #205

Open davewhiteland opened 6 months ago

davewhiteland commented 6 months ago

Presumably some of these would be empty, in which case no section would be displayed.

Are prerequisites displayed before or after hints?

Example mock-up: (this happens to use a list item, but that's just because it's what's in the markdown, same as the other sections).

Screenshot 2024-03-26 at 14 38 25

Would require database migration to add prereqs column to Tasks table as well as new CSS class for that task list page.

Anything else, as well as prerequisites?

davewhiteland commented 6 months ago

Maybe this could be for general section, so the title (in this example"Prerequisites") could also be stored? This makes tasks somewhat more complex but maybe the generality would be useful (unless YAGNI).

An example we haven't used but might be useful in another environment could be "Marks available" for example.