mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-08-12 11:42:56 +02:00
feat: Add "Heard X repeats" echo tracking for sent messages
Track how many repeaters heard and forwarded sent channel messages, similar to the Meshcore mobile app's "Heard X repeats" feature. - Bridge: Detect GRP_TXT echoes from stdout, track unique paths - Bridge: New /register_echo and /echo_counts API endpoints - API: Register messages for echo tracking after send - API: Merge echo counts into /api/messages response - Frontend: Display green badge with broadcast icon next to Resend button - CSS: Echo badge styling with dark mode support Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1041,3 +1041,29 @@ main {
|
||||
.scroll-to-bottom-btn:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
/* =============================================================================
|
||||
Echo Badge - "Heard X repeats" indicator for sent messages
|
||||
============================================================================= */
|
||||
|
||||
.echo-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
font-size: 0.7rem;
|
||||
color: #198754;
|
||||
padding: 0.2rem 0.4rem;
|
||||
margin-right: 0.25rem;
|
||||
border-radius: 0.25rem;
|
||||
background-color: rgba(25, 135, 84, 0.1);
|
||||
}
|
||||
|
||||
.echo-badge i {
|
||||
font-size: 0.65rem;
|
||||
}
|
||||
|
||||
/* Dark mode support */
|
||||
[data-bs-theme="dark"] .echo-badge {
|
||||
color: #75b798;
|
||||
background-color: rgba(117, 183, 152, 0.15);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user