microsoft / FluidFramework

Library for building distributed, real-time collaborative web applications
https://fluidframework.com
MIT License
4.7k stars 528 forks source link

Add TreeNodeKernel with `TreeStatus` and `on` events #21949

Closed noencke closed 1 month ago

noencke commented 1 month ago

Description

This adds an abstraction for holding internal state and APIs for TreeNodes. This will let us migrate functionality away from the flex layer and into the simple tree layer incrementally.

msfluid-bot commented 1 month ago
@fluid-example/bundle-size-tests: +1.54 KB
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 457.6 KB 457.63 KB +35 Bytes
azureClient.js 555.37 KB 555.42 KB +49 Bytes
connectionState.js 680 Bytes 680 Bytes No change
containerRuntime.js 258.68 KB 258.7 KB +14 Bytes
fluidFramework.js 405.62 KB 406.28 KB +678 Bytes
loader.js 134.08 KB 134.09 KB +14 Bytes
map.js 42.17 KB 42.18 KB +7 Bytes
matrix.js 145.68 KB 145.69 KB +7 Bytes
odspClient.js 523.52 KB 523.57 KB +49 Bytes
odspDriver.js 97.55 KB 97.57 KB +21 Bytes
odspPrefetchSnapshot.js 42.61 KB 42.62 KB +14 Bytes
sharedString.js 162.69 KB 162.7 KB +7 Bytes
sharedTree.js 396.13 KB 396.79 KB +671 Bytes
Total Size 3.3 MB 3.3 MB +1.54 KB

Baseline commit: a8d7dfdaa4da7ce282f96e3f9f3685d305393ae1

Generated by :no_entry_sign: dangerJS against dac460875ccba5185bedf606f639ef0da383dcb8