Skip to content

Commit

Permalink
more icons for message types
Browse files Browse the repository at this point in the history
  • Loading branch information
DJ2LS committed Feb 24, 2025
1 parent 8843aad commit 2779d67
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions freedata_gui/src/components/grid/grid_active_heard_stations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,19 @@ function pushToPing(origin) {
function getActivityInfo(activityType) {
switch (activityType) {
case 'ARQ_SESSION_INFO':
return { iconClass: 'bi bi-info-circle', description: activityType };
case 'ARQ_SESSION_OPEN':
case 'ARQ_SESSION_OPEN_ACK':
return { iconClass: 'bi bi-link', description: activityType };
case 'ARQ_BURST':
case 'ARQ_BURST_ACK':
return { iconClass: 'bi bi-file-earmark-binary', description: activityType };
case 'P2P_CONNECTION_CONNECT':
case 'P2P_CONNECTION_CONNECT_ACK':
case 'P2P_CONNECTION_PAYLOAD':
case 'P2P_CONNECTION_PAYLOAD_ACK':
case 'P2P_CONNECTION_DISCONNECT':
case 'P2P_CONNECTION_DISCONNECT_ACK':
return { iconClass: 'bi bi-arrow-left-right', description: activityType };
case 'QRV':
return { iconClass: 'bi bi-person-raised-hand', description: activityType };
case 'CQ':
Expand Down

0 comments on commit 2779d67

Please sign in to comment.