Type in a short note and press Save.
About this project
Extra editions
Feed evidence
- github-trending: fetched (14 items)
- Used feed inspiration: zed-industries/zed — https://github.com/zed-industries/zed
The session
Pitch
Clash
- 2Escape room designerPencil and chisel is still a metaphor. What if the button were a lock with tumblers, one for each edit?
- 3Captioning editorTumblers move the answer off the text. The underline sits on the words themselves. Keep it there.
- 1Letter cutterA stranger expects the button to change. They don't expect the words to change. That surprise is the whole point, so the button has to stay plain.
- 4IcarusI typed during Saving. My new word stayed pencil and the older words were cut. That's correct, and the status line has to say so.
- 2Escape room designerThen the button reads "Save 1 edit" again straight after success. The tester follows that route without being told.
- 3Captioning editorAgreed. Status gets four words at most. "Not saved · edit kept." Then Retry.
- 1Letter cutterFailure has to feel calm. The pencil stays exactly as it was, and nothing gets struck through.
- 4IcarusThe toggle reads "Fail next save" and resets itself after one failure. The limit stays in plain view.
Decision
Type in a short note and press Save. Unsaved words change from pencil to carved once they are stored.
Concept: Cut on Save
- Letter cutter: the pencil-to-carved visual rule, and calm failure copy that keeps the pencil intact.
- Escape room designer: snapshot-scoped saves. Edits typed during Saving stay pencil, and the count updates afterward.
- Captioning editor: the visible pending-range calculation, the edit count on the button, and a 40-word ceiling.
- Icarus: a single labelled "Fail next save" toggle that resets after use, and a guarded Retry.
Build notes
- Use one
contenteditable file pane for release-notes.md with three sample lines: "Fix crash on paste.", "Add dark theme." and "Bump to 2.4.1.". The last line starts as a pending range. - Track pending ranges as
{id, start, end, version}. - Draw pencil as a 1px dashed grey underline at 0.7 opacity.
- Draw carved as solid ink with a 1px inset shadow.
- Use a 0.25 s ink transition, skipped under
prefers-reduced-motion. - Save is a native button, also triggered by Ctrl+S or Cmd+S. Reserve its width from the longest label, "Saving 2 edits".
- On press, record a snapshot version and start a 900 ms fake write with a request id.
- On acknowledgement, carve only the ranges at or below the snapshot version.
- Drop replies with a stale request id.
- Ignore presses while a save is pending.
- Use a polite live region for the status line, at most 4 words: "Saved 14:52" or "Not saved · edit kept". Retry appears in a reserved slot, takes focus on failure, and disables while pending.
- The "Fail next save" checkbox fails one attempt, then unchecks itself.
- Reset restores the sample.
- Visible word count is 17 at load and stays under 40 including dynamic text.
- Layout fits a 320 px width.
```json
{"schemaVersion":1,"name":"Cut on Save","audience":"Writers and developers saving files in an editor","problem":"A Saved tick never shows which edits are still at risk","interaction":"Type, press Save or Ctrl+S, toggle a failure, Retry","outcome":"Stored words turn from pencil to carved; newer edits stay pencil","recovery":"Failure keeps edits in pencil with guarded Retry; Reset sample","mechanism":"Snapshot-scoped save carves only ranges sent; later typing stays pending","difference":"Editors show a file-level dot; this marks unsaved words in place","whyNow":"Zed trending observed, summary names a multiplayer editor. Title and summary only, no demand data","sourceIds":["b6bd2783a916c52eefcb6ee6"],"evidenceStatus":"sourced","alternatives":[{"name":"Cut on Save","need":"See which words a save stored","mechanism":"Pencil-to-carved ranges scoped to save snapshot","rejection":"Selected: cross-domain, offline, new to recent dates"},{"name":"Tumbler Lock Save","need":"Count edits a save covers","mechanism":"Button lock with one tumbler per edit","rejection":"Moves the answer off the text"},{"name":"Save Limit Gauge","need":"Know time since last stored version","mechanism":"Arc fills toward an autosave limit","rejection":"Timer nags and hides which edits are at risk"}]}
```
Source