Commit Graph

159 Commits

Author SHA1 Message Date
3e1a923d6a feat: PDF report lengkap dengan summary, top 5, attention villages, trend, peak hours
- PDF report memuat 6 ringkasan kartu: desa aktif/nonaktif/no-activity,
  total aktivitas, pengguna aktif/nonaktif
- Section Top 5 desa paling aktif dengan progress bar dan medal emoji
- Section Villages Needing Attention untuk desa nonaktif atau tanpa aktivitas
- Tabel semua desa dengan kolom trend vs periode sebelumnya
- Section Peak Activity Hours dalam layout dua kolom bersama Top 5
- Menggunakan window.open + HTML string untuk output yang bersih dan terbaca
2026-05-28 15:39:57 +08:00
a2b3c9bc85 feat: tambah section inactive users di halaman detail desa 2026-05-28 15:14:54 +08:00
733a36bba7 feat: tambah fitur export CSV untuk logs dan users 2026-05-28 15:06:18 +08:00
1f18001c86 feat: tambah peak hours chart di halaman village detail 2026-05-28 14:47:16 +08:00
0e2c97df47 feat: tambah filter inactive since di halaman user management 2026-05-28 14:32:56 +08:00
75d2ef5b4c fix: ubah teks stale villages alert ke bahasa inggris 2026-05-28 14:19:21 +08:00
b7aecea433 feat: nama desa di activity logs bisa diklik menuju village detail 2026-05-28 14:18:08 +08:00
2e64c1c2a6 feat: tambah stale villages alert card di halaman overview desa-plus 2026-05-28 14:14:40 +08:00
3c188e66d2 feat: tambah kolom Last Activity di tabel user management desa-plus 2026-05-28 14:09:46 +08:00
e82443ee03 chore: bump version to 0.1.17 2026-05-26 16:28:44 +08:00
501fbde118 fix: perbaiki layout tabel dan accordion di layar sempit
Co-authored-by: amaliadwiy <amaliadwiy@users.noreply.github.com>
2026-05-26 15:11:25 +08:00
fe4ddf686e fix: perbaiki layout tabel User Management agar tidak overflow di layar sempit 2026-05-26 15:00:47 +08:00
fe83fd6025 fix: perbaiki layout accordion header Bug Reports agar badge status selalu terlihat 2026-05-26 14:50:47 +08:00
457f36be06 fix: perbaiki layout filter Activity Logs agar tidak overflow 2026-05-26 14:43:59 +08:00
5002fd1519 fix: perbaiki layout table Recent Error Reports di dashboard
Kolom App, Version, Reported, dan Status tidak lagi wrap atau terpotong.
Tambah horizontal scroll pada container dan minWidth pada table.
2026-05-26 14:37:28 +08:00
8aaec351cf Merge pull request 'amalia/25-mei-26' (#26) from amalia/25-mei-26 into main
Reviewed-on: #26
2026-05-25 17:33:49 +08:00
ed49f2e4d1 chore: bump version to 0.1.16 2026-05-25 15:13:10 +08:00
f368e1d31b feat: bug statistics + village detail dashboard enhancement
- Tambah GET /api/bugs/stats dengan summary cards & chart trend/bugs per app
- Tambah date range picker di village activity chart
- Tambah tabel Recent Activity (action + description) di village detail
- Update API graph-log-villages support dateFrom/dateTo custom range
2026-05-25 15:00:33 +08:00
2921f604a9 chore: tambah .claude/ ke .gitignore 2026-05-25 12:03:19 +08:00
a19846f589 feat: copy full API key on-demand di halaman dev
Sebelumnya copy button mengcopy key yang sudah ter-mask dari list endpoint
Desa+ API. Sekarang klik copy fetch full key via GET /api-keys/:id lalu
salin ke clipboard.
2026-05-25 11:59:54 +08:00
e32addbc85 feat: notifikasi real-time bug baru via WebSocket
- presence.ts: tambah notifSubs (ADMIN+DEVELOPER) dan broadcastNotification
- app.ts: broadcast new_bug event setelah bug dibuat, update WS handler
- usePresence: terima callback onNewBug, expose NewBugPayload type
- DashboardLayout: pasang usePresence, tampilkan Mantine notification saat bug baru masuk
2026-05-25 11:35:21 +08:00
8c33003b17 feat: debounce search, tambah filter source & date range di bug-reports, hapus seafile.ts
- Debounce search input (400ms, min 3 karakter) sesuai konvensi
- Tambah filter source (QC/SYSTEM/USER) dan date range di bug-reports
- Backend /api/bugs support query param source, dateFrom, dateTo
- Update API_URLS.getBugs dengan param baru
- Hapus seafile.ts (dead code, tidak digunakan)
2026-05-25 11:31:37 +08:00
cc81c8b91e Merge pull request 'amalia/22-mei-26' (#25) from amalia/22-mei-26 into main
Reviewed-on: #25
2026-05-22 17:40:30 +08:00
5515401614 fix: workflow dispatch ref dari main ke stg
Publish dan re-pull workflow harus di-trigger dari branch stg, bukan main,
agar kode yang di-build sesuai dengan yang di-deploy ke stg.
2026-05-22 17:30:19 +08:00
2e722fd8e3 chore: bump version to 0.1.15 2026-05-22 17:24:10 +08:00
f8c8aeed40 fix: deploy tool push ke remote build bukan origin
Sebelumnya push ke origin (Gitea) dengan branch build/stg, seharusnya ke
remote build (GitHub) branch stg.
2026-05-22 17:23:48 +08:00
312aaf9dd8 chore: bump version to 0.1.14 2026-05-22 17:11:12 +08:00
7d879d1901 feat: add show/hide and copy for API keys on dev page
- Display client key and server key on Settings app cards with toggle
  visibility and copy button
- Hide API keys table in Desa Mandiri Keys tab behind toggle + copy
- Add eye toggle to password inputs in Add App and Edit API Config
  modals
- Backend now returns apiKey and clientApiKey in apps list endpoint
2026-05-22 17:10:36 +08:00
4464f42da3 chore: bump version to 0.1.13 2026-05-22 14:29:21 +08:00
0846ac924c feat: time range selector & area chart improvements
- Add 7D/30D/3M toggle on Daily Activity and Comparison Between Villages charts
- Switch LineChart to AreaChart with fillOpacity 0.4 for bold gradient fill
- Fix broken tooltip on all charts with custom dark card content
- Apply consistent chart style (tickLine, gridAxis, glow) to village detail page
- api.ts: getDailyActivity and getComparisonActivity now accept range param
2026-05-22 14:16:31 +08:00
91dead0082 fix: resolve 5 bugs on app overview page
- Migrate useQuery to useSWR for consistency (no mixed fetching)
- Fix trend badge: guard against undefined grid and NaN comparison
- Fix trend badge: hide when increase is exactly 0
- Fix version modal: use gridRef so background refetch cannot overwrite user edits
- ErrorDataTable: migrate to useSWR, expose refresh() via forwardRef so the
  refresh button at the top also reloads the error table
2026-05-22 12:15:42 +08:00
7808de0db3 docs: split CLAUDE.md into focused reference files
Move Common Commands to docs/COMMANDS.md and add docs/CONVENTIONS.md
for frontend patterns (SWR, filters, Mantine, routing, API URLs).
CLAUDE.md now only contains runtime rules and pointers.
2026-05-22 12:08:39 +08:00
0afc2e271a feat: improve logs page with debounce, action/village/date filters, and timestamp fix 2026-05-22 11:37:37 +08:00
603a0a04b7 feat: server-side filter, village filter, and sortable columns on users page 2026-05-22 11:17:38 +08:00
ed9f59f404 feat: add status and role filter on users page 2026-05-22 11:07:01 +08:00
b79c63a5e8 refactor: improve users page code quality
- extract shared UserFormFields component to eliminate form duplication between Add and Edit modals
- debounce search input (400ms) to prevent excessive API calls
- fix validation messages to show human-readable labels instead of internal field names
- fix pagination visibility condition (totalPage > 1)
- remove unused TbEdit import
2026-05-22 11:04:56 +08:00
4d5c2bf632 Merge pull request 'amalia/20-mei-26' (#24) from amalia/20-mei-26 into main
Reviewed-on: #24
2026-05-20 17:23:15 +08:00
c782f956e0 chore: bump version to 0.1.12 2026-05-20 14:08:35 +08:00
515ee01d53 chore: bump version to 0.1.11 2026-05-20 13:57:48 +08:00
058dd95b4f refactor: rename and reorder dev panel tabs for clarity
- Rename "API Keys" → "Desa Mandiri Keys" (tab + panel title + description)
- Rename "Settings" → "App Config" (tab + panel title)
- Move "Desa Mandiri Keys" to last position with a divider separator
- Import Divider from @mantine/core
2026-05-20 12:32:06 +08:00
ef2183ffb7 chore: bump version to 0.1.10 2026-05-19 15:40:05 +08:00
9afe9297e0 Merge pull request 'amalia/18-mei-26' (#23) from amalia/18-mei-26 into main
Reviewed-on: #23
2026-05-18 17:26:01 +08:00
f98fb51cfd feat: tambah field isApprover pada edit user modal 2026-05-18 16:42:32 +08:00
3b8eabc111 fix: gender select value M/F instead of Male/Female 2026-05-18 16:31:43 +08:00
88ddb7527e Merge pull request 'chore: bump version to 0.1.9' (#22) from amalia/15-mei-26 into main
Reviewed-on: #22
2026-05-15 14:22:43 +08:00
abca720f89 chore: bump version to 0.1.9 2026-05-15 11:51:57 +08:00
a69b0aad48 Merge pull request 'upd: setting api key sistem desa mandiri' (#21) from amalia/13-mei-26 into main
Reviewed-on: #21
2026-05-13 17:24:37 +08:00
2cb061ea7f upd: setting api key sistem desa mandiri 2026-05-13 17:23:27 +08:00
a53309bf15 Merge pull request 'amalia/12-mei-26' (#20) from amalia/12-mei-26 into main
Reviewed-on: #20
2026-05-12 17:24:25 +08:00
b75a51727b chore: bump version to 0.1.8 2026-05-12 15:00:59 +08:00