amalia/22-mei-26 #25

Merged
amaliadwiy merged 13 commits from amalia/22-mei-26 into main 2026-05-22 17:40:31 +08:00

13 Commits

Author SHA1 Message Date
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