Hex Paths mode still shows conflict tooltips

hexMode flag shows raw hex prefix as display text but keeps
the full conflict tooltip, link, and warning badges.
This commit is contained in:
you committed 2026-03-22 23:20:28 +00:00
1 parent 6e0151b7e1
commit 8d7ba43265
3 files changed
+4 -7

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ window.HopDisplay = (function() {
const totalRegional = entry.totalRegional || 0;
const globalFallback = entry.globalFallback || false;
const unreliable = entry.unreliable || false;
const display = name ? escapeHtml(opts.truncate ? name.slice(0, opts.truncate) : name) : h;
const display = opts.hexMode ? h : (name ? escapeHtml(opts.truncate ? name.slice(0, opts.truncate) : name) : h);
// Build tooltip
let title = h;
+2 -2
View File
@@ -83,10 +83,10 @@
<script src="roles.js?v=1774325000"></script>
<script src="region-filter.js?v=1774325000"></script>
<script src="hop-resolver.js?v=1774221120"></script>
<script src="hop-display.js?v=1774221120"></script>
<script src="hop-display.js?v=1774221628"></script>
<script src="app.js?v=1774126708"></script>
<script src="home.js?v=1774042199"></script>
<script src="packets.js?v=1774221131"></script>
<script src="packets.js?v=1774221628"></script>
<script src="map.js?v=1774220756" onerror="console.error('Failed to load:', this.src)"></script>
<script src="channels.js?v=1774331200" onerror="console.error('Failed to load:', this.src)"></script>
<script src="nodes.js?v=1774221131" onerror="console.error('Failed to load:', this.src)"></script>
+1 -4
View File
@@ -130,10 +130,7 @@
}
function renderHop(h) {
if (showHexHashes) {
return `<span class="hop">${escapeHtml(h)}</span>`;
}
return HopDisplay.renderHop(h, hopNameCache[h]);
return HopDisplay.renderHop(h, hopNameCache[h], { hexMode: showHexHashes });
}
function renderPath(hops) {