Commit Graph

331 Commits

Author SHA1 Message Date
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
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
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
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
2f7895e5ce fixes and more tests for delta representation on abstract types 2025-10-30 03:26:24 +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
a1a0f441ea lint 2025-07-25 16:08:42 +02:00
Kevin Jahns
d6a3e637e0 fixes for accepting / rejecting suggestions 2025-07-25 16:08:42 +02:00
Kevin Jahns
9161a9682c [delta] useAttributes doesn't clean up empty objects 2025-07-25 16:08:42 +02:00
Kevin Jahns
10a019806a reject suggestion working 2025-07-25 16:08:42 +02:00
Kevin Jahns
74a5a37180 DiffAttributionManager supports accepting suggestions 2025-07-25 16:08:42 +02:00
Kevin Jahns
92bab00678 be able to encode partial state with holes correctly 2025-07-25 16:08:42 +02:00
Kevin Jahns
8ef8ffc250 fix gc splice issues happening in y-quill 2025-07-25 16:08:42 +02:00
Kevin Jahns
a76d6e1c0e [skip allowed struct in yjs] fixed all tests 2025-07-25 16:08:42 +02:00
Kevin Jahns
78fb8d0b0a fixed another splicing issue with skips 2025-07-25 16:08:42 +02:00
Kevin Jahns
f41e633041 work on allowing skips in struct store 2025-07-25 16:08:42 +02:00
Kevin Jahns
e62e1d7c53 implement StructSet abstraction 2025-07-25 16:08:42 +02:00
Kevin Jahns
c37ee3ee8c fix suggestion issues with formatting by introducing an option to disable automattic formatting cleanups 2025-07-25 16:08:42 +02:00
Kevin Jahns
4d508918e9 fuzz tests for unformatted text run 2025-07-25 16:08:42 +02:00
Kevin Jahns
6d7ccf66ed fix am.readContent 2025-07-25 16:08:42 +02:00
Kevin Jahns
d9490c43d1 fix issue with slicing content in attrMngr 2025-07-25 16:08:42 +02:00
Kevin Jahns
172b157b7c fix puzzle1 2025-07-25 16:08:42 +02:00
Kevin Jahns
f1ae2a78a1 suggestion fixes 2025-07-25 16:08:40 +02:00
Kevin Jahns
90514dd51b more attribution fixes for y-quill 2025-07-25 16:08:13 +02:00
Kevin Jahns
34b90fcdd6 [attribution] fixes for suggestion support in y-quill 2025-07-25 16:08:12 +02:00
Kevin Jahns
5b29e54a59 be able to insert into attributed content 2025-07-25 16:07:31 +02:00
Kevin Jahns
3fd60a2017 first tests on attributed events 2025-07-25 16:07:31 +02:00
Kevin Jahns
7d5d6b840f fix some edge cases 2025-07-25 16:07:31 +02:00
Kevin Jahns
4d582748c1 more generic gedDelta implementation (could be used for events) 2025-07-25 16:07:31 +02:00
Kevin Jahns
b646654df1 be able to intersect idmaps and idsets 2025-07-25 16:07:31 +02:00
Kevin Jahns
62422544bc events can be computed with attributions 2025-07-25 16:07:31 +02:00
Kevin Jahns
fc620617df lint & fix tests 2025-07-25 16:07:31 +02:00