The Shared Draft
A stale editor tab can silently overwrite a teammate's newer announcement draft.
The bug report
You get the whole project — a React front end, an Express API, and Mongoose models — opened in a browser editor. Reproduce the symptom by reading the code, change what’s wrong, and run the hidden tests to prove it.
What the fix must prove
- creates a team draft and reads back its first saved revision
- lets a teammate save a revision based on the latest version
- rejects an older editor view without overwriting the newer saved text
- keeps a readable revision sequence after two current-version saves
- rejects blank content and missing version without adding a revision
- keeps a guest team from reading or editing the editorial draft
- requires a signed demo session to read or save a draft
Related challenges
- The Missing Name — api contract bug, beginner
- The Ghost Update — async / race condition, intermediate
- The Silent Field — database / schema bug, beginner