@@ -861,6 +871,24 @@ function normalizeExternalMatchUrl(value) {
}
}
+function buildInternalMatchDetailUrl(item) {
+ const serverSlug = item?.server?.slug;
+ const matchId = item?.match_id;
+ if (typeof serverSlug !== "string" || !serverSlug.trim()) {
+ return "";
+ }
+ if (typeof matchId !== "string" && typeof matchId !== "number") {
+ return "";
+ }
+ const normalizedMatchId = String(matchId).trim();
+ if (!normalizedMatchId) {
+ return "";
+ }
+ return `./historico-partida.html?server=${encodeURIComponent(
+ serverSlug.trim(),
+ )}&match=${encodeURIComponent(normalizedMatchId)}`;
+}
+
function renderSummaryLoading(summaryNode) {
summaryNode.innerHTML = renderSummaryCard("Estado", "Cargando datos historicos");
}
diff --git a/frontend/historico-partida.html b/frontend/historico-partida.html
new file mode 100644
index 0000000..b6905a4
--- /dev/null
+++ b/frontend/historico-partida.html
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
Detalle de partida - HLL Vietnam
+
+
+
+
+
+
+
+
+
+
+
+

+
+
+
+
+ Partida registrada
+
+
+ Cargando datos disponibles del historico local.
+
+
+
+
+
+
+
+
+
+
+
+
+ Cargando detalle...
+
+
+
+
+
+
+
+
+
+
+