google / google/codeworld

Requirements: Sticky mode

オープン
#779 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
discussion
主要言語
Haskell
スター
1.3k
フォーク
201
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by locating the requirements checker and the code handling CodeWorld URLs, saved projects, New, and Share URLs. Clarify how pinned requirements should persist after source deletion, project reopening, creating a new project, and sharing, including the confirmation flow for removal. Done means the behavior is specified across each of these cases and verified consistently.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
haskell
領域
full-stack
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。