Ninoo

Ninoo Builder

History and undo

Every change to your project is saved as a version, whoever made it and however it was made. Versions are never deleted, so it's safe to try things.

Undo the latest change

Press Undo under the message box to step back the most recent change, by anyone on the project. The undone change stays in History, so you can bring it back. Undo is greyed out until there's something to undo.

The History tab

Open History above the preview to see every version, newest first, with who made it and when. Click one to see exactly which files changed and how.

The History tab: a list of versions, each with its type, who made it, when, and the lines added and removed
History lists every version. Click one to see what changed.
AI changeA prompt you or a collaborator sent.
Hand editSomeone saved a file in the Code tab.
Merged branchA prompt that ran alongside others, or a git push, joined in. See parallel prompts.
RestoreSomeone brought back an older version.
Undo / Undid a changeSomeone used Undo, or undid a single older change.
ImportThe project was imported from GitHub or a ZIP.
StartWhere the history begins.

Versions that went live show a “Published v2”-style badge.

One version opened: its message, who made it and when, the buttons Preview this version, Restore this version and Undo just this change, and the changed lines of each file
A version opened: what it changed, file by file.
To see what a version changed, the workspace needs to be awake. If it's paused, editors can wake it from there.

From the chat

You don't have to open History to find a change. Under each reply that changed your app, a button such as 3 files changed opens History on that version, showing exactly what it did.

Under each of your earlier prompts, Restore to here puts the app back to how it was right after that prompt. It works like Restore this version: Ninoo asks you to confirm, and the current version stays in History. It isn't shown on the prompt that made the current version, or to viewers.

The chat: Restore to here under an earlier prompt, and buttons reading 5 files changed and 1 file changed under Ninoo's replies
Restore to here under a prompt; the files a reply changed under it.

Look at an old version

Pick a version and press Preview this version. It opens on a preview of its own, with a banner saying so. Your app, the live preview and History are untouched. From the banner you can restore it or go back to the live app. The preview closes by itself after 30 minutes.

A banner above the preview saying you're looking at an older version, with Restore this version and Back to the live app
Previewing an older version. Nothing changes until you restore it.

Restore a version

Restore this version puts every file back the way it was at that point. It's saved as a new version, so the one you replaced stays in History and you can undo the restore. Ninoo asks you to confirm first.

What History doesn't keep

.env files (your secrets) and files over 10 MB aren't saved in versions, so Restore and Undo leave them as they are now. Keep your own copy of anything like that you can't lose.

Undo just one old change

Undo just this change removes what one older version did and keeps everything made after it. It's handy when a change from a while ago turned out to be a mistake.

If later changes touched the same lines, it can't be undone on its own and you'll be told which files clash. Restore an earlier version instead, or ask Ninoo in the chat to take that change out.

Who can do what

Everyone on the project can read History and see what each version changed. Only the owner and editors can preview, restore (including Restore to here) or undo. See roles.