feat: Complete Admin Phase 4 Forum screens migration + add PADDING_INLINE

- Migrate 6 admin forum screens to OS_Wrapper (posting list, report lists, detail reports)
- Add contentPadding={PADDING_INLINE} to all 6 forum screens for consistent spacing
- Disable margin style in renderItem for list comment and detail report screens (temporarily commented out)
- Update TASK-005 with Admin Phase 4 completion status
- Total: 167 files migrated (~94% complete)

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
2026-04-15 10:06:32 +08:00
parent 670e374bb4
commit 115e9c49a2
7 changed files with 112 additions and 70 deletions

View File

@@ -397,18 +397,56 @@ import { OS_Wrapper } from "@/components";
- [ ] `screens/Admin/Donation/ScreenDonationCreate.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
- [ ] `screens/Admin/Donation/ScreenDonationEdit.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
## Admin Phase 4: Forum Admin (Priority: MEDIUM)
- [ ] `screens/Admin/Forum/ScreenForumList.tsx`
- [ ] `screens/Admin/Forum/ScreenForumPosting.tsx`
- [ ] `screens/Admin/Forum/ScreenForumReportPosting.tsx`
- [ ] `screens/Admin/Forum/ScreenForumReportComment.tsx`
- [ ] `screens/Admin/Forum/ScreenForumDetail.tsx`
## Admin Phase 4: Forum Management - COMPLETED (2026-04-15)
## ⏳ Admin Phase 5: Collaboration Admin (Priority: MEDIUM)
- [ ] `screens/Admin/Collaboration/ScreenCollaborationList.tsx`
- [ ] `screens/Admin/Collaboration/ScreenCollaborationGroup.tsx`
- [ ] `screens/Admin/Collaboration/ScreenCollaborationPublish.tsx`
- [ ] `screens/Admin/Collaboration/ScreenCollaborationReject.tsx`
**Files migrated: 6**
#### Admin Forum List Screens (OS_Wrapper):
- `screens/Admin/Forum/ScreenForumPosting.tsx` - NewWrapper → OS_Wrapper (forum posting list with search + pagination)
- `screens/Admin/Forum/ScreenForumReportComment.tsx` - NewWrapper → OS_Wrapper (reported comments list with search + pagination)
-`screens/Admin/Forum/ScreenForumReportPosting.tsx` - NewWrapper → OS_Wrapper (reported postings list with search + pagination)
-`screens/Admin/Forum/ScreenForumListComment.tsx` - NewWrapper → OS_Wrapper + `contentPadding={PADDING_INLINE}` + disabled margin style (comment list with pagination)
#### Admin Forum Detail Screens (OS_Wrapper):
-`screens/Admin/Forum/ScreenForumDetailReportComment.tsx` - NewWrapper → OS_Wrapper + `contentPadding={PADDING_INLINE}` + disabled margin style (comment detail + report list)
-`screens/Admin/Forum/ScreenForumDetailReportPosting.tsx` - NewWrapper → OS_Wrapper + `contentPadding={PADDING_INLINE}` + disabled margin style (posting detail + report list)
**Testing Status:**
- ✅ TypeScript: No errors
- ⏳ Build: Pending
- ⏳ iOS Testing: Pending
- ⏳ Android Testing: Pending
## ✅ Admin Phase 8: App Information - COMPLETED (2026-04-15)
**Files migrated: 9**
#### Admin App Information List Screens (OS_Wrapper):
-`screens/Admin/App-Information/ScreenAppInformation.tsx` - NewWrapper → OS_Wrapper (main list with category tabs + pagination)
-`screens/Admin/App-Information/ScreenBusinessFieldDetail.tsx` - NewWrapper → OS_Wrapper (detail with sub-bidang list + pagination)
#### Admin Business Field Form Screens (OS_Wrapper with enableKeyboardHandling):
-`app/(application)/admin/app-information/business-field/create.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
-`app/(application)/admin/app-information/business-field/[id]/bidang-update.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
-`app/(application)/admin/app-information/business-field/[id]/sub-bidang-update.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
#### Admin Information Bank Form Screens (OS_Wrapper with enableKeyboardHandling):
-`app/(application)/admin/app-information/information-bank/create.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
-`app/(application)/admin/app-information/information-bank/[id]/index.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
#### Admin Sticker Form Screens (OS_Wrapper static, no keyboard handling):
-`app/(application)/admin/app-information/sticker/create.tsx` - ViewWrapper → OS_Wrapper (SelectCustom + CheckboxGroup only)
-`app/(application)/admin/app-information/sticker/[id]/index.tsx` - ViewWrapper → OS_Wrapper (SelectCustom + CheckboxGroup only)
**Testing Status:**
- ✅ TypeScript: No errors
- ⏳ Build: Pending
- ⏳ iOS Testing: Pending
- ⏳ Android Testing: Pending
---
## ⏳ Admin Phase 5: Collaboration Management - PENDING
- [ ] `screens/Admin/Collaboration/ScreenCollaborationDetail.tsx`
## ✅ Admin Phase 6: Job Admin - COMPLETED (2026-04-14)
@@ -438,29 +476,29 @@ import { OS_Wrapper } from "@/components";
- [ ] `screens/Admin/Investment/ScreenInvestmentDetail.tsx`
- [ ] `screens/Admin/Investment/ScreenInvestmentStatus.tsx`
## Admin Phase 8: App Information - PENDING
## Admin Phase 8: App Information - COMPLETED (2026-04-15)
**Files to migrate: 11**
**Files migrated: 9**
#### Admin App Information List Screens (OS_Wrapper):
- [ ] `screens/Admin/App-Information/ScreenAppInformation.tsx` - NewWrapper → OS_Wrapper (main list with category tabs + pagination)
- [ ] `screens/Admin/App-Information/ScreenBusinessFieldDetail.tsx` - NewWrapper → OS_Wrapper (detail with sub-bidang list + pagination)
- `screens/Admin/App-Information/ScreenAppInformation.tsx` - NewWrapper → OS_Wrapper (main list with category tabs + pagination)
- `screens/Admin/App-Information/ScreenBusinessFieldDetail.tsx` - NewWrapper → OS_Wrapper (detail with sub-bidang list + pagination)
#### Admin Business Field Form Screens (OS_Wrapper with enableKeyboardHandling):
- [ ] `app/(application)/admin/app-information/business-field/create.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- [ ] `app/(application)/admin/app-information/business-field/[id]/bidang-update.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- [ ] `app/(application)/admin/app-information/business-field/[id]/sub-bidang-update.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- `app/(application)/admin/app-information/business-field/create.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- `app/(application)/admin/app-information/business-field/[id]/bidang-update.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- `app/(application)/admin/app-information/business-field/[id]/sub-bidang-update.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
#### Admin Information Bank Form Screens (OS_Wrapper with enableKeyboardHandling):
- [ ] `app/(application)/admin/app-information/information-bank/create.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- [ ] `app/(application)/admin/app-information/information-bank/[id]/index.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- `app/(application)/admin/app-information/information-bank/create.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
- `app/(application)/admin/app-information/information-bank/[id]/index.tsx` - ViewWrapper → OS_Wrapper + `enableKeyboardHandling` + `contentPaddingBottom={250}`
#### Admin Sticker Form Screens (OS_Wrapper static, no keyboard handling):
- [ ] `app/(application)/admin/app-information/sticker/create.tsx` - ViewWrapper → OS_Wrapper (SelectCustom + CheckboxGroup only)
- [ ] `app/(application)/admin/app-information/sticker/[id]/index.tsx` - ViewWrapper → OS_Wrapper (SelectCustom + CheckboxGroup only)
- `app/(application)/admin/app-information/sticker/create.tsx` - ViewWrapper → OS_Wrapper (SelectCustom + CheckboxGroup only)
- `app/(application)/admin/app-information/sticker/[id]/index.tsx` - ViewWrapper → OS_Wrapper (SelectCustom + CheckboxGroup only)
**Testing Status:**
- TypeScript: Pending
- TypeScript: No errors
- ⏳ Build: Pending
- ⏳ iOS Testing: Pending
- ⏳ Android Testing: Pending