Rewrite GitGraph.js (#12137)
The current vendored gitgraph.js is no longer maintained and is difficult to understand, fix and maintain. This PR completely rewrites its logic - hopefully in a clearer fashion and easier to maintain. It also includes @silverwind's improvements of coloring the commit dots and preventing the flash of incorrect content. Further changes to contemplate in future will be abstracting out of the flows to an object, storing the involved commit references on the flows etc. However, this is probably a required step for this. Replaces #12131 Fixes #11981 (part 3) Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
432
web_src/js/vendor/gitgraph.js
vendored
432
web_src/js/vendor/gitgraph.js
vendored
File diff suppressed because it is too large
Load Diff
@ -3078,3 +3078,11 @@ tbody.commit-list {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#git-graph-container {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#git-graph-container.in {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user