1.6.4 • Published 1 year ago

@dolthub/gitgraph-core v1.6.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

This is the fork of package of GitGraph.js.

This package makes changes to take commit info from DoltHub in order to render the commit graph.

Changes are:

  1. Reversed the commit list order in packages/gitgraph-core/src/branches-order.ts, so that the branches set are ordered by oldest to newest:
[...commits].reverse().forEach((commit, i) => {
  this.branches.add(commit.branchToDisplay);
});
  1. in packages/gitgraph-core/src/branches-paths.ts, change the branch path from a curved line to a straight line.

  2. in packages/gitgraph-core/src/gitgraph.ts, add all branch names of the current hash to the branches array.

  3. in packages/gitgraph-core/src/template.ts, changed the commit nodes spacing and branch label border style.

  4. in packages/gitgraph-core/src/user-api/gitgraph-user-api.ts, reversed the commitOptionsList so that it gets the right branch to show.

1.6.4

1 year ago

1.6.3

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago