Skip to content

Yjs plugin - #2487

Merged
zbeyens merged 13 commits into
mainfrom
feat/yjs
Jul 17, 2023
Merged

zbeyens merged 13 commits into
mainfrom
feat/yjs

Conversation

@zbeyens

@zbeyens zbeyens commented Jul 9, 2023

Copy link
Copy Markdown
Member

Description

See changesets.

zbeyens added 4 commits July 18, 2022 17:02
# Conflicts:
#	config/aliases-plate.js
#	docs/docs/sidebars.js
#	yarn.lock
@changeset-bot

changeset-bot Bot commented Jul 9, 2023 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a33f9b1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@udecode/plate-yjs Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jul 9, 2023 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plate ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2023 2:27pm

@reviewpad

reviewpad Bot commented Jul 9, 2023

Copy link
Copy Markdown
Contributor

AI-Generated Summary: This pull request introduces support for collaborative editing feature using Yjs. Specifically, it adds a new 'Plate yjs plugin' package (@udecode/plate-yjs) that handles the Yjs collaborative editing feature integration. This includes adding new exports, creating the yjs plugin, creating necessary utility functions and middleware.

It adds a new Rollup named export for the 'scheduler' module and updates the yarn.lock file with new dependencies.

Additionally, it includes documentation for how to install and use the new plugin (@udecode/plate-yjs), detailing how to enable and disable certain features. This documentation is added to the existing documentation in /docs/docs/plugins/collaboration.mdx

Tests and test utilities directories are ignored during the npm packaging of the new 'Plate yjs plugin' plugin.

Also, multiple TypeScript files were added for the Yjs plugin, including: creating the Yjs plugin, hooking up Yjs, handling cursors in Yjs, handling history in Yjs, initializing Yjs, and a store for Yjs state.

In summary, this pull request adds the essential components for collaborative editing feature using Yjs in the Plate editor.

@reviewpad reviewpad Bot added the large label Jul 9, 2023
@reviewpad

reviewpad Bot commented Jul 9, 2023

Copy link
Copy Markdown
Contributor

Reviewpad Report

⚠️ Warnings

  • Please rebase your pull request on the latest changes

@ghost

ghost commented Jul 9, 2023 •

Copy link
Copy Markdown
👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

zbeyens added 2 commits July 17, 2023 15:30
@zbeyens
zbeyens marked this pull request as ready for review July 17, 2023 15:02
@zbeyens
zbeyens merged commit 347e051 into main Jul 17, 2023
@zbeyens
zbeyens deleted the feat/yjs branch July 17, 2023 15:02
@zbeyens zbeyens mentioned this pull request Jul 17, 2023

This branch was successfully deployed

1 active deployment
Preview — f829fbe6 Deployed Jul 17, 2023 by vercel[bot]
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