Home: move heatmap above 'Recently finished'

This commit is contained in:
jozamudi committed 2026-08-25 21:18:13 +00:00
1 parent 2f68218a8f
commit 27c3783f77
1 file changed
+2 -2
+2 -2
View File
@@ -170,6 +170,8 @@ function showHome() {
const done = shows.filter(x => histClass(x) === "done").slice(0, 6);
showSec("Continue watching", cont, [link("history \u2192", "?history")]);
showSec("On hold", hold, hold.length ? [link("history \u2192", "?history")] : []);
// watch-time heatmap (past year, shared with ?stats)
main.append(heatSection());
showSec("Recently finished", done, done.length ? [link("history \u2192", "?history")] : []);
// 5. stats line (compact; full breakdown at ?stats)
const sh = el("div", "sec-head");
@@ -182,8 +184,6 @@ function showHome() {
` (${d.episodes.completed} finished) \u00b7 ${d.days_active} active days \u00b7` +
` best streak ${d.best_streak}d \u00b7 ${d.on_hold} on hold`;
}).catch(() => sl.remove());
// 5b. watch-time heatmap (past year, shared with ?stats)
main.append(heatSection());
}
// ---------- search ----------