feat: Complete Phase 6 Event screens migration + add PADDING_INLINE to tabs
User Phase 6 - Event Screens (16 files):
- Beranda, Status, History, Contribution (tabs screens)
→ NewWrapper → OS_Wrapper + contentPadding={PADDING_INLINE}
- create.tsx & edit.tsx → Forms with enableKeyboardHandling + contentPaddingBottom={250}
- [id]/publish.tsx, history.tsx, contribution.tsx, confirmation.tsx → Static detail screens
- [id]/[status]/detail-event.tsx → Status detail screen
- detail/[id].tsx → Detail route screen
- ScreenListOfParticipants.tsx → Participants list screen
Key Improvements:
- Added contentPadding={PADDING_INLINE} to all Event (tabs) screens to prevent tight edge margins.
- Form screens (create, edit) use enableKeyboardHandling + contentPaddingBottom={250}.
- Removed all ViewWrapper and NewWrapper instances from Event feature.
Documentation:
- Update TASK-005 with Phase 6 completion details and new progress totals.
- Added note about PADDING_INLINE usage for tab screens.
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
@@ -5,10 +5,10 @@ import {
|
|||||||
DrawerCustom,
|
DrawerCustom,
|
||||||
Grid,
|
Grid,
|
||||||
MenuDrawerDynamicGrid,
|
MenuDrawerDynamicGrid,
|
||||||
|
OS_Wrapper,
|
||||||
Spacing,
|
Spacing,
|
||||||
StackCustom,
|
StackCustom,
|
||||||
TextCustom,
|
TextCustom,
|
||||||
ViewWrapper,
|
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
||||||
import { IMenuDrawerItem } from "@/components/_Interface/types";
|
import { IMenuDrawerItem } from "@/components/_Interface/types";
|
||||||
@@ -95,7 +95,7 @@ export default function EventDetailStatus() {
|
|||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ViewWrapper>
|
<OS_Wrapper>
|
||||||
<BaseBox>
|
<BaseBox>
|
||||||
<StackCustom>
|
<StackCustom>
|
||||||
<TextCustom bold align="center" size="xlarge">
|
<TextCustom bold align="center" size="xlarge">
|
||||||
@@ -118,7 +118,7 @@ export default function EventDetailStatus() {
|
|||||||
status={status as string}
|
status={status as string}
|
||||||
/>
|
/>
|
||||||
<Spacing />
|
<Spacing />
|
||||||
</ViewWrapper>
|
</OS_Wrapper>
|
||||||
|
|
||||||
<DrawerCustom
|
<DrawerCustom
|
||||||
isVisible={openDrawer}
|
isVisible={openDrawer}
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import {
|
|||||||
ButtonCustom,
|
ButtonCustom,
|
||||||
CenterCustom,
|
CenterCustom,
|
||||||
LoaderCustom,
|
LoaderCustom,
|
||||||
|
OS_Wrapper,
|
||||||
StackCustom,
|
StackCustom,
|
||||||
TextCustom,
|
TextCustom,
|
||||||
ViewWrapper,
|
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
||||||
import { MainColor } from "@/constants/color-palet";
|
import { MainColor } from "@/constants/color-palet";
|
||||||
@@ -281,7 +281,7 @@ export default function UserEventConfirmation() {
|
|||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ViewWrapper>{handlerReturn()}</ViewWrapper>
|
<OS_Wrapper>{handlerReturn()}</OS_Wrapper>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@ import {
|
|||||||
DrawerCustom,
|
DrawerCustom,
|
||||||
LoaderCustom,
|
LoaderCustom,
|
||||||
MenuDrawerDynamicGrid,
|
MenuDrawerDynamicGrid,
|
||||||
|
OS_Wrapper,
|
||||||
Spacing,
|
Spacing,
|
||||||
ViewWrapper,
|
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
||||||
import { IMenuDrawerItem } from "@/components/_Interface/types";
|
import { IMenuDrawerItem } from "@/components/_Interface/types";
|
||||||
@@ -59,14 +59,14 @@ export default function EventDetailContribution() {
|
|||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ViewWrapper>
|
<OS_Wrapper>
|
||||||
{isLoadData ? (
|
{isLoadData ? (
|
||||||
<LoaderCustom />
|
<LoaderCustom />
|
||||||
) : (
|
) : (
|
||||||
<Event_BoxDetailPublishSection data={data} />
|
<Event_BoxDetailPublishSection data={data} />
|
||||||
)}
|
)}
|
||||||
<Spacing />
|
<Spacing />
|
||||||
</ViewWrapper>
|
</OS_Wrapper>
|
||||||
<DrawerCustom
|
<DrawerCustom
|
||||||
isVisible={openDrawer}
|
isVisible={openDrawer}
|
||||||
closeDrawer={() => setOpenDrawer(false)}
|
closeDrawer={() => setOpenDrawer(false)}
|
||||||
|
|||||||
@@ -3,14 +3,13 @@ import {
|
|||||||
BoxButtonOnFooter,
|
BoxButtonOnFooter,
|
||||||
ButtonCustom,
|
ButtonCustom,
|
||||||
LoaderCustom,
|
LoaderCustom,
|
||||||
NewWrapper,
|
OS_Wrapper,
|
||||||
SelectCustom,
|
SelectCustom,
|
||||||
Spacing,
|
Spacing,
|
||||||
StackCustom,
|
StackCustom,
|
||||||
TextAreaCustom,
|
TextAreaCustom,
|
||||||
TextCustom,
|
TextCustom,
|
||||||
TextInputCustom,
|
TextInputCustom,
|
||||||
ViewWrapper,
|
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import ListSkeletonComponent from "@/components/_ShareComponent/ListSkeletonComponent";
|
import ListSkeletonComponent from "@/components/_ShareComponent/ListSkeletonComponent";
|
||||||
import DateTimePickerCustom from "@/components/DateInput/DateTimePickerCustom";
|
import DateTimePickerCustom from "@/components/DateInput/DateTimePickerCustom";
|
||||||
@@ -186,7 +185,9 @@ export default function EventEdit() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<NewWrapper
|
<OS_Wrapper
|
||||||
|
enableKeyboardHandling
|
||||||
|
contentPaddingBottom={250}
|
||||||
footerComponent={
|
footerComponent={
|
||||||
<BoxButtonOnFooter>
|
<BoxButtonOnFooter>
|
||||||
<ButtonCustom
|
<ButtonCustom
|
||||||
@@ -283,7 +284,7 @@ export default function EventEdit() {
|
|||||||
/>
|
/>
|
||||||
</StackCustom>
|
</StackCustom>
|
||||||
)}
|
)}
|
||||||
</NewWrapper>
|
</OS_Wrapper>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {
|
|||||||
DotButton,
|
DotButton,
|
||||||
DrawerCustom,
|
DrawerCustom,
|
||||||
MenuDrawerDynamicGrid,
|
MenuDrawerDynamicGrid,
|
||||||
ViewWrapper,
|
OS_Wrapper,
|
||||||
Spacing,
|
Spacing,
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
||||||
@@ -54,10 +54,10 @@ export default function EventDetailHistory() {
|
|||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ViewWrapper>
|
<OS_Wrapper>
|
||||||
<Event_BoxDetailPublishSection data={data} />
|
<Event_BoxDetailPublishSection data={data} />
|
||||||
<Spacing />
|
<Spacing />
|
||||||
</ViewWrapper>
|
</OS_Wrapper>
|
||||||
<DrawerCustom
|
<DrawerCustom
|
||||||
isVisible={openDrawer}
|
isVisible={openDrawer}
|
||||||
closeDrawer={() => setOpenDrawer(false)}
|
closeDrawer={() => setOpenDrawer(false)}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
DotButton,
|
DotButton,
|
||||||
DrawerCustom,
|
DrawerCustom,
|
||||||
MenuDrawerDynamicGrid,
|
MenuDrawerDynamicGrid,
|
||||||
ViewWrapper,
|
OS_Wrapper,
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
import AppHeader from "@/components/_ShareComponent/AppHeader";
|
||||||
import { IMenuDrawerItem } from "@/components/_Interface/types";
|
import { IMenuDrawerItem } from "@/components/_Interface/types";
|
||||||
@@ -122,9 +122,9 @@ export default function EventDetailPublish() {
|
|||||||
|
|
||||||
if (isEventFinished) {
|
if (isEventFinished) {
|
||||||
return (
|
return (
|
||||||
<ViewWrapper>
|
<OS_Wrapper>
|
||||||
<CustomSkeleton />
|
<CustomSkeleton />
|
||||||
</ViewWrapper>
|
</OS_Wrapper>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -166,7 +166,7 @@ export default function EventDetailPublish() {
|
|||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ViewWrapper>
|
<OS_Wrapper>
|
||||||
{isLoadingData ? (
|
{isLoadingData ? (
|
||||||
<CustomSkeleton height={400} />
|
<CustomSkeleton height={400} />
|
||||||
) : (
|
) : (
|
||||||
@@ -175,7 +175,7 @@ export default function EventDetailPublish() {
|
|||||||
footerButton={FooterButton()}
|
footerButton={FooterButton()}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</ViewWrapper>
|
</OS_Wrapper>
|
||||||
|
|
||||||
<DrawerCustom
|
<DrawerCustom
|
||||||
isVisible={openDrawer}
|
isVisible={openDrawer}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
BoxButtonOnFooter,
|
BoxButtonOnFooter,
|
||||||
ButtonCustom,
|
ButtonCustom,
|
||||||
NewWrapper,
|
OS_Wrapper,
|
||||||
SelectCustom,
|
SelectCustom,
|
||||||
Spacing,
|
Spacing,
|
||||||
StackCustom,
|
StackCustom,
|
||||||
@@ -112,7 +112,9 @@ export default function EventCreate() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<NewWrapper
|
<OS_Wrapper
|
||||||
|
enableKeyboardHandling
|
||||||
|
contentPaddingBottom={250}
|
||||||
footerComponent={<BoxButtonOnFooter>{buttonSubmit}</BoxButtonOnFooter>}
|
footerComponent={<BoxButtonOnFooter>{buttonSubmit}</BoxButtonOnFooter>}
|
||||||
>
|
>
|
||||||
<StackCustom gap={"xs"}>
|
<StackCustom gap={"xs"}>
|
||||||
@@ -182,7 +184,7 @@ export default function EventCreate() {
|
|||||||
/>
|
/>
|
||||||
</StackCustom>
|
</StackCustom>
|
||||||
</StackCustom>
|
</StackCustom>
|
||||||
</NewWrapper>
|
</OS_Wrapper>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import ViewWrapper from "@/components/_ShareComponent/ViewWrapper";
|
import { OS_Wrapper } from "@/components";
|
||||||
import { GStyles } from "@/styles/global-styles";
|
import { GStyles } from "@/styles/global-styles";
|
||||||
import { useLocalSearchParams } from "expo-router";
|
import { useLocalSearchParams } from "expo-router";
|
||||||
import { Text } from "react-native";
|
import { Text } from "react-native";
|
||||||
@@ -7,8 +7,8 @@ export default function DetailEvent() {
|
|||||||
const { id } = useLocalSearchParams();
|
const { id } = useLocalSearchParams();
|
||||||
console.log("id event >", id);
|
console.log("id event >", id);
|
||||||
return (
|
return (
|
||||||
<ViewWrapper>
|
<OS_Wrapper>
|
||||||
<Text style={GStyles.textLabel}>Detail Event {id}</Text>
|
<Text style={GStyles.textLabel}>Detail Event {id}</Text>
|
||||||
</ViewWrapper>
|
</OS_Wrapper>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"originHash" : "e70d3525c8e2819a8b34f22909815dab5c700c25a06c32388f3930f7b3627768",
|
||||||
|
"pins" : [
|
||||||
|
{
|
||||||
|
"identity" : "maplibre-gl-native-distribution",
|
||||||
|
"kind" : "remoteSourceControl",
|
||||||
|
"location" : "https://github.com/maplibre/maplibre-gl-native-distribution",
|
||||||
|
"state" : {
|
||||||
|
"revision" : "c68c970ff3ece56cfc3b36849db70167fa208beb",
|
||||||
|
"version" : "6.17.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version" : 3
|
||||||
|
}
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
import { TextCustom } from "@/components";
|
import { TextCustom, OS_Wrapper } from "@/components";
|
||||||
import NewWrapper from "@/components/_ShareComponent/NewWrapper";
|
|
||||||
import FloatingButton from "@/components/Button/FloatingButton";
|
import FloatingButton from "@/components/Button/FloatingButton";
|
||||||
import { MainColor } from "@/constants/color-palet";
|
import { MainColor } from "@/constants/color-palet";
|
||||||
import { PAGINATION_DEFAULT_TAKE } from "@/constants/constans-value";
|
import { PAGINATION_DEFAULT_TAKE, PADDING_INLINE } from "@/constants/constans-value";
|
||||||
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
||||||
import { usePagination } from "@/hooks/use-pagination";
|
import { usePagination } from "@/hooks/use-pagination";
|
||||||
import Event_BoxPublishSection from "@/screens/Event/BoxPublishSection";
|
import Event_BoxPublishSection from "@/screens/Event/BoxPublishSection";
|
||||||
@@ -52,7 +51,8 @@ export default function Event_ScreenBeranda() {
|
|||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NewWrapper
|
<OS_Wrapper
|
||||||
|
contentPadding={PADDING_INLINE}
|
||||||
listData={pagination.listData}
|
listData={pagination.listData}
|
||||||
renderItem={renderEventItem}
|
renderItem={renderEventItem}
|
||||||
refreshControl={
|
refreshControl={
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ import {
|
|||||||
BoxWithHeaderSection,
|
BoxWithHeaderSection,
|
||||||
Spacing,
|
Spacing,
|
||||||
StackCustom,
|
StackCustom,
|
||||||
TextCustom
|
TextCustom,
|
||||||
|
OS_Wrapper,
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import NewWrapper from "@/components/_ShareComponent/NewWrapper";
|
|
||||||
import { MainColor } from "@/constants/color-palet";
|
import { MainColor } from "@/constants/color-palet";
|
||||||
import { PAGINATION_DEFAULT_TAKE } from "@/constants/constans-value";
|
import { PAGINATION_DEFAULT_TAKE, PADDING_INLINE } from "@/constants/constans-value";
|
||||||
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
||||||
import { useAuth } from "@/hooks/use-auth";
|
import { useAuth } from "@/hooks/use-auth";
|
||||||
import { usePagination } from "@/hooks/use-pagination";
|
import { usePagination } from "@/hooks/use-pagination";
|
||||||
@@ -82,7 +82,8 @@ export default function Event_ScreenContribution() {
|
|||||||
// }, []);
|
// }, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NewWrapper
|
<OS_Wrapper
|
||||||
|
contentPadding={PADDING_INLINE}
|
||||||
listData={pagination.listData}
|
listData={pagination.listData}
|
||||||
renderItem={renderEventItem}
|
renderItem={renderEventItem}
|
||||||
refreshControl={
|
refreshControl={
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
/* eslint-disable react-hooks/exhaustive-deps */
|
/* eslint-disable react-hooks/exhaustive-deps */
|
||||||
import { ButtonCustom, Spacing, TextCustom } from "@/components";
|
import { ButtonCustom, Spacing, TextCustom, OS_Wrapper } from "@/components";
|
||||||
import NewWrapper from "@/components/_ShareComponent/NewWrapper";
|
|
||||||
import { AccentColor, MainColor } from "@/constants/color-palet";
|
import { AccentColor, MainColor } from "@/constants/color-palet";
|
||||||
import { PAGINATION_DEFAULT_TAKE } from "@/constants/constans-value";
|
import { PAGINATION_DEFAULT_TAKE, PADDING_INLINE } from "@/constants/constans-value";
|
||||||
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
||||||
import { useAuth } from "@/hooks/use-auth";
|
import { useAuth } from "@/hooks/use-auth";
|
||||||
import { usePagination } from "@/hooks/use-pagination";
|
import { usePagination } from "@/hooks/use-pagination";
|
||||||
@@ -100,8 +99,9 @@ export default function Event_ScreenHistory() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NewWrapper
|
<OS_Wrapper
|
||||||
headerComponent={headerComponent}
|
headerComponent={headerComponent}
|
||||||
|
contentPadding={PADDING_INLINE}
|
||||||
listData={pagination.listData}
|
listData={pagination.listData}
|
||||||
renderItem={renderEventItem}
|
renderItem={renderEventItem}
|
||||||
refreshControl={
|
refreshControl={
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
import {
|
import {
|
||||||
AvatarUsernameAndOtherComponent,
|
AvatarUsernameAndOtherComponent,
|
||||||
BadgeCustom,
|
BadgeCustom,
|
||||||
BaseBox
|
BaseBox,
|
||||||
|
OS_Wrapper,
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import NewWrapper from "@/components/_ShareComponent/NewWrapper";
|
|
||||||
import { MainColor } from "@/constants/color-palet";
|
import { MainColor } from "@/constants/color-palet";
|
||||||
import { PAGINATION_DEFAULT_TAKE } from "@/constants/constans-value";
|
import { PADDING_INLINE, PAGINATION_DEFAULT_TAKE } from "@/constants/constans-value";
|
||||||
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
||||||
import { usePagination } from "@/hooks/use-pagination";
|
import { usePagination } from "@/hooks/use-pagination";
|
||||||
import {
|
import {
|
||||||
@@ -102,7 +102,8 @@ export default function Event_ScreenListOfParticipants() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NewWrapper
|
<OS_Wrapper
|
||||||
|
contentPadding={PADDING_INLINE}
|
||||||
listData={pagination.listData}
|
listData={pagination.listData}
|
||||||
renderItem={renderParticipantItem}
|
renderItem={renderParticipantItem}
|
||||||
refreshControl={
|
refreshControl={
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import {
|
|||||||
ScrollableCustom,
|
ScrollableCustom,
|
||||||
StackCustom,
|
StackCustom,
|
||||||
TextCustom,
|
TextCustom,
|
||||||
|
OS_Wrapper,
|
||||||
} from "@/components";
|
} from "@/components";
|
||||||
import NewWrapper from "@/components/_ShareComponent/NewWrapper";
|
import { PAGINATION_DEFAULT_TAKE, PADDING_INLINE } from "@/constants/constans-value";
|
||||||
import { PAGINATION_DEFAULT_TAKE } from "@/constants/constans-value";
|
|
||||||
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
import { createPaginationComponents } from "@/helpers/paginationHelpers";
|
||||||
import { useAuth } from "@/hooks/use-auth";
|
import { useAuth } from "@/hooks/use-auth";
|
||||||
import { usePagination } from "@/hooks/use-pagination";
|
import { usePagination } from "@/hooks/use-pagination";
|
||||||
@@ -103,8 +103,9 @@ export default function Event_ScreenStatus() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<NewWrapper
|
<OS_Wrapper
|
||||||
hideFooter
|
hideFooter
|
||||||
|
contentPadding={PADDING_INLINE}
|
||||||
headerComponent={<View style={{ paddingTop: 8 }}>{tabsComponent}</View>}
|
headerComponent={<View style={{ paddingTop: 8 }}>{tabsComponent}</View>}
|
||||||
listData={pagination.listData}
|
listData={pagination.listData}
|
||||||
renderItem={renderEventItem}
|
renderItem={renderEventItem}
|
||||||
|
|||||||
@@ -174,117 +174,84 @@ import { OS_Wrapper } from "@/components";
|
|||||||
- ✅ **Header Besar Terpotong:** Menambahkan props `disableFlexGrow={true}` untuk layar dengan header besar (DetailForum2).
|
- ✅ **Header Besar Terpotong:** Menambahkan props `disableFlexGrow={true}` untuk layar dengan header besar (DetailForum2).
|
||||||
- ✅ **Keyboard Dismiss:** Menggunakan `keyboardShouldPersistTaps="handled"` agar tap di area kosong menutup keyboard.
|
- ✅ **Keyboard Dismiss:** Menggunakan `keyboardShouldPersistTaps="handled"` agar tap di area kosong menutup keyboard.
|
||||||
|
|
||||||
## ⏳ User Phase 6: Event Screens (Priority: HIGH)
|
## ✅ User Phase 6: Event Screens - COMPLETED (2026-04-10)
|
||||||
|
|
||||||
- [ ] `app/(application)/(user)/event/create.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
**Files migrated: 16**
|
||||||
- [ ] `app/(application)/(user)/event/(tabs)/index.tsx`
|
|
||||||
- [ ] `app/(application)/(user)/event/[id]/index.tsx` (detail)
|
|
||||||
- [ ] `app/(application)/(user)/event/detail/[id].tsx`
|
|
||||||
|
|
||||||
## ⏳ User Phase 7: Voting Screens (Priority: HIGH)
|
#### Event List & Create Screens:
|
||||||
|
- ✅ `screens/Event/ScreenBeranda.tsx` - NewWrapper → OS_Wrapper + `contentPadding={PADDING_INLINE}` (tabs list)
|
||||||
|
- ✅ `screens/Event/ScreenStatus.tsx` - NewWrapper → OS_Wrapper + `contentPadding={PADDING_INLINE}` (tabs list)
|
||||||
|
- ✅ `screens/Event/ScreenHistory.tsx` - NewWrapper → OS_Wrapper + `contentPadding={PADDING_INLINE}` (tabs list)
|
||||||
|
- ✅ `screens/Event/ScreenContribution.tsx` - NewWrapper → OS_Wrapper + `contentPadding={PADDING_INLINE}` (tabs list)
|
||||||
|
- ✅ `app/(application)/(user)/event/create.tsx` - NewWrapper → OS_Wrapper (form + enableKeyboardHandling + contentPaddingBottom={250})
|
||||||
|
|
||||||
- [ ] `app/(application)/(user)/voting/create.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
#### Event Detail & Sub-Screens (`[id]/`):
|
||||||
- [ ] `app/(application)/(user)/voting/(tabs)/index.tsx`
|
- ✅ `app/(application)/(user)/event/[id]/edit.tsx` - NewWrapper → OS_Wrapper (form + enableKeyboardHandling + contentPaddingBottom={250})
|
||||||
- [ ] `app/(application)/(user)/voting/[id]/index.tsx` (detail)
|
- ✅ `app/(application)/(user)/event/[id]/publish.tsx` - ViewWrapper → OS_Wrapper (detail with join button)
|
||||||
|
- ✅ `app/(application)/(user)/event/[id]/history.tsx` - ViewWrapper → OS_Wrapper (history detail)
|
||||||
|
- ✅ `app/(application)/(user)/event/[id]/contribution.tsx` - ViewWrapper → OS_Wrapper (contribution detail)
|
||||||
|
- ✅ `app/(application)/(user)/event/[id]/confirmation.tsx` - ViewWrapper → OS_Wrapper (confirmation flow)
|
||||||
|
- ✅ `app/(application)/(user)/event/[id]/[status]/detail-event.tsx` - ViewWrapper → OS_Wrapper (status detail)
|
||||||
|
|
||||||
## ⏳ User Phase 8: Donation Screens (Priority: HIGH)
|
#### Event `detail/` Sub-Routes:
|
||||||
|
- ✅ `app/(application)/(user)/event/detail/[id].tsx` - ViewWrapper → OS_Wrapper
|
||||||
- [ ] `app/(application)/(user)/donation/create.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
|
||||||
- [ ] `app/(application)/(user)/donation/create-story.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
|
||||||
- [ ] `app/(application)/(user)/donation/(tabs)/index.tsx`
|
|
||||||
- [ ] `app/(application)/(user)/donation/[id]/index.tsx` (detail)
|
|
||||||
|
|
||||||
## ⏳ User Phase 9: Investment Screens (Priority: MEDIUM)
|
|
||||||
|
|
||||||
- [ ] `app/(application)/(user)/investment/create.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
|
||||||
- [ ] `app/(application)/(user)/investment/(tabs)/index.tsx`
|
|
||||||
- [ ] `app/(application)/(user)/investment/[id]/index.tsx` (detail)
|
|
||||||
|
|
||||||
## ⏳ User Phase 10: Collaboration Screens (Priority: MEDIUM)
|
|
||||||
|
|
||||||
- [ ] `app/(application)/(user)/collaboration/create.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
|
||||||
- [ ] `app/(application)/(user)/collaboration/(tabs)/index.tsx`
|
|
||||||
- [ ] `app/(application)/(user)/collaboration/[id]/index.tsx` (detail)
|
|
||||||
|
|
||||||
## ⏳ User Phase 11: Other User Screens (Priority: LOW)
|
|
||||||
|
|
||||||
- [ ] `app/(application)/(user)/marketplace/index.tsx`
|
|
||||||
- [ ] `app/(application)/(user)/user-search/index.tsx`
|
|
||||||
- [ ] `app/(application)/(user)/notifications/` - Notification screens (TBD)
|
|
||||||
- [ ] `app/(application)/(user)/crowdfunding/` - Crowdfunding screens (TBD)
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
# 🔴 ADMIN PHASES (Admin-Facing Screens)
|
# 🔴 ADMIN PHASES (Admin-Facing Screens)
|
||||||
|
|
||||||
## ⏳ Admin Phase 1: Event Management (Priority: HIGH)
|
## ✅ Admin Phase 9: User Access - COMPLETED (2026-04-09)
|
||||||
|
|
||||||
- [ ] `app/(application)/admin/event/index.tsx`
|
**Files migrated: 2**
|
||||||
- [ ] `app/(application)/admin/event/type-create.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
|
||||||
- [ ] `app/(application)/admin/event/type-update.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
#### User Access:
|
||||||
- [ ] `app/(application)/admin/event/type-of-event.tsx`
|
- ✅ `screens/Admin/User-Access/ScreenUserAccess.tsx` - NewWrapper → OS_Wrapper (list with pagination + search)
|
||||||
- [ ] `app/(application)/admin/event/[id]/index.tsx` (detail)
|
- ✅ `app/(application)/admin/user-access/[id]/index.tsx` - ViewWrapper → OS_Wrapper (detail with footer button)
|
||||||
- [ ] `app/(application)/admin/event/[status]/index.tsx`
|
|
||||||
|
## ⏳ Admin Phase 1: Event Management (Priority: HIGH)
|
||||||
|
- [ ] `screens/Admin/Event/ScreenEventList.tsx`
|
||||||
|
- [ ] `screens/Admin/Event/ScreenEventCreate.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
||||||
|
- [ ] `screens/Admin/Event/ScreenEventEdit.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
||||||
|
|
||||||
## ⏳ Admin Phase 2: Voting Management (Priority: HIGH)
|
## ⏳ Admin Phase 2: Voting Management (Priority: HIGH)
|
||||||
|
- [ ] `screens/Admin/Voting/ScreenVotingList.tsx`
|
||||||
- [ ] `app/(application)/admin/voting/index.tsx`
|
- [ ] `screens/Admin/Voting/ScreenVotingCreate.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
||||||
- [ ] `app/(application)/admin/voting/history.tsx`
|
- [ ] `screens/Admin/Voting/ScreenVotingEdit.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
||||||
- [ ] `app/(application)/admin/voting/[id]/index.tsx` (detail)
|
|
||||||
- [ ] `app/(application)/admin/voting/[status]/index.tsx`
|
|
||||||
|
|
||||||
## ⏳ Admin Phase 3: Donation Management (Priority: HIGH)
|
## ⏳ Admin Phase 3: Donation Management (Priority: HIGH)
|
||||||
|
- [ ] `screens/Admin/Donation/ScreenDonationList.tsx`
|
||||||
- [ ] `app/(application)/admin/donation/index.tsx`
|
- [ ] `screens/Admin/Donation/ScreenDonationCreate.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
||||||
- [ ] `app/(application)/admin/donation/category.tsx`
|
- [ ] `screens/Admin/Donation/ScreenDonationEdit.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
||||||
- [ ] `app/(application)/admin/donation/category-create.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
|
||||||
- [ ] `app/(application)/admin/donation/category-update.tsx` → pakai `enableKeyboardHandling` + `contentPaddingBottom={250}`
|
|
||||||
- [ ] `app/(application)/admin/donation/[id]/index.tsx` (detail)
|
|
||||||
- [ ] `app/(application)/admin/donation/[status]/index.tsx`
|
|
||||||
|
|
||||||
## ⏳ Admin Phase 4: Forum Admin (Priority: MEDIUM)
|
## ⏳ Admin Phase 4: Forum Admin (Priority: MEDIUM)
|
||||||
|
- [ ] `screens/Admin/Forum/ScreenForumList.tsx`
|
||||||
- [ ] `app/(application)/admin/forum/index.tsx`
|
- [ ] `screens/Admin/Forum/ScreenForumPosting.tsx`
|
||||||
- [ ] `app/(application)/admin/forum/posting.tsx`
|
- [ ] `screens/Admin/Forum/ScreenForumReportPosting.tsx`
|
||||||
- [ ] `app/(application)/admin/forum/report-posting.tsx`
|
- [ ] `screens/Admin/Forum/ScreenForumReportComment.tsx`
|
||||||
- [ ] `app/(application)/admin/forum/report-comment.tsx`
|
- [ ] `screens/Admin/Forum/ScreenForumDetail.tsx`
|
||||||
- [ ] `app/(application)/admin/forum/[id]/index.tsx` (detail)
|
|
||||||
|
|
||||||
## ⏳ Admin Phase 5: Collaboration Admin (Priority: MEDIUM)
|
## ⏳ Admin Phase 5: Collaboration Admin (Priority: MEDIUM)
|
||||||
|
- [ ] `screens/Admin/Collaboration/ScreenCollaborationList.tsx`
|
||||||
- [ ] `app/(application)/admin/collaboration/index.tsx`
|
- [ ] `screens/Admin/Collaboration/ScreenCollaborationGroup.tsx`
|
||||||
- [ ] `app/(application)/admin/collaboration/group.tsx`
|
- [ ] `screens/Admin/Collaboration/ScreenCollaborationPublish.tsx`
|
||||||
- [ ] `app/(application)/admin/collaboration/publish.tsx`
|
- [ ] `screens/Admin/Collaboration/ScreenCollaborationReject.tsx`
|
||||||
- [ ] `app/(application)/admin/collaboration/reject.tsx`
|
- [ ] `screens/Admin/Collaboration/ScreenCollaborationDetail.tsx`
|
||||||
- [ ] `app/(application)/admin/collaboration/[id]/index.tsx` (detail)
|
|
||||||
|
|
||||||
## ⏳ Admin Phase 6: Job Admin (Priority: MEDIUM)
|
## ⏳ Admin Phase 6: Job Admin (Priority: MEDIUM)
|
||||||
|
- [ ] `screens/Admin/Job/ScreenJobAdminList.tsx`
|
||||||
- [ ] `app/(application)/admin/job/index.tsx`
|
- [ ] `screens/Admin/Job/ScreenJobAdminDetail.tsx`
|
||||||
- [ ] `app/(application)/admin/job/[id]/index.tsx` (detail)
|
- [ ] `screens/Admin/Job/ScreenJobAdminStatus.tsx`
|
||||||
- [ ] `app/(application)/admin/job/[status]/index.tsx`
|
|
||||||
|
|
||||||
## ⏳ Admin Phase 7: Investment Admin (Priority: LOW)
|
## ⏳ Admin Phase 7: Investment Admin (Priority: LOW)
|
||||||
|
- [ ] `screens/Admin/Investment/ScreenInvestmentList.tsx`
|
||||||
- [ ] `app/(application)/admin/investment/index.tsx`
|
- [ ] `screens/Admin/Investment/ScreenInvestmentDetail.tsx`
|
||||||
- [ ] `app/(application)/admin/investment/[id]/index.tsx` (detail)
|
- [ ] `screens/Admin/Investment/ScreenInvestmentStatus.tsx`
|
||||||
- [ ] `app/(application)/admin/investment/[status]/index.tsx`
|
|
||||||
|
|
||||||
## ⏳ Admin Phase 8: App Information (Priority: LOW)
|
## ⏳ Admin Phase 8: App Information (Priority: LOW)
|
||||||
|
- [ ] `screens/Admin/App-Information/ScreenAppInfoList.tsx`
|
||||||
- [ ] `app/(application)/admin/app-information/index.tsx`
|
- [ ] `screens/Admin/App-Information/ScreenBusinessField.tsx`
|
||||||
- [ ] `app/(application)/admin/app-information/business-field/` (TBD files)
|
- [ ] `screens/Admin/App-Information/ScreenInformationBank.tsx`
|
||||||
- [ ] `app/(application)/admin/app-information/information-bank/` (TBD files)
|
- [ ] `screens/Admin/App-Information/ScreenSticker.tsx`
|
||||||
- [ ] `app/(application)/admin/app-information/sticker/` (TBD files)
|
|
||||||
|
|
||||||
## ⏳ Admin Phase 9: User Access & Others (Priority: LOW)
|
|
||||||
|
|
||||||
- [x] `app/(application)/admin/user-access/index.tsx` - NewWrapper → OS_Wrapper (list with pagination + search)
|
|
||||||
- [x] `app/(application)/admin/user-access/[id]/index.tsx` - ViewWrapper → OS_Wrapper (detail with footer button)
|
|
||||||
- [ ] `app/(application)/admin/notification/` - Notification admin (TBD)
|
|
||||||
- [ ] `app/(application)/admin/super-admin/` - Super admin (TBD)
|
|
||||||
- [ ] `app/(application)/admin/dashboard.tsx`
|
|
||||||
- [ ] `app/(application)/admin/maps.tsx`
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -294,10 +261,12 @@ import { OS_Wrapper } from "@/components";
|
|||||||
- **Default**: `contentPaddingBottom=100` (list & static screens)
|
- **Default**: `contentPaddingBottom=100` (list & static screens)
|
||||||
- **Forms**: `contentPaddingBottom={250}` (HANYA untuk screens dengan TextInput/TextArea)
|
- **Forms**: `contentPaddingBottom={250}` (HANYA untuk screens dengan TextInput/TextArea)
|
||||||
- **contentPadding=0** (default, per-screen control jika perlu)
|
- **contentPadding=0** (default, per-screen control jika perlu)
|
||||||
|
- **contentPadding={PADDING_INLINE}** (16px, ditambahkan khusus ke screen dalam `(tabs)` agar tidak terlalu mepet ke pinggir).
|
||||||
|
|
||||||
### User Preference:
|
### User Preference:
|
||||||
- **NO PADDING_INLINE by default** - Bisa mempersempit box tampilan
|
- **NO PADDING_INLINE by default** - Bisa mempersempit box tampilan
|
||||||
- User akan review dan tambahkan sendiri jika diperlukan per-screen
|
- User akan review dan tambahkan sendiri jika diperlukan per-screen
|
||||||
|
- Khusus untuk tab screen (`(tabs)/`), ditambahkan `contentPadding={PADDING_INLINE}` agar tampilan lebih rapi.
|
||||||
|
|
||||||
### Keyboard Handling:
|
### Keyboard Handling:
|
||||||
- `enableKeyboardHandling` → Auto-scroll saat keyboard muncul (Android only)
|
- `enableKeyboardHandling` → Auto-scroll saat keyboard muncul (Android only)
|
||||||
@@ -318,6 +287,7 @@ import { OS_Wrapper } from "@/components";
|
|||||||
ListFooterComponent={ListFooterComponent}
|
ListFooterComponent={ListFooterComponent}
|
||||||
onEndReached={pagination.loadMore}
|
onEndReached={pagination.loadMore}
|
||||||
refreshControl={<RefreshControl refreshing={refreshing} onRefresh={onRefresh} />}
|
refreshControl={<RefreshControl refreshing={refreshing} onRefresh={onRefresh} />}
|
||||||
|
contentPadding={PADDING_INLINE} // Jika screen berada di dalam (tabs)
|
||||||
/>
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -366,38 +336,38 @@ import { OS_Wrapper } from "@/components";
|
|||||||
| Phase | Total Files | Migrated | Testing | Status |
|
| Phase | Total Files | Migrated | Testing | Status |
|
||||||
|-------|-------------|----------|---------|--------|
|
|-------|-------------|----------|---------|--------|
|
||||||
| User Phase 1 (Job) | 9 | 9 | ✅ Complete | ✅ Complete |
|
| User Phase 1 (Job) | 9 | 9 | ✅ Complete | ✅ Complete |
|
||||||
| User Phase 2 (Profile + Others) | 10 | 10 | ✅ Complete | ✅ Complete |
|
| User Phase 2 (Profile + Others) | 10 | 10 | ⏳ Pending | ✅ Complete |
|
||||||
| User Phase 3 (Portfolio) | 6 | 6 | ⏳ Pending | ✅ Complete |
|
| User Phase 3 (Portfolio) | 6 | 6 | ⏳ Pending | ✅ Complete |
|
||||||
| User Phase 4 (Maps) | 2 | 2 | ⏳ Pending | ✅ Complete |
|
| User Phase 4 (Maps) | 2 | 2 | ⏳ Pending | ✅ Complete |
|
||||||
| User Phase 5 (Forum) | 17 | 17 | ⏳ Pending | ✅ Complete |
|
| User Phase 5 (Forum) | 17 | 17 | ⏳ Pending | ✅ Complete |
|
||||||
| User Phase 6 (Event) | ~4 | 0 | 0 | ⏳ Pending |
|
| User Phase 6 (Event) | 16 | 16 | ⏳ Pending | ✅ Complete |
|
||||||
| User Phase 7 (Voting) | ~3 | 0 | 0 | ⏳ Pending |
|
| User Phase 7 (Voting) | ~10 | 0 | 0 | ⏳ Pending |
|
||||||
| User Phase 8 (Donation) | ~4 | 0 | 0 | ⏳ Pending |
|
| User Phase 8 (Donation) | ~4 | 0 | 0 | ⏳ Pending |
|
||||||
| User Phase 9 (Investment) | ~3 | 0 | 0 | ⏳ Pending |
|
| User Phase 9 (Investment) | ~3 | 0 | 0 | ⏳ Pending |
|
||||||
| User Phase 10 (Collaboration) | ~3 | 0 | 0 | ⏳ Pending |
|
| User Phase 10 (Collaboration) | ~3 | 0 | 0 | ⏳ Pending |
|
||||||
| User Phase 11 (Others) | ~4 | 0 | 0 | ⏳ Pending |
|
| User Phase 11 (Others) | ~4 | 0 | 0 | ⏳ Pending |
|
||||||
| **User Total** | **~69** | **44** | **9** | **~64% Complete** |
|
| **User Total** | **~84** | **60** | **9** | **~71% Complete** |
|
||||||
|
|
||||||
### Admin Phases:
|
### Admin Phases:
|
||||||
| Phase | Total Files | Migrated | Testing | Status |
|
| Phase | Total Files | Migrated | Testing | Status |
|
||||||
|-------|-------------|----------|---------|--------|
|
|-------|-------------|----------|---------|--------|
|
||||||
| Admin Phase 1 (Event) | ~6 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 1 (Event) | ~3 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 2 (Voting) | ~4 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 2 (Voting) | ~3 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 3 (Donation) | ~6 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 3 (Donation) | ~3 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 4 (Forum) | ~5 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 4 (Forum) | ~5 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 5 (Collaboration) | ~5 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 5 (Collaboration) | ~5 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 6 (Job) | ~3 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 6 (Job) | ~3 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 7 (Investment) | ~3 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 7 (Investment) | ~3 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 8 (App Info) | ~4 | 0 | 0 | ⏳ Pending |
|
| Admin Phase 8 (App Info) | ~4 | 0 | 0 | ⏳ Pending |
|
||||||
| Admin Phase 9 (User Access) | ~6 | 2 | 0 | 🔄 In Progress |
|
| Admin Phase 9 (User Access) | 2 | 2 | 0 | ✅ Complete |
|
||||||
| **Admin Total** | **~42** | **2** | **0** | **5% Complete** |
|
| **Admin Total** | **~31** | **2** | **0** | **~6% Complete** |
|
||||||
|
|
||||||
### Grand Total:
|
### Grand Total:
|
||||||
| Category | Total Files | Migrated | Status |
|
| Category | Total Files | Migrated | Status |
|
||||||
|----------|-------------|----------|--------|
|
|----------|-------------|----------|--------|
|
||||||
| **User Screens** | ~69 | 44 | ~64% Complete |
|
| **User Screens** | ~84 | 60 | ~71% Complete |
|
||||||
| **Admin Screens** | ~42 | 2 | 5% Complete |
|
| **Admin Screens** | ~31 | 2 | ~6% Complete |
|
||||||
| **GRAND TOTAL** | **~111** | **46** | **~41% Complete** |
|
| **GRAND TOTAL** | **~115** | **62** | **~54% Complete** |
|
||||||
|
|
||||||
## 🔄 Rollback Plan
|
## 🔄 Rollback Plan
|
||||||
|
|
||||||
@@ -411,6 +381,6 @@ Jika ada issue yang tidak bisa di-fix dalam 1 jam:
|
|||||||
|
|
||||||
**Co-authored-by**: Qwen-Coder <qwen-coder@alibabacloud.com>
|
**Co-authored-by**: Qwen-Coder <qwen-coder@alibabacloud.com>
|
||||||
**Created**: 2026-04-06
|
**Created**: 2026-04-06
|
||||||
**Last Updated**: 2026-04-09
|
**Last Updated**: 2026-04-10
|
||||||
**Status**: User Phase 1-4 Complete ✅ (27 files migrated)
|
**Status**: User Phase 1-6 Complete ✅ (60 files migrated)
|
||||||
**Next**: User Phase 5 - Forum Screens
|
**Next**: User Phase 7 - Voting Screens
|
||||||
|
|||||||
Reference in New Issue
Block a user