Repository navigation
S7: skrip ukur UI, lazy-load xterm/charts/htmx, perf sebelum-sesudah - #107
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ringkasan
S7: pengukuran (K8) dan perbaikan performa.
tests/e2e/ui.mjs(Node + Playwright dari~/.local/share/pw-tools, tanpa dependensi repo): menyemai dataZZ Ujibila kosong, screenshot 8 halaman × 3 viewport × terang/gelap (+ login, + navy/teal di 390 gelap), overflow 360/390, node DOM per halaman dan per baris, navigasi CPU 4x + 80 ms per request (median 5), ukuran transfer dingin, kontras WCAG 19 pasangan × 3 palet × 2 tema dariapp.css, a11y cepat;OUT/report.md; exit 1 bila overflow/kontras/a11y gagal.loadXterm);live_charts→static/charts.js, dan htmx, dimuat hanya di halaman detail app/server; font Google dimuat non-blocking (media=print+ onload,<noscript>fallback,display=swaptetap);.breadcrumbdigabung.docs/ui-revamp/perf-sebelum.mddanperf-sesudah.md; cara menjalankan di AGENTS.md.Hasil (CPU 4x, +80 ms per request, median 5, 390 px)
Overflow 0; kontras 19/19 di 6 kombinasi; a11y: 0 kontrol tanpa nama, 0 dialog tanpa label, fokus Tab terlihat di 8 halaman.
Tidak tercapai / catatan
preloadCSS (sesuai arahan); CSS tetap satu file 38 KB.Penyimpangan
Terminalundefined sebelum klik, terdefinisi dan.xtermmuncul setelah klik).live_charts.htmldihapus (jadicharts.js).request.sizes()pada konteks dingin; header ikut dihitung.🤖 Generated with Claude Code