Closed chrononyan closed 3 years ago
Allows config.js to optionally override the displayed name or score of an assignment, or add some description text. Feels a bit hacky, suggestions welcome.
config.js
Sample:
Topic("Homework", [ Assignment(`Homework 1`, 2, (props) => ({ name: `${props.name} (dropped)` })), ...range(2, 11).map((i) => Assignment(`Homework ${i}`, 2)), ], Infinity, null, () => ({ description: `Remaining slip days: 1` }))
All PR builds shut down.
Allows
config.js
to optionally override the displayed name or score of an assignment, or add some description text. Feels a bit hacky, suggestions welcome.Sample: