feat(operator): rapikan dashboard operator & detail laporan untuk mobile#16
Merged
Conversation
Dashboard operator (OperatorDashboardPage):
- KPI jadi 2 kolom di mobile (bukan 1) & angka berukuran standar/modern
(1.8rem/700, bukan 3rem tipis), kartu lebih ringkas. Di-scope ke
.operator-kpis agar dashboard lain tak berubah.
- Switcher "Laporan Masuk" / "Riwayat Validasi" jadi segmented control modern
dengan badge jumlah laporan baru; "Antrean Laporan Masuk" -> "Laporan Masuk".
- Filter jadi 3 kolom satu baris (keparahan, SLA, Export); tombol Export CSV
hijau; label diringkas ("SLA"/"Export") di mobile agar muat.
- Baris antrean proporsional di mobile: badge turun jadi chip, deskripsi tak
overflow, aksi Validasi full-width lalu Tolak & Detail 2 kolom.
- Banner: tombol "Ringkasan Provinsi" -> "Lihat laporan" yang scroll ke daftar
laporan (bukan pindah halaman).
Detail laporan (ReportDetailPage):
- Skeleton shimmer saat memuat (hilangkan kedip "tidak ditemukan").
- Indikator status jadi 3 kolom di mobile.
- Form alasan penolakan pakai modal in-app (ganti window.prompt bawaan browser).
- Saat ditolak: tampilkan toast lalu kembali ke dashboard operator.
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.
Dashboard operator (OperatorDashboardPage):
Detail laporan (ReportDetailPage):