google / google/codeworld

Requirements: Sticky mode

Aperta
#779 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
discussion
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, the requirements checker operates on comments embedded in the source code. This is fine for now, but students sometimes accidentally (or "accidentally") delete the comments and stop getting requirement checks.

Instead, we could allow the requirements to be added to the CodeWorld URL, where they are part of the link and will stick around as long as the window does. We could also save them alongside a project, so that the project still has its requirements when reopened. When the user clicks "New", we'd ask them if they want the new project to check the same requirements. Requirements would be embedded in any generated Share URLs. Probably, there should be an explicit button (with confirmation) to remove the requirements from the current document.

If this is done, I would suggest we leave the current system in place, but just also add a notion of "pinning" the requirements that enables this mode where they survive deleting the source code.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.