From 2a835f52e9f49960e0daa9322abbd096d8f9cee0 Mon Sep 17 00:00:00 2001 From: Arthur Belleville Date: Sun, 17 May 2026 16:34:09 +0200 Subject: [PATCH] =?UTF-8?q?docs(19-03):=20complete=20tablo=20list=20revamp?= =?UTF-8?q?=20plan=2003=20=E2=80=94=20toggle=20button=20and=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 (1M context) --- .../19-tablo-list-revamp/19-03-SUMMARY.md | 108 ++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 .planning/phases/19-tablo-list-revamp/19-03-SUMMARY.md diff --git a/.planning/phases/19-tablo-list-revamp/19-03-SUMMARY.md b/.planning/phases/19-tablo-list-revamp/19-03-SUMMARY.md new file mode 100644 index 0000000..f40bec0 --- /dev/null +++ b/.planning/phases/19-tablo-list-revamp/19-03-SUMMARY.md @@ -0,0 +1,108 @@ +--- +phase: 19-tablo-list-revamp +plan: "03" +subsystem: frontend-templates +tags: [go, templ, htmx, tailwind, css, tablos, view-toggle, testing] + +# Dependency graph +requires: + - phase: 19-tablo-list-revamp + plan: "02" + provides: Dual card+row HTML structure and data-view CSS toggle rules +provides: + - View toggle button in TablosDashboard heading with inline onclick JS + - data-view="grid" initial attribute on #tablos-list container + - .view-toggle-btn CSS block in app.css (Section 20c) + - Three automated tests covering LIST-01, LIST-02, LIST-03 +affects: [] + +# Tech tracking +tech-stack: + added: [] + patterns: + - Inline onclick JS pattern (D-03/D-04): no Alpine.js, no localStorage, resets on reload + - Plain button with inline SVG avoids icon-set dependency for one-off icons + +key-files: + created: [] + modified: + - backend/templates/tablos.templ + - backend/internal/web/ui/app.css + - backend/static/tailwind.css + - backend/internal/web/handlers_tablos_test.go + +key-decisions: + - "Used plain