> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trilo.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Page History

> Track changes to pages and restore previous versions when needed

Every change to a page is tracked. You can see who edited what, when they did it, and roll back to any previous version if something goes wrong.

## Viewing page history

1. Open any page in the editor
2. Click the **clock icon** in the toolbar (or use the **...** menu)
3. A sidebar opens showing the page's history

The timeline shows changes in reverse chronological order—newest at the top.

## What's in the timeline

Each entry in the history shows:

* **Who made the change**: Profile picture and name (human or AI coworker)
* **When**: Relative time (e.g., "2 hours ago") or exact timestamp
* **What changed**: Brief summary of modifications
* **Snapshot type**: Manual save, automatic save, or AI edit

### Automatic vs. manual saves

**Automatic saves** happen as you edit—Trilo captures snapshots periodically so you never lose work.

**Manual saves** happen when you explicitly save a version (like "Save this before I make big changes").

### AI edits

When an AI coworker edits a page, the history clearly shows:

* Which AI made the change
* What tool or action triggered it
* The scope of changes

You'll never wonder "did I write this or did the AI?"

## Previewing old versions

Before rolling back, you probably want to see what an old version looked like:

1. Click any entry in the timeline
2. The page shows that version's content
3. A banner appears at the top: "Viewing snapshot from \[date]"
4. The editor becomes read-only while previewing

To exit preview mode, click **Cancel** in the banner or select "Current" in the timeline.

## Rolling back

If you need to restore an old version:

<Steps>
  <Step title="Find the version you want">
    Scroll through the timeline and click to preview different versions.
  </Step>

  <Step title="Click Rollback">
    When previewing, click the **Rollback** button in the banner.
  </Step>

  <Step title="Confirm">
    A dialog asks you to confirm. Optionally add a note about why you're rolling back.
  </Step>

  <Step title="Done">
    The page is restored to that version. A new entry appears in history showing the rollback.
  </Step>
</Steps>

<Info>
  Rolling back doesn't delete any history. You can always see what the page looked like before and after the rollback.
</Info>

## What rollback affects

When you roll back a page:

* **Content** is restored to the selected version
* **Formatting** returns to how it was
* **History** stays intact—nothing is deleted
* **Collaboration** syncs the restored version to everyone

### Tabs and rollback

If your page has multiple tabs, rolling back restores all tabs to their state at that snapshot. You can't roll back individual tabs separately.

## Who can roll back?

Anyone who can edit a page can roll back to previous versions. There's no special permission required—but rollbacks are logged, so there's always a record of who did it.

## Collaboration and history

When multiple people edit a page:

* Each person's changes create separate history entries
* You can see who made which changes
* Rollback affects everyone's view—the page returns to the old version for all collaborators

### Conflict-free editing

Trilo uses real-time sync that handles concurrent edits smoothly. If two people edit different parts of a page simultaneously, both changes are preserved. History captures the merged result.

## Finding specific changes

For pages with lots of history:

* **Scroll** through the timeline to browse
* **Look at timestamps** to find changes from a specific time
* **Check author avatars** to find edits by a specific person
* **Read summaries** to identify particular types of changes

## History retention

Trilo keeps page history indefinitely. Older snapshots are automatically cleaned up when they're very old and redundant, but you'll always have access to meaningful change points.

## Tips

<AccordionGroup>
  <Accordion title="Save before major changes">
    About to restructure a document? Save manually first so you have a clean restore point.
  </Accordion>

  <Accordion title="Use preview before rollback">
    Always preview an old version before rolling back. Make sure it's actually the version you want.
  </Accordion>

  <Accordion title="Add rollback notes">
    When rolling back, use the optional note field to explain why. Future you will appreciate the context.
  </Accordion>

  <Accordion title="Don't panic">
    Accidentally deleted a bunch of content? Don't worry. Just find the last good version in history and roll back. Nothing is ever truly lost.
  </Accordion>
</AccordionGroup>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Can't find a specific version">
    History captures changes periodically, not every keystroke. Very recent changes might be in the current version even if they don't show as a separate snapshot yet.
  </Accordion>

  <Accordion title="Rollback button is disabled">
    You might be viewing the current version (nothing to roll back to) or you might not have edit permissions on the page.
  </Accordion>

  <Accordion title="Collaborator's changes disappeared after my rollback">
    Rollback replaces the entire page content. If someone was editing at the same time, their changes since the rolled-back version would be overwritten. They can roll back again if needed.
  </Accordion>
</AccordionGroup>

## Next steps

<CardGroup cols={2}>
  <Card title="Page tabs" icon="table-columns" href="/knowledge-base/page-tabs">
    Organize content in multiple tabs.
  </Card>

  <Card title="Real-time collaboration" icon="users" href="/collaboration/real-time-collaboration">
    Learn about editing together.
  </Card>
</CardGroup>
