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>
15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
import { OS_Wrapper } from "@/components";
|
|
import { GStyles } from "@/styles/global-styles";
|
|
import { useLocalSearchParams } from "expo-router";
|
|
import { Text } from "react-native";
|
|
|
|
export default function DetailEvent() {
|
|
const { id } = useLocalSearchParams();
|
|
console.log("id event >", id);
|
|
return (
|
|
<OS_Wrapper>
|
|
<Text style={GStyles.textLabel}>Detail Event {id}</Text>
|
|
</OS_Wrapper>
|
|
);
|
|
}
|