refactor(native): overhaul auth screens, add ModalStackHeader, and bump Expo patch releases

- Replace `Alert` with `toast` for sign-in/register errors and add a `getFormErrors` utility to extract the first Zod validation message and field set
- Display the configured server host inline on the login screen and hide the navigation header in the auth layout (`headerShown: false`, `navigationBarHidden: true`)
- Delete `AuthStackHeader` and `DetailStackHeader`; introduce `ModalStackHeader` for screens that are pushed as modals
- Remove unused `StatusBadge` component and delete unused shadcn web components (`calendar`, `drawer`)
- Bump all Expo 55 SDK packages to their latest patch versions and add `expo-web-browser` plugin to `app.json` + `@react-navigation/native` as an explicit dependency
This commit is contained in:
2026-03-17 18:33:11 -04:00
parent daf90a4f39
commit c6ae58f41d
31 changed files with 941 additions and 1347 deletions
+7 -10
View File
@@ -25,17 +25,16 @@
"@tabler/icons-react": "3.40.0",
"@tanstack/react-hotkeys": "0.4.1",
"@tanstack/react-query": "catalog:",
"@tanstack/react-router": "1.167.1",
"@tanstack/react-router": "1.167.4",
"better-auth": "catalog:",
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"cmdk": "1.1.1",
"date-fns": "catalog:",
"jotai": "2.18.1",
"media-chrome": "4.18.0",
"motion": "12.36.0",
"media-chrome": "4.18.1",
"motion": "12.38.0",
"react": "catalog:",
"react-day-picker": "9.14.0",
"react-dom": "catalog:",
"recharts": "3.8.0",
"shadcn": "4.0.8",
@@ -43,17 +42,15 @@
"tailwind-merge": "catalog:",
"thumbhash": "catalog:",
"tw-animate-css": "1.4.0",
"vaul": "1.1.2",
"youtube-video-element": "1.9.0",
"zod": "catalog:"
"youtube-video-element": "1.9.0"
},
"devDependencies": {
"@tailwindcss/vite": "0.0.0-insiders.d24b112",
"@tailwindcss/vite": "0.0.0-insiders.f302fce",
"@tanstack/devtools-vite": "0.6.0",
"@tanstack/react-devtools": "0.10.0",
"@tanstack/react-query-devtools": "5.91.3",
"@tanstack/react-router-devtools": "1.166.8",
"@tanstack/router-plugin": "1.166.10",
"@tanstack/react-router-devtools": "1.166.9",
"@tanstack/router-plugin": "1.166.13",
"@types/bun": "catalog:",
"@types/node": "catalog:",
"@types/react": "catalog:",