Skip to content

feat: packet inspector detail for non-raw packets - #25

Merged
sg merged 1 commit into
mainfrom
feat/packet-detail-inspector
Jun 19, 2026
Merged

feat: packet inspector detail for non-raw packets#25
sg merged 1 commit into
mainfrom
feat/packet-detail-inspector

Conversation

@sg

@sg sg commented Jun 19, 2026

Copy link
Copy Markdown
Owner

What changed

  • The Packets-screen Inspector now renders full details for non-raw packets (ADVERT, CMD_ACK, CONTACT, CONTACTS_SYNC, ACK, REPEAT/NO_REPEAT, etc.) instead of "no raw bytes for this packet".
  • New PacketDetail.vue shows, per selected row:
    • A one-line description of what the event is and what the bot does with it.
    • Packet — the indexed envelope fields the bot extracted (time, type, channel, sender, pubkey, path/hops, SNR/RSSI, text), omitting unset ones.
    • Payload — parsed payload_json (the raw library event payload).
    • Attributes — parsed attributes_json when present.
  • Packets.vue fetches the full row via GET /api/packets/{id} for non-raw rows (the list view omits the JSON blobs); raw packets keep the existing hex breakout.

Why

The inspector previously only worked for RX_LOG raw frames; every other packet type showed a dead-end message even though the data (payload_json/attributes_json + envelope columns) was already stored. This surfaces what the bot is doing/seeing for each event.

Breaking changes

None. Frontend-only; no API or schema changes. Rebuilt webapi/static/ assets included.

@sg
sg merged commit 28b1b13 into main Jun 19, 2026
1 check passed
@sg
sg deleted the feat/packet-detail-inspector branch June 19, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant