From 5528f7a09ad312aed8476a3cfc72973591be6b3d Mon Sep 17 00:00:00 2001 From: Jody Clements Date: Wed, 13 Mar 2024 13:46:34 -0400 Subject: [PATCH] fix: increase length of node hash in the DAG. There were cases where the hash shown was too short, because of the switch over to version strings, like v1.2.1, which are 1 character too long to be displayed. The length has been increased to 8 so that we can accommodate version strings like v1.10.11 --- src/RepoDAG.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RepoDAG.js b/src/RepoDAG.js index 2cb4949..efc78f3 100644 --- a/src/RepoDAG.js +++ b/src/RepoDAG.js @@ -74,7 +74,7 @@ function createNode(node, dagGraph, uuid, masterUUID) { } dagGraph.setNode(version, { - label: `${version}: ${node.UUID.substr(0, 5)}`, + label: `${version}: ${node.UUID.substr(0, 8)}`, class: nodeclass, rx: 5, ry: 5,