Commit Graph

928 Commits

Author SHA1 Message Date
Kevin Jahns
ff741d87b5 createDocFromUpdate 2026-01-14 16:12:56 +01:00
Kevin Jahns
d741c46f1f [update] intersect 2026-01-14 05:05:36 +01:00
Kevin Jahns
bee0afb38d add missing meta apis (mostly contentIds & contentMaps) 2026-01-14 01:49:32 +01:00
Kevin Jahns
2b5138a06d rename readUpdateToContentIds => createContentIdsFromUpdate 2026-01-13 04:11:23 +01:00
Kevin Jahns
241d9429cc content utilities 2026-01-11 00:25:03 +01:00
Kevin Jahns
65bc32f1ae attributions filtering, undo of contentIds 2026-01-10 23:53:38 +01:00
Kevin Jahns
1d78034ae9 contentIds/contentMap API 2026-01-10 22:04:30 +01:00
Kevin Jahns
6ec341f564 getContent => toDelta 2026-01-10 17:32:29 +01:00
Kevin Jahns
ffabdff3d5 remove insertAfter 2026-01-10 13:36:49 +01:00
Kevin Jahns
bbaec17bf3 [delta integration] fixed all tests 2026-01-10 13:28:41 +01:00
Kevin Jahns
8bd9946a95 [delta integration] fix many tests 2026-01-10 00:57:43 +01:00
Kevin Jahns
2053f7987a fix all type issues 2026-01-06 20:35:18 +01:00
Kevin Jahns
ec11ef6f08 more refactoring 2025-12-30 20:24:59 +01:00
Kevin Jahns
69131b76c8 started refactor expose a single Yjs type only using lib0@v1 delta 2025-12-30 20:23:57 +01:00
Kevin Jahns
301d3836ab simplifying type system 2025-12-30 20:22:52 +01:00
Kevin Jahns
2daa2ae18b expose getPathTo and support custom attributionManager/renderer in relativePosition transformer 2025-12-30 19:18:41 +01:00
Kevin Jahns
95638112d6 [AttributionManager] implement acceptAllChanges and rejectAllChanges. closes #761 2025-12-30 18:59:48 +01:00
Nick the Sick
88fd9683b8 expose SnapshotAttributionManager and createAttributionManagerFromSnapshots 2025-12-28 13:47:14 +01:00
Nick the Sick
dfa2190cfa fix: if there is not element to modify, throw an error 2025-12-19 17:11:56 +01:00
Nick the Sick
48fc7e494c fix: remove default attributions 2025-12-17 16:42:03 +01:00
Nick the Sick
ca7c98fa35 feat: support attributing the content for DiffAttributionManager & SnapshotAttributionManager 2025-12-17 16:21:38 +01:00
Nick the Sick
157359a07b refactor: minor cleanup of duplicate function 2025-12-17 16:17:28 +01:00
Kevin Jahns
b1cff471c5 change global identifier name for compatibility with v13 2025-12-15 13:28:01 +01:00
Kevin Jahns
933111f75d fixed nested delta edge case 2025-12-07 02:13:04 +01:00
Kevin Jahns
b2df311fce fixed all tests & proper diff /w attribution in nested deltas 2025-12-07 01:21:19 +01:00
Kevin Jahns
804011160a implement diffDocsToDelta 2025-11-27 19:59:26 +01:00
Kevin Jahns
37189028f8 expose decodeIdMap 2025-11-19 14:12:16 +01:00
Kevin Jahns
03b05423b2 bump deps & make publishable 2025-11-19 13:01:54 +01:00
Kevin Jahns
658bd38371 getContent returns editable delta yjs/y-prosemirror#203 2025-11-18 16:06:07 +01:00
Kevin Jahns
de10cf0b93 expose more missing api 2025-11-18 01:47:34 +01:00
Kevin Jahns
a4aa2f87bf type rework, updates are now Uint8Array<ArrayBuffer> 2025-11-18 00:26:25 +01:00
Kevin Jahns
5f347730f9 [readUpdateIdRanges] and refactors 2025-11-17 23:59:01 +01:00
Kevin Jahns
27ab396fd8 encodeStateAsUpdate returns Uint8Array<ArrayBuffer> 2025-11-17 17:30:26 +01:00
Kevin Jahns
b1b9552855 add idmap encoding benchmark 2025-11-17 14:55:35 +01:00
Kevin Jahns
b82a71ab41 y.map should accept objects without constructor 2025-11-14 00:57:19 +01:00
Kevin Jahns
19b5134604 fix all tests 2025-11-03 18:13:34 +01:00
Kevin Jahns
2f7895e5ce fixes and more tests for delta representation on abstract types 2025-10-30 03:26:24 +01:00
Kevin Jahns
029aba44c3 usability - observeDeep returns function 2025-10-29 02:39:27 +01:00
Kevin Jahns
584ad5fc9a bump deps and use new delta format 2025-10-28 17:51:10 +01:00
Kevin Jahns
57bc4d3f42 lint 2025-10-23 13:53:49 +02:00
Kevin Jahns
1ce8154d64 fixed several v2 issues 2025-10-22 23:25:30 +02:00
Kevin Jahns
c9829b0993 fixed most tests for delta v2 migration 2025-10-21 16:31:59 +02:00
Kevin Jahns
91384b54bf [wip] refactor for lib0/delta v2 2025-10-20 02:14:02 +02:00
Kevin Jahns
e6ab2bbc12 major update on the (nested) event system. created dedicated delta classes to represent changes and content representations on all types. 2025-07-25 16:09:13 +02:00
Kevin Jahns
72393e6ce8 work on new deltas with modifiers 2025-07-25 16:08:42 +02:00
Kevin Jahns
5000fe58f9 export createDelta 2025-07-25 16:08:42 +02:00
Kevin Jahns
6c7866147b lint 2025-07-25 16:08:42 +02:00
Kevin Jahns
5e4d240e19 [suggested formatting] implement previousUnattributedAttributes approach 2025-07-25 16:08:42 +02:00
Kevin Jahns
a1a0f441ea lint 2025-07-25 16:08:42 +02:00
Kevin Jahns
5c5139bbba handle another attribution edge case for formatting 2025-07-25 16:08:42 +02:00