Skip to content

Commit b423921

Browse files
committed
Improves Visual History rendering
- Replaces the charting dependency with a canvas-backed timeline for smoother dense-history rendering and more control over interactions - Adds richer hover, zoom, scroll, brush, slider scrub, and slice filtering behavior so exploring busy histories feels more responsive - Shows author avatars, current-user naming, accessible commit text, and configurable additions/deletions colors - Keeps editor scope more stable when diff tabs open and avoids churn from interim slider selections - Removes the unused billboard dependency and adds tests for timeline data packing, binning, layout, and hit testing
1 parent 767ac94 commit b423921

23 files changed

Lines changed: 4537 additions & 1973 deletions

File tree

ThirdPartyNotices.txt

Lines changed: 17 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,23 @@ This project incorporates components from the projects listed below.
2626
21. @opentelemetry/sdk-trace-base version 2.7.0 (https://github.com/open-telemetry/opentelemetry-js)
2727
22. @opentelemetry/semantic-conventions version 1.40.0 (https://github.com/open-telemetry/opentelemetry-js)
2828
23. @vscode/codicons version 0.0.45 (https://github.com/microsoft/vscode-codicons)
29-
24. billboard.js version 3.18.0 (https://github.com/naver/billboard.js)
30-
25. diff2html version 3.4.56 (https://github.com/rtfpessoa/diff2html)
31-
26. dragula version 3.7.3 (https://github.com/bevacqua/dragula)
32-
27. driver.js version 1.4.0 (https://github.com/kamranahmedse/driver.js)
33-
28. fflate version 0.8.2 (https://github.com/101arrowz/fflate)
34-
29. ignore version 7.0.5 (https://github.com/kaelzhang/node-ignore)
35-
30. lit version 3.3.2 (https://github.com/lit/lit)
36-
31. marked version 18.0.2 (https://github.com/markedjs/marked)
37-
32. microsoft/vscode (https://github.com/microsoft/vscode)
38-
33. os-browserify version 0.3.0 (https://github.com/CoderPuppy/os-browserify)
39-
34. path-browserify version 1.0.1 (https://github.com/browserify/path-browserify)
40-
35. react-dom version 19.2.5 (https://github.com/facebook/react)
41-
36. react version 19.2.5 (https://github.com/facebook/react)
42-
37. signal-polyfill version 0.2.2 (https://github.com/proposal-signals/signal-polyfill)
43-
38. signal-utils version 0.21.1 (https://github.com/proposal-signals/signal-utils)
44-
39. slug version 11.0.1 (https://github.com/Trott/slug)
45-
40. sortablejs version 1.15.7 (https://github.com/SortableJS/Sortable)
46-
41. vscode-uri version 3.1.0 (https://github.com/microsoft/vscode-uri)
29+
24. diff2html version 3.4.56 (https://github.com/rtfpessoa/diff2html)
30+
25. dragula version 3.7.3 (https://github.com/bevacqua/dragula)
31+
26. driver.js version 1.4.0 (https://github.com/kamranahmedse/driver.js)
32+
27. fflate version 0.8.2 (https://github.com/101arrowz/fflate)
33+
28. ignore version 7.0.5 (https://github.com/kaelzhang/node-ignore)
34+
29. lit version 3.3.2 (https://github.com/lit/lit)
35+
30. marked version 18.0.2 (https://github.com/markedjs/marked)
36+
31. microsoft/vscode (https://github.com/microsoft/vscode)
37+
32. os-browserify version 0.3.0 (https://github.com/CoderPuppy/os-browserify)
38+
33. path-browserify version 1.0.1 (https://github.com/browserify/path-browserify)
39+
34. react-dom version 19.2.5 (https://github.com/facebook/react)
40+
35. react version 19.2.5 (https://github.com/facebook/react)
41+
36. signal-polyfill version 0.2.2 (https://github.com/proposal-signals/signal-polyfill)
42+
37. signal-utils version 0.21.1 (https://github.com/proposal-signals/signal-utils)
43+
38. slug version 11.0.1 (https://github.com/Trott/slug)
44+
39. sortablejs version 1.15.7 (https://github.com/SortableJS/Sortable)
45+
40. vscode-uri version 3.1.0 (https://github.com/microsoft/vscode-uri)
4746

4847
%% @awesome.me/webawesome NOTICES AND INFORMATION BEGIN HERE
4948
=========================================
@@ -3203,33 +3202,6 @@ Git Logo by [Jason Long](https://bsky.app/profile/jasonlong.me) is licensed unde
32033202
=========================================
32043203
END OF @vscode/codicons NOTICES AND INFORMATION
32053204

3206-
%% billboard.js NOTICES AND INFORMATION BEGIN HERE
3207-
=========================================
3208-
The MIT License (MIT)
3209-
3210-
Copyright (c) 2017 ~ present NAVER Corp.
3211-
Copyright (c) 2013 Masayuki Tanaka
3212-
3213-
Permission is hereby granted, free of charge, to any person obtaining a copy of
3214-
this software and associated documentation files (the "Software"), to deal in
3215-
the Software without restriction, including without limitation the rights to
3216-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
3217-
the Software, and to permit persons to whom the Software is furnished to do so,
3218-
subject to the following conditions:
3219-
3220-
The above copyright notice and this permission notice shall be included in all
3221-
copies or substantial portions of the Software.
3222-
3223-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3224-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
3225-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
3226-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
3227-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
3228-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3229-
3230-
=========================================
3231-
END OF billboard.js NOTICES AND INFORMATION
3232-
32333205
%% diff2html NOTICES AND INFORMATION BEGIN HERE
32343206
=========================================
32353207
Copyright 2014-2016 Rodrigo Fernandes https://rtfpessoa.github.io/

package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6152,6 +6152,26 @@
61526152
"highContrast": "#2ece9d"
61536153
}
61546154
},
6155+
{
6156+
"id": "gitlens.timelineAdditionsColor",
6157+
"description": "Specifies the color of additions in the _Visual History_ volume strip and tooltip",
6158+
"defaults": {
6159+
"light": "#2da44e",
6160+
"highContrastLight": "#2da44e",
6161+
"dark": "#49be47",
6162+
"highContrast": "#49be47"
6163+
}
6164+
},
6165+
{
6166+
"id": "gitlens.timelineDeletionsColor",
6167+
"description": "Specifies the color of deletions in the _Visual History_ volume strip and tooltip",
6168+
"defaults": {
6169+
"light": "#cf222e",
6170+
"highContrastLight": "#cf222e",
6171+
"dark": "#c3202d",
6172+
"highContrast": "#c3202d"
6173+
}
6174+
},
61556175
{
61566176
"id": "gitlens.graphChangesColumnAddedColor",
61576177
"description": "Specifies the color for denoting lines added in the _Changes_ column on the _Commit Graph_",
@@ -28296,7 +28316,6 @@
2829628316
"@opentelemetry/sdk-trace-base": "2.7.0",
2829728317
"@opentelemetry/semantic-conventions": "1.40.0",
2829828318
"@vscode/codicons": "0.0.45",
28299-
"billboard.js": "3.18.0",
2830028319
"diff2html": "3.4.56",
2830128320
"dragula": "3.7.3",
2830228321
"driver.js": "1.4.0",

0 commit comments

Comments
 (0)