feat(extension): support grouped updates - #752
Conversation
This makes the existing "group updates" setting work. When enabled, repeated updates of the same tree will be grouped into one node with a count. The updates are not lost, in that the setting can be disable to re-expand the nodes.
|
✅ Deploy Preview for preact-signals-demo ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
One remark from your video, should we do 2 -> 3 -> 4 or 2 -> 4 - currently it sais 2 - 3 but I wouldn't do that as it shows only the first value evolution rather than the full story |
|
if we want to do that, i wonder if we should introduce a it could also then have a |
69f4641 to
5ef4e81
Compare
|
|
||
| interface UpdateItemProps { | ||
| update: SignalUpdate; | ||
| count?: number; |
There was a problem hiding this comment.
how about this @JoviDeCroock ?
we don't really need 2 tree types for this part imo
since this interface already represents a rendered update, it may as well have an optional count?
sorry i commented on the wrong thing. i meant to comment on the UpdateTreeNode
There was a problem hiding this comment.


This makes the existing "group updates" setting work.
When enabled, repeated updates of the same tree will be grouped into one node with a count.
The updates are not lost, in that the setting can be disable to re-expand the nodes.
Fixes #736
Screen.Recording.2025-08-28.at.11.22.02.mov