fix(ui): channelBreakdown entfernt + Nachrichten-Trenner stärker (closes #1)
- index.html: channelBreakdown-Card entfernt - dashboard.js: chBreakdown-Befüllungsblock entfernt - style.css: .msg-full-item padding .6→.75rem, border 1px→2px Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b431797d32
commit
76f04105b7
|
|
@ -1,5 +1,12 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [0.08.21] - 2026-02-20
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- **Dashboard**: `channelBreakdown`-Card entfernt (closes #1 Aufgabe 1).
|
||||||
|
- **Nachrichten-Seite**: Trenner zwischen Nachrichten stärker –
|
||||||
|
Padding `.6rem` → `.75rem`, Border `1px` → `2px` (closes #1 Aufgabe 2).
|
||||||
|
|
||||||
## [0.08.20] - 2026-02-20
|
## [0.08.20] - 2026-02-20
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
version: "0.08.20"
|
version: "0.08.21"
|
||||||
|
|
||||||
bot:
|
bot:
|
||||||
name: "MeshDD-Bot"
|
name: "MeshDD-Bot"
|
||||||
|
|
|
||||||
|
|
@ -305,8 +305,8 @@
|
||||||
/* ── Full Messages Page ──────────────────────────────────────── */
|
/* ── Full Messages Page ──────────────────────────────────────── */
|
||||||
|
|
||||||
.msg-full-item {
|
.msg-full-item {
|
||||||
padding: .6rem .875rem;
|
padding: .75rem .875rem;
|
||||||
border-bottom: 1px solid var(--bs-border-color);
|
border-bottom: 2px solid var(--bs-border-color);
|
||||||
}
|
}
|
||||||
.msg-full-item:last-child { border-bottom: none; }
|
.msg-full-item:last-child { border-bottom: none; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -96,11 +96,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Channel Breakdown -->
|
|
||||||
<div class="card card-outline mb-2">
|
|
||||||
<div class="card-body py-2 px-3 d-flex gap-1 flex-wrap" id="channelBreakdown"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Charts -->
|
<!-- Charts -->
|
||||||
<div class="row g-2 mb-2">
|
<div class="row g-2 mb-2">
|
||||||
<div class="col-md-6 col-xl-3">
|
<div class="col-md-6 col-xl-3">
|
||||||
|
|
|
||||||
|
|
@ -178,13 +178,6 @@ function updateStats(stats) {
|
||||||
updateChannelChart(stats);
|
updateChannelChart(stats);
|
||||||
updatePacketTypeChart(stats);
|
updatePacketTypeChart(stats);
|
||||||
|
|
||||||
const chBreakdown = document.getElementById('channelBreakdown');
|
|
||||||
const chCounts = stats.channel_breakdown || {};
|
|
||||||
const sortedChannels = Object.entries(channels).sort((a, b) => parseInt(a[0]) - parseInt(b[0]));
|
|
||||||
chBreakdown.innerHTML = sortedChannels.map(([chIdx, chName]) => {
|
|
||||||
const count = chCounts[chIdx] || 0;
|
|
||||||
return `<span class="badge bg-info bg-opacity-75">${escapeHtml(chName)} <span class="badge bg-light text-dark ms-1">${count}</span></span>`;
|
|
||||||
}).join('');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function isOnline(lastSeen) {
|
function isOnline(lastSeen) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue