Add a unified event editor that works in two modes: - Calendar mode: Create/edit events directly via EventService API - Chat mode: Edit AI-proposed events before confirming them The chat mode allows users to modify proposed events (title, time, recurrence) and persists changes both locally and to the server. New components: DateTimePicker, ScrollableDropdown, useDropdownPosition New API: PUT /api/chat/messages/:messageId/proposal
16 lines
435 B
TypeScript
16 lines
435 B
TypeScript
import { Stack } from "expo-router";
|
|
import "../../global.css";
|
|
|
|
export default function RootLayout() {
|
|
return (
|
|
<Stack screenOptions={{ headerShown: false }}>
|
|
<Stack.Screen name="(tabs)" />
|
|
<Stack.Screen name="login" />
|
|
<Stack.Screen name="register" />
|
|
<Stack.Screen name="editEvent" />
|
|
{/* <Stack.Screen name="event/[id]" /> */}
|
|
{/* <Stack.Screen name="note/[id]" /> */}
|
|
</Stack>
|
|
);
|
|
}
|