mirror of
https://github.com/l5yth/potato-mesh.git
synced 2026-05-05 13:02:43 +02:00
* web: prepare frontend for multi protocol * web: address review comments * fix: address review feedback on multi-protocol frontend prep - Replace iconHtml/innerHTML in renderChatTabs with iconSrc + DOM APIs; the img element is now built attribute-by-attribute so no innerHTML trust boundary exists even if iconSrc were to receive external input - Add MESHTASTIC_ICON_SRC / MESHCORE_ICON_SRC constants to protocol-helpers; meshtasticIconHtml() and meshcoreIconHtml() reference these so the asset path has a single source of truth - Use meshtasticIconHtml() in the map legend via a temp span to eliminate the 7-setAttribute duplication - Add getRoleColors(protocol) to role-helpers, making meshcoreRoleColors reachable through a tested code path rather than a dead export - Rename __test__ export in main.js to __testUtils for consistency - Add JSDoc cross-reference on normalizeNodeNameValue vs stringOrNull * web: address review comments * web: address review comments * web: address review comments