Simplify historical summary copy

This commit is contained in:
devRaGonSa
2026-03-21 00:51:49 +01:00
parent 37e78c3881
commit 59d23ecc88
2 changed files with 5 additions and 5 deletions

View File

@@ -181,7 +181,7 @@ function hydrateSummary(result, summaryNode, rangeNode, noteNode) {
), ),
renderSummaryCard("Jugadores unicos", formatNumber(summary.unique_players)), renderSummaryCard("Jugadores unicos", formatNumber(summary.unique_players)),
renderSummaryCard( renderSummaryCard(
"Cobertura registrada", "Datos registrados",
formatCoverageDays(coverage.coverage_days), formatCoverageDays(coverage.coverage_days),
), ),
renderSummaryCard("Primera partida", formatTimestamp(coverage.first_match_at)), renderSummaryCard("Primera partida", formatTimestamp(coverage.first_match_at)),
@@ -394,7 +394,7 @@ function buildSummaryNote(summaryBasis, weeklyWindowDays, coverage) {
if (status === "under-week") { if (status === "under-week") {
return `Este bloque resume ${basisLabel}. Ahora mismo esa cobertura todavia no alcanza ${weeklyWindowLabel}.`; return `Este bloque resume ${basisLabel}. Ahora mismo esa cobertura todavia no alcanza ${weeklyWindowLabel}.`;
} }
return `Este bloque resume ${basisLabel}. El ranking semanal de abajo usa solo partidas cerradas de los ultimos ${weeklyWindowLabel}.`; return "Datos generales registrados de los servidores";
} }
function buildWeeklyWindowNote(payload) { function buildWeeklyWindowNote(payload) {

View File

@@ -70,10 +70,10 @@
<div class="panel__shell"> <div class="panel__shell">
<div class="panel__header historical-panel__header"> <div class="panel__header historical-panel__header">
<div> <div>
<p class="eyebrow eyebrow--section">Cobertura registrada</p> <p class="eyebrow eyebrow--section">Datos registrados</p>
<h2 id="historical-summary-title">Resumen del historico persistido</h2> <h2 id="historical-summary-title">Resumen</h2>
<p class="historical-panel__note" id="historical-summary-note"> <p class="historical-panel__note" id="historical-summary-note">
Este bloque resume solo la cobertura ya registrada en la base local. Datos generales registrados de los servidores
</p> </p>
</div> </div>
<p class="status-chip status-chip--fallback" id="historical-range"> <p class="status-chip status-chip--fallback" id="historical-range">