mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-10-23 15:52:24 +00:00
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:
1 parent
6e0151b7e1
commit
8d7ba43265
3 files changed
+4
-7
No files matched your search
@@ -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
@@ -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
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user