From 08a357e85ec66883b5712e87aadccd6cdc20a2ff Mon Sep 17 00:00:00 2001 From: Indra Gunawan Date: Fri, 16 Oct 2026 07:40:22 +0700 Subject: [PATCH] perf: load charts.js and console.js with defer; fix console socket leak after boosted navigation Inline chart init waits for DCL on a full load (dockifyReady in app.js). The console cleanup is registered when a console opens (it was pushed once at script load and lost after the first swap), and setStatus ignores a status element that is gone. Co-Authored-By: Claude Opus 5.5 --- docs/DESIGN-SYSTEM.md | 2 +- internal/http/static/app.js | 6 ++++++ internal/http/static/console.js | 7 +++++-- internal/http/templates/apps_detail.html | 4 ++-- internal/http/templates/layout.html | 4 ++-- internal/http/templates/servers_detail.html | 4 ++-- 6 files changed, 18 insertions(+), 9 deletions(-) diff --git a/docs/DESIGN-SYSTEM.md b/docs/DESIGN-SYSTEM.md index 1e98336..406de81 100644 --- a/docs/DESIGN-SYSTEM.md +++ b/docs/DESIGN-SYSTEM.md @@ -174,7 +174,7 @@ Garis progres 3px (`#progress`) saat navigasi boosted >150 ms, hormati reduced-m ### 7.1 Navigasi boosted (S9) - ``. Setiap halaman kerja membungkus **seluruh** isi (konten, sheet, `