@andespindola/brainlink 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,10 +23,6 @@ export const createClientHtml = () => `<!doctype html>
|
|
|
23
23
|
<strong id="edgeCount">0</strong>
|
|
24
24
|
<small>Links</small>
|
|
25
25
|
</div>
|
|
26
|
-
<div class="metric-chip">
|
|
27
|
-
<strong id="tagCount">0</strong>
|
|
28
|
-
<small>Tags</small>
|
|
29
|
-
</div>
|
|
30
26
|
</div>
|
|
31
27
|
<label class="search">
|
|
32
28
|
<input id="search" type="search" placeholder="Filter notes, tags or paths" autocomplete="off" />
|
|
@@ -7,7 +7,6 @@ const elements = {
|
|
|
7
7
|
context: byId('context'),
|
|
8
8
|
nodeCount: byId('nodeCount'),
|
|
9
9
|
edgeCount: byId('edgeCount'),
|
|
10
|
-
tagCount: byId('tagCount'),
|
|
11
10
|
zoomIn: byId('zoomIn'),
|
|
12
11
|
zoomOut: byId('zoomOut'),
|
|
13
12
|
fit: byId('fit'),
|
|
@@ -594,10 +593,6 @@ const updateTotals = () => {
|
|
|
594
593
|
elements.edgeCount.textContent = String(state.totals.edges)
|
|
595
594
|
}
|
|
596
595
|
|
|
597
|
-
const updateTagCount = () => {
|
|
598
|
-
elements.tagCount.textContent = state.graphMode === 'far' ? 'clusters' : state.graphMode
|
|
599
|
-
}
|
|
600
|
-
|
|
601
596
|
const updateWorkerCamera = () => {
|
|
602
597
|
updateGraphOverlays()
|
|
603
598
|
if (!state.renderWorker || !state.workerReady) {
|
|
@@ -1073,7 +1068,6 @@ const fetchChunk = async ({ fit } = { fit: false }) => {
|
|
|
1073
1068
|
}
|
|
1074
1069
|
|
|
1075
1070
|
updateTotals()
|
|
1076
|
-
updateTagCount()
|
|
1077
1071
|
|
|
1078
1072
|
if (fit) {
|
|
1079
1073
|
fitFromChunk()
|
|
@@ -1646,7 +1640,6 @@ const bootstrap = async () => {
|
|
|
1646
1640
|
await loadAgents()
|
|
1647
1641
|
await loadContexts()
|
|
1648
1642
|
updateTotals()
|
|
1649
|
-
updateTagCount()
|
|
1650
1643
|
|
|
1651
1644
|
scheduleChunkFetch({ fit: true })
|
|
1652
1645
|
}
|
package/package.json
CHANGED