mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-05-07 13:54:49 +02:00
083c322741
Stage 3 of path_hash_mode support. All hardcoded 1-byte hash assumptions removed from app.js — hops, path segments, and echo badges now use the decoded hop_count and hash_size from the backend. Changes in app.js: - appendMessageFromSocket: pass hop_count, path_hash_size, echo_hash_sizes - updateMessageMetaDOM: use hop_count instead of raw path_len for Hops - updateMessageMetaDOM: segment paths by hash_size*2 chars, not fixed 2 - updateMessageMetaDOM: echo badge uses hash_size-aware prefix length - createMessageElement: same fixes as updateMessageMetaDOM - showPathsPopup: segment paths by hash_size, derive hops from segments Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>