Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
docs: add diff screenshot and inline UI icons to timeline page (#1856)
miles-kt-inkeep90c526440498
diff --git a/docs/content/features/timeline-and-recovery.mdx b/docs/content/features/timeline-and-recovery.mdxindex 719fb40d6..b1dc242ed 100644--- a/docs/content/features/timeline-and-recovery.mdx+++ b/docs/content/features/timeline-and-recovery.mdx@@ -1,20 +1,21 @@---title: Timeline and recovery-description: Every revision, auto-save, and recovery checkpoint for the current document, with restore.+description: Review the edit history for the open document, including agent, human, upstream sync, and file system changes, with inline diffs and version restore.----The timeline allows you to view the history of changes to the current document. It combines manual saved versions, auto-saves, upstream sync entries, and recovery checkpoints into one readable history.+import { Clock, Undo2 } from 'lucide-react';++The timeline shows you the history of edits made to the document you have open. From there you can view or revert to older versions of the document.## What the timeline shows-Open the timeline from the document side panel. Each entry shows who made the change, when it happened, and what kind of change it was.+Open the timeline from the document side panel by clicking the <Clock role="img" aria-label="Timeline" className="inline size-4 align-text-bottom" /> icon. Each entry shows who made the change, when it happened, and a short summary of the change.Timeline entries include:-- **Agent and human edits** with contributor attribution-- **Saved versions** created by the user with **Save Version**+- **Agent and human edits** with contributor attribution and change summaries- **Upstream sync** entries from Git-- **Recovery checkpoints** created automatically before operations like rollbacks+- **File system** changes made outside of Open Knowledge## Review changes@@ -22,10 +23,8 @@ Click a timeline entry to expand it. Open Knowledge shows an inline diff so youYou can switch between unified and split diff layouts from the editor controls.-## Restore a previous version--Use the restore button on a timeline entry to restore the document to the selected version. Restoring is append-only: Open Knowledge creates a new change with the old content instead of deleting history.+-## Save a version+## Restore a previous version-Use **Save Version** before major edits, before handing work to an agent, or before pulling in external changes. The saved version snapshots the project state so you can find and restore it later.+Use the restore button <Undo2 role="img" aria-label="Restore" className="inline size-4 align-text-bottom" /> on a timeline entry to restore the document to the selected version. Restoring is append-only: Open Knowledge creates a new change with the old content instead of deleting history.diff --git a/docs/content/workflows/entity-vault.mdx b/docs/content/workflows/entity-vault.mdxindex 0c3fce928..a877491c3 100644--- a/docs/content/workflows/entity-vault.mdx+++ b/docs/content/workflows/entity-vault.mdx@@ -121,8 +121,7 @@ referenced person, company, and concept dossiers using the Entity vault (GBrain-```4. Review the agent edits in OK. If the agent inferred something wrong, correct it in the editor.-5. Save a version checkpoint before any risky enrichment pass.-6. Commit the Markdown changes.+5. Commit the Markdown changes.The core value is the correction loop: the durable memory is not hidden in a model context window or database row. It is a file you can inspect, edit, diff, and roll back.@@ -154,7 +153,7 @@ For a GBrain-literate reviewer, the demo target is not "OK replaces GBrain." It2. Let an agent write/update a dossier through OK MCP.3. Watch the edit land live with attribution.4. Correct a wrong claim by hand in OK.-5. Save a checkpoint and commit.+5. Commit the changes.6. Run `gbrain sync --repo <vault>`.7. Query/search in `gbrain` and see the corrected fact.diff --git a/docs/public/screenshots/timeline-diff-view.png b/docs/public/screenshots/timeline-diff-view.pngnew file mode 100644index 000000000..875d47dbfBinary files /dev/null and b/docs/public/screenshots/timeline-diff-view.png differ