Files
desa-darmasaba/MIND/PLAN/task-refactor-umkm-pasar-desa-v2.md
nico 1a48c15c87 refactor(ekonomi): consolidate Pasar Desa into UMKM module
- Remove "Pasar Desa" as a separate entity; products are now strictly linked to UMKM.
- Delete redundant Pasar Desa API endpoints and state management.
- Update Admin UI: remove "Pasar Desa" menu and unified product management under UMKM.
- Update Public UI: replace "Pasar Desa" with "UMKM" in navbar and unified hub at /darmasaba/ekonomi/umkm.
- Implement mandatory umkmId in PasarDesa model and update seeders accordingly.
- Fix UI bugs, missing imports, and invalid API filters for mandatory umkmId.
- Increment version to 0.1.18.
2026-04-21 17:52:08 +08:00

520 B

Task: Refactor UMKM and Pasar Desa (Consolidation)

  • Cleanup API imports in src/app/api/[[...slugs]]/_lib/ekonomi/index.ts
  • Remove "Pasar Desa" menu in src/app/admin/_com/list_PageAdmin.tsx
  • Remove "Pasar Desa" from public navbar in src/con/navbar-list-menu.ts
  • Refactor public page src/app/darmasaba/(pages)/ekonomi/pasar-desa/page.tsx
  • Run build and fix errors
  • Update version and commit