DEV Community

Cover image for draft_v1, draft_v2, and soon you can't tell which file was that version
Masaya Kumagai
Masaya Kumagai

Posted on

draft_v1, draft_v2, and soon you can't tell which file was that version

When you are writing a manuscript, you want to keep the current state before a big revision. If you make copies with v1, v2 at the end of the file name, the files pile up, and finding that one version means opening them one by one.

I made it so that pressing a button in the history panel keeps the note as it is at that moment, numbered like "v1" and "v2", in the same note's history. You can give a saved version a name, and open it read-only beside the current text. I thought it was better to keep one manuscript and save only its milestones than to keep adding files.

The history panel open to the right of a note, with a "Save version" button at the top, and below it v1 "First 75% attempt" with its date and buttons to open, fork, rename and more. Sample data.

There is no view yet that compares two saved versions and marks what was changed.

The manual's "Notes & editor" page covers how to save a version and what you can do with it, under "History and versions". Saving a version has been possible since v0.18.0 (2026-07-15).

https://kumagallium.github.io/Graphium/manual/notes-and-editor#history-and-versions

Graphium is on GitHub.

https://github.com/kumagallium/Graphium

Top comments (0)