Kevin Jahns
|
21895fa148
|
fix nicks test case
|
2025-05-05 14:17:45 +02:00 |
|
Kevin Jahns
|
72c4826f6b
|
[idmap/idset] implement forEach and perf improvement on diffingAttributionManager
|
2025-05-01 16:26:23 +02:00 |
|
Kevin Jahns
|
1a4c767d70
|
add missing exports for y-prosemirror
|
2025-05-01 15:46:28 +02:00 |
|
Kevin Jahns
|
a5e390160c
|
fix nicks test
|
2025-05-01 14:44:24 +02:00 |
|
Kevin Jahns
|
316dfd28f6
|
[AttributionManager] auto-updates on doc changes and can destroy itself
|
2025-04-30 23:17:15 +02:00 |
|
Kevin Jahns
|
09cab3780c
|
implement idset.delete & idmap.delete
|
2025-04-30 22:12:09 +02:00 |
|
Kevin Jahns
|
56f3453a9d
|
lint
|
2025-04-30 18:13:54 +02:00 |
|
Kevin Jahns
|
abe2c5aca0
|
add an simple attributions example
|
2025-04-29 23:29:02 +02:00 |
|
Kevin Jahns
|
7c2fe8de49
|
implement createAttributionsManagerFromDiff that automatically handles gc
|
2025-04-29 22:42:56 +02:00 |
|
Kevin Jahns
|
1433cfeebf
|
Implement & test getContentDeep for all types. Improve ability to compare things using lib0/traits.
|
2025-04-29 18:02:15 +02:00 |
|
Kevin Jahns
|
37c709096a
|
implement and test getContent on all types
|
2025-04-28 17:06:32 +02:00 |
|
Kevin Jahns
|
e507f95a54
|
getContent on Y.Map
|
2025-04-28 02:42:06 +02:00 |
|
Kevin Jahns
|
533e4fbf2c
|
[AttributionManager] further improve performance to be almost on-par with toString
|
2025-04-28 00:02:06 +02:00 |
|
Kevin Jahns
|
c54ceebed4
|
[attribution manager] returns null instead of empty array to reduce gc allocations
|
2025-04-27 22:50:48 +02:00 |
|
Kevin Jahns
|
a90457f76d
|
more perf improvements on getContent with attributedContent
|
2025-04-24 18:59:40 +02:00 |
|
Kevin Jahns
|
7126550c00
|
working on performance
|
2025-04-24 17:46:00 +02:00 |
|
Kevin Jahns
|
1e8ea641ea
|
add another example and create a writeup for attributing content.
|
2025-04-24 00:03:00 +02:00 |
|
Kevin Jahns
|
7b4256857d
|
attribution tests for adding and removing attributes
|
2025-04-21 18:27:18 +02:00 |
|
Kevin Jahns
|
800f0304da
|
basic attribution test working
|
2025-04-21 15:59:03 +02:00 |
|
Kevin Jahns
|
0171ef97ff
|
first test case for attributions
|
2025-04-21 02:00:14 +02:00 |
|
Kevin Jahns
|
782fde5065
|
attributions and fixes to idmap
|
2025-04-21 01:13:41 +02:00 |
|
Kevin Jahns
|
c7ab7a4ee5
|
implement base AttributionManager class and use in Y.Text
|
2025-04-20 19:28:36 +02:00 |
|
Kevin Jahns
|
71524a0222
|
more renames (ds=>idset)
|
2025-04-19 15:33:09 +02:00 |
|
Kevin Jahns
|
063b9b7629
|
efficient encoding & decoding of IdMaps
|
2025-04-19 15:15:34 +02:00 |
|
Kevin Jahns
|
1f041913c8
|
implement attribution class that is de-duplicated in IdMap
|
2025-04-19 00:21:40 +02:00 |
|
Kevin Jahns
|
c9a6d113bb
|
rename AttributionManager=>IdMap
The "AttributionManager" will be an abstract class that maps data
(probably using IdMap(s))
|
2025-04-18 20:26:05 +02:00 |
|
Kevin Jahns
|
e729905fc6
|
ds is no longer maintained on store - improves perf
|
2025-04-12 17:30:06 +02:00 |
|
Kevin Jahns
|
b38c6b7d76
|
diffing of attribution manager state
|
2025-04-12 17:20:21 +02:00 |
|
Kevin Jahns
|
12c466f0b5
|
[am] fixed tests
|
2025-04-12 16:12:00 +02:00 |
|
Kevin Jahns
|
7c0c409c81
|
Work on AttributionManager
|
2025-04-12 14:44:37 +02:00 |
|
Kevin Jahns
|
e93ae12a1e
|
use stores ds to compute state as update
|
2025-04-10 21:19:30 +02:00 |
|
Kevin Jahns
|
a6aedf00c5
|
doc maintains ds
|
2025-04-10 21:07:59 +02:00 |
|
Kevin Jahns
|
8686113ea2
|
rename DeleteSet=>IdSet and add utilities and perf improvements
|
2025-04-08 20:50:20 +02:00 |
|
Kevin Jahns
|
6d05ce3820
|
use "insertSet" instead of computing state vectors in transactions
|
2025-04-08 14:37:08 +02:00 |
|
Kevin Jahns
|
72ee66a739
|
add randomized tests for ds
|
2025-03-28 19:12:47 +01:00 |
|
Kevin Jahns
|
da8aad3615
|
implement support for diffing deletesets
|
2025-03-27 16:24:11 +01:00 |
|
Kevin Jahns
|
05e9ba4145
|
basic delta implementation
|
2025-03-25 11:15:17 +01:00 |
|
Kevin Jahns
|
09fbb62ba9
|
improve documentation on global UndoManager
|
2025-03-04 14:52:19 +01:00 |
|
Kevin Jahns
|
69d4a5c821
|
[UndoManager] support global undo
|
2025-03-04 14:42:19 +01:00 |
|
Kevin Jahns
|
cc9a857441
|
slightly optimize TreeWalker and integration process
|
2025-02-24 20:30:48 +01:00 |
|
Kevin Jahns
|
e53c44e3a6
|
expose getItemCleanStart/End
|
2025-01-15 21:44:18 +01:00 |
|
Kevin Jahns
|
bb5410b6dd
|
marginally better typings for applyDelta - #689
|
2025-01-12 19:41:19 +01:00 |
|
Kevin Jahns
|
80e83a84c6
|
Revert "fix(yText): applyDelta should support both Delta and Ops[]"
|
2025-01-12 19:32:51 +01:00 |
|
Yuxiang Kou
|
e67b1296a7
|
fix(yText): applyDelta should support both Delta and Ops[]
Fixed an issue that the yText.applyDelta() accepted only Ops[], but not Delta.
|
2025-01-09 14:58:47 -08:00 |
|
Viktor Szépe
|
f18eab2dfe
|
Fix typos
|
2025-01-03 18:11:43 +00:00 |
|
Kevin Jahns
|
f583d2a211
|
fix #657 - relative positions issue when using followUndoneDeletions=false
|
2024-12-21 00:52:48 +01:00 |
|
Kevin Jahns
|
8152cf81cb
|
[#667] sanity checks for Yjs caveats. In dev_mode, objects inserted into Yjs can't be manipulated.
|
2024-10-04 21:23:59 +02:00 |
|
Kevin Jahns
|
3bf44b9850
|
#667 - add sanity messages when data is read before type is added to a document.
|
2024-10-04 21:07:19 +02:00 |
|
Kevin Jahns
|
8cd1a482bb
|
Y.Array.length should be 0 before it is integrated - #666
|
2024-09-26 19:30:34 +02:00 |
|
Kevin Jahns
|
f604250fc3
|
add ydoc.isDestroyed property
|
2024-09-10 15:35:46 +02:00 |
|