Skip to content

S9: instant navigation (hx-boost + preload + head-support) and light PWA - #115

Merged
coderbuzz merged 3 commits into
mainfrom
feat/ui-s9-boost
Oct 15, 2026
Merged

coderbuzz merged 3 commits into
mainfrom
feat/ui-s9-boost

Conversation

@coderbuzz

Copy link
Copy Markdown
Owner

S9 — navigasi instan + PWA ringan

  • <body hx-boost> + ekstensi htmx preload 2.1.2 dan head-support 2.0.5 (vendored, URL + sha256 di static/SOURCES.md); hanya #main di-swap, header/tab bar tetap, aria-current, title, scroll-top, Back/Forward bekerja.
  • Skrip halaman idempoten (list.js, formatTimes), pembersih grafik/konsol lewat window.dockifyCleanups, garis progres 3px >150 ms, fallback load penuh bila respons tanpa #main (login redirect), halaman error 4xx/5xx tetap tampil.
  • PWA: manifest.webmanifest, ikon 192/512, sw.js (cache-first hanya /static/*, nama cache memuat AssetVersion), Service-Worker-Allowed: ../.
  • tests/e2e/ui.mjs: bagian boosted navigation, leak check, relogin; flow form memakai waitForURL. ui.mjs exit 0 dengan auth.

Bukti: docs/ui-revamp/perf-s9.md (klik tab 66 ms dengan preload, 154 ms tanpa; node DOM 236 → 236 setelah 10 bolak-balik).

Penyimpangan: htmx/charts.js/console.js dimuat global (bukan per halaman) agar urutan eksekusi skrip inline aman; 4xx/5xx boosted ditangani di htmx:beforeSwap (bukan responseHandling global) supaya stats card tidak menampilkan halaman error; cold-load +~80 KB / +5 request.

🤖 Generated with Claude Code

coderbuzz and others added 3 commits October 15, 2026 22:41
…ss bar, light PWA

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nk sends credentials

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…atus polling, stacked unload listeners)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderbuzz
coderbuzz merged commit 19dc1f6 into main Oct 15, 2026
2 checks passed
@coderbuzz
coderbuzz deleted the feat/ui-s9-boost branch October 15, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant