From 866182ec7734ad5b7b361b369453d5cc4fff1db7 Mon Sep 17 00:00:00 2001 From: Indra Gunawan Date: Thu, 15 Oct 2026 21:05:25 +0700 Subject: [PATCH] fix: UI audit S8 (form handle, error page, prune result, console.js, lists, docs) Co-Authored-By: Claude Sonnet 5.5 --- AGENTS.md | 12 +- README.md | 12 +- SPEC.md | 70 ++--------- internal/http/static/app.css | 61 +++------- internal/http/static/app.js | 30 +++-- internal/http/static/console.js | 112 +++++++++++++++++ internal/http/templates.go | 2 +- internal/http/templates/apps_add.html | 37 +++--- internal/http/templates/apps_detail.html | 125 +------------------ internal/http/templates/apps_list.html | 8 +- internal/http/templates/error.html | 7 +- internal/http/templates/export.html | 10 +- internal/http/templates/import.html | 2 +- internal/http/templates/layout.html | 128 +------------------- internal/http/templates/servers_detail.html | 21 ++-- internal/http/templates/servers_list.html | 10 +- internal/http/templates/ui_listbar.html | 2 +- internal/server/handler.go | 11 +- tests/e2e/ui.mjs | 61 +++++++++- 19 files changed, 283 insertions(+), 438 deletions(-) create mode 100644 internal/http/static/console.js diff --git a/AGENTS.md b/AGENTS.md index 30fb3c5..d29a35c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -50,17 +50,7 @@ Set `DOCKIFY_DEV_MOCK=true` to use mock SSH client — no real VMs needed for UI ## UI Style Guide -**UI baru atau perubahan UI WAJIB mengikuti `docs/DESIGN-SYSTEM.md`** (token 3 palet × terang/gelap, partial komponen, hierarki aksi, checklist). Rencana revamp: `docs/UI-REVAMP-PLAN.md`. Bagian di bawah ini menjelaskan kondisi sebelum revamp dan akan diganti saat S8. - -All styles live in `internal/http/templates/layout.html` (single `