Skip to content

fix(sharing): restore private rendering and compact encrypted links - #299

Closed
ThisIs-Developer wants to merge 3 commits into
restore/pr-291-encrypted-sharingfrom
restore/pr-297-sharing-rendering
Closed

ThisIs-Developer wants to merge 3 commits into
restore/pr-291-encrypted-sharingfrom
restore/pr-297-sharing-rendering

Conversation

@ThisIs-Developer

Copy link
Copy Markdown
Owner

Restores the private-rendering and compact-link implementation preserved from PR #297, after main and production were restored to d7b51b4. Original commits and authorship are preserved without additional code changes.

Dependency and merge order:

What changed:

  • Locally bundled rendering for supported diagrams, maps, models, music notation, and LaTeX, using isolated rendering and passive SVG output.
  • Compact encrypted snapshot/live invitations with the existing encryption and role-authentication model, plus legacy link compatibility.
  • Correct renderer CSP for Cloudflare canonical HTML redirects, relay diagnostics, and web/desktop/Docker packaging updates.
  • Updated rendering, deployment, security, and Cloudflare usage documentation. Rendering and link compaction add no Workers KV operations; compact invitation resolution uses Durable Object requests/read allowances.

Validation:

  • The head remains the original reviewed commit 78f4ae2.
  • The original PR records 296 unit tests, 37 targeted browser cases, hosted cross-browser acceptance, and CI results. These are historical results, not newly rerun validation for this replacement PR.
  • Original review details and limitations remain available on fix(sharing): restore private rendering and shorten encrypted links #297, including static private previews and blocked external resources.

Deployment:

  • Production currently runs the requested pre-encryption revision and its matching relay. The encrypted relay version from the earlier rollout is preserved but is no longer active.
  • Deploy the compatible relay before deploying the matching Pages assets/functions, then verify real host/join/edit/end behavior and rendering.

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
markdown-viewer Ready Ready Preview Nov 20, 2026 4:09pm UTC

@ThisIs-Developer

Copy link
Copy Markdown
Owner Author

Status: On Hold ⏸️

The proposed encryption changes for Live Share and Share Snapshot did not work as expected, so the previous stable implementation has been restored.

This work is being paused for now and may be revisited in the future with a more reliable approach.

Closing this PR for the time being.

@ThisIs-Developer
ThisIs-Developer deleted the restore/pr-297-sharing-rendering branch November 20, 2026 16:38
@ThisIs-Developer ThisIs-Developer added ✨ enhancement New feature, improvement, or usability enhancement. 🐛 bug Something is broken or not working as expected. 🔒 security Security vulnerabilities, hardening, CSP, API protection, or related fixes. labels Nov 20, 2026 — with ChatGPT Codex Connector

This branch was successfully deployed

1 active deployment
Preview — 78f4ae24 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something is broken or not working as expected. ✨ enhancement New feature, improvement, or usability enhancement. 🔒 security Security vulnerabilities, hardening, CSP, API protection, or related fixes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant