1.0 KiB
1.0 KiB
Plan - Refactor UMKM Edit Pages Pattern
Problem
The edit pages for UMKM (Data UMKM and Produk) use an older UI pattern. The user wants to align them with the newer pattern used in the Berita edit page.
Strategy
- Analyze the pattern in
src/app/admin/(dashboard)/desa/berita/list-berita/[id]/edit/page.tsx. - Refactor
src/app/admin/(dashboard)/ekonomi/umkm/produk/[id]/edit/page.tsxto match the pattern. - Refactor
src/app/admin/(dashboard)/ekonomi/umkm/data-umkm/[id]/edit/page.tsxto match the pattern. - Add "Batal" (Reset) functionality to both pages.
- Standardize UI components (Header, Paper, Dropzone, Action buttons).
- Verify with a production build.
- Follow the versioning and deployment workflow.
Progress
- Analyze Berita edit page pattern
- Refactor UMKM Produk edit page (with interfaces)
- Refactor Data UMKM edit page (with interfaces)
- Run build and fix any errors
- Update version in package.json
- Commit and push to task branch
- Merge to stg branch