Skip to content

feat: seed recently-edited from SQLite history - #120

Merged
tasercake merged 1 commit into
mainfrom
worktree/live-recent-history
Jul 2, 2026
Merged

feat: seed recently-edited from SQLite history#120
tasercake merged 1 commit into
mainfrom
worktree/live-recent-history

Conversation

@tasercake

Copy link
Copy Markdown
Owner

Summary

  • Add SqliteDocuments.recent_edits/1 query (cross-namespace, ORDER BY updated_at DESC)
  • Seed recent_edits map from SQLite on /live mount
  • Convert ISO8601 timestamps to Unix epoch for uniform sorting with real-time edits
  • Fetch excerpts for historical recent docs on mount
  • Recently-edited section now includes pre-launch edits

Query SQLite for most recently edited documents on mount, so the
recently-edited section includes historical edits (not just real-time).
Converts ISO8601 timestamps to Unix epoch for uniform sorting with
real-time edit broadcasts.
@tasercake
tasercake merged commit 809fcfa into main Jul 2, 2026
1 check passed
@tasercake
tasercake deleted the worktree/live-recent-history branch July 2, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant