Skip to content

✨(frontend) integrate BlockNote version history (copy of nperez0111/docs#1) - #2

Merged
YousefED merged 3 commits into
devfrom
feat/blocknote-3090-versioning
Oct 9, 2026
Merged

YousefED merged 3 commits into
devfrom
feat/blocknote-3090-versioning

Conversation

@YousefED

@YousefED YousefED commented Oct 9, 2026

Copy link
Copy Markdown

Purpose

This PR is a copy of nperez0111#1 ("integrate BlockNote version history into Docs"). It puts that work on the dev instance.

Original PR: nperez0111#1

Changes

The commits are the same as in the original PR. They are not changed.

  • Docs uses the BlockNote version history, and yhub stores the versions.
  • The History panel replaces the old version modal.
  • The panel has history debug controls.

How to test

  1. Merge this PR into dev.
  2. Make sure that the "Dev instance" workflow is successful.
  3. Open a document and open the History panel. Make sure that the panel shows the versions.

Use the BlockNote preview to exercise native version history in Docs while preserving access-date-bounded restores and strict document creation. Migrate collaboration clients to Yjs 14, retain offline and HTTP fallback support, and align author colors and Typst PDF export with the preview.

Signed-off-by: Nick the Sick <computers@nickthesick.com>
Keep each user’s deterministic hue while improving author text and cursor contrast. Preserve the original pastel shade for highlights and choose contrasting text for cursor labels and avatars.

Signed-off-by: Nick the Sick <computers@nickthesick.com>
Allow session-local history grouping and row-limit adjustments without recreating the editor. Add named test checkpoints and a compact, dismissible panel to make version-history debugging easier.

Signed-off-by: Nick the Sick <computers@nickthesick.com>
@YousefED
YousefED merged commit 07d2e0f into dev Oct 9, 2026
18 of 19 checks passed
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Size Change: -10.4 kB (-0.25%)

Total Size: 4.22 MB

📦 View Changed
Filename Size Change
apps/impress/out/_next/static/031067fc/_buildManifest.js 0 B -719 B (removed) 🏆
apps/impress/out/_next/static/8269968c/_buildManifest.js 720 B +720 B (new file) 🆕
apps/impress/out/_next/static/chunks/2f14fd75.js 91.8 kB -7.77 kB (-7.8%) ✅
apps/impress/out/_next/static/chunks/410.js 59.5 kB +59.5 kB (new file) 🆕
apps/impress/out/_next/static/chunks/4066.js 348 kB +348 kB (new file) 🆕
apps/impress/out/_next/static/chunks/4765.js 0 B -59.5 kB (removed) 🏆
apps/impress/out/_next/static/chunks/5629.js 0 B -350 kB (removed) 🏆
apps/impress/out/_next/static/css/bb02454244f49bf6.css 0 B -13.7 kB (removed) 🏆
apps/impress/out/_next/static/css/c8a3e0ec75cdc0d3.css 13.7 kB +13.7 kB (new file) 🆕

compressed-size-action

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.

2 participants