How version history works
Each time a snippet is saved, SprintBrain creates a revision and appends it to the snippet’s history. A revision records:- The full snippet body at the time of the save
- The author — the team member who made the change, stamped by the server
- The version number — an incrementing integer starting from v1
- A timestamp showing how long ago the change was made
- An optional edit note if the author added one
Viewing version history
1
Open the snippet
Find the snippet in your dashboard and open it. You can open version history from any snippet you have at least View access to.
2
Open the Version History panel
Click the History icon (clock) in the snippet toolbar, or open the row action menu and choose Version History. The Version History panel slides in from the right.
3
Browse the revision list
The panel shows all revisions in reverse-chronological order — newest first. The current version is labeled Current and highlighted. Each row shows the version number, the author’s name, any edit note, and a relative timestamp.
4
Expand a revision
Click any revision row to expand it and see the diff for that version.
Side-by-side diff
When you expand a revision, SprintBrain shows a word-level diff comparing that revision to the one before it:- Additions are highlighted in green with a
+prefix - Removals are shown in red with strikethrough and a
−prefix - Unchanged lines appear in the context color so you can read the full snippet
Version history tracks changes to the snippet body and language variants. Trigger changes and folder assignment changes are not captured in the diff view. If you need to audit those, check the authorship record on the snippet itself.
Restoring a previous version
1
Find the version you want
Expand the revision you want to go back to in the Version History panel and confirm it contains the wording you need.
2
Click Restore
Click the Restore v[n] button at the bottom of the expanded revision. SprintBrain asks you to confirm before making any changes.
3
Confirm the restore
Click Confirm restore. The snippet body is immediately replaced with the selected version’s content.
4
A new revision is created
The restored state is saved as a brand-new revision at the top of the history. This means you can undo the restore itself — just expand the new revision, find the version you had before the restore, and restore that one.
