Skip to content

Commit

Permalink
Rewrite GitGraph.js
Browse files Browse the repository at this point in the history
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 go-gitea#12131
Fixes go-gitea#11981 (part 3)

Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath committed Jul 4, 2020
1 parent 60cb9fe commit 8c55116
Show file tree
Hide file tree
Showing 3 changed files with 567 additions and 436 deletions.
Loading

0 comments on commit 8c55116

Please sign in to comment.