-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeline: allow to group multiple entries of same kind into a single node that can expand #145294
Comments
This turned out to be a surprisingly small change so I pushed for it: @daviddossett @misolori fyi, happy for feedback:
//cc @JacksonKearl this works by making vscode/src/vs/workbench/contrib/timeline/common/timeline.ts Lines 56 to 61 in b53e523
|
Oh, I had to revert that change, I forgot that the aggregation should not happen at the level of the provider but needs to happen inside the timeline view because we want to aggregate over all items from all sources and not within source. Otherwise the timeline would no longer show a real timeline with entries one after the other... |
Looking good! Is it possible to use an explicit tree parent with open/close? If I didn't know what the behavior was, I wouldn't know it was clickable to show the actual entries. E.g.
I wonder if a badge a la SCM could also work for here. The plain text in brackets is clear, but feels somewhat bespoke here since we have similar patterns for counting children elsewhere: It could look like: |
👍 for both suggestions |
While this is very cool, I will let this sink for a little longer and wait for user feedback. Interestingly so far I did not hear the need from users, but it is also quite early. If someone wants to jump ahead and take an attempt at this, here are some pointers:
The challenge is probably within |
We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider. If you wonder what we are up to, please see our roadmap and issue reporting guidelines. Thanks for your understanding, and happy coding! |
This is to explore whether the timeline view could aggregate multiple entries of the same source under a single node to reduce the spam from local history.
Examples from other products:
Notes
//cc @JacksonKearl @daviddossett @misolori
The text was updated successfully, but these errors were encountered: