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
+19 -18
View File
@@ -16,12 +16,13 @@
"dependencies": {
"@better-auth/expo": "catalog:",
"@expo/metro-runtime": "55.0.6",
"@expo/ui": "55.0.2",
"@expo/ui": "55.0.3",
"@orpc/client": "catalog:",
"@orpc/contract": "catalog:",
"@orpc/tanstack-query": "catalog:",
"@react-native-menu/menu": "2.0.0",
"@react-navigation/elements": "2.9.10",
"@react-navigation/native": "7.1.33",
"@shopify/flash-list": "2.0.2",
"@sofa/api": "workspace:*",
"@tabler/icons-react-native": "3.40.0",
@@ -32,28 +33,28 @@
"better-auth": "catalog:",
"burnt": "0.13.0",
"date-fns": "catalog:",
"expo": "55.0.6",
"expo-application": "55.0.9",
"expo-clipboard": "55.0.8",
"expo-constants": "55.0.7",
"expo-dev-client": "55.0.16",
"expo-device": "55.0.9",
"expo": "55.0.7",
"expo-application": "55.0.10",
"expo-clipboard": "55.0.9",
"expo-constants": "55.0.8",
"expo-dev-client": "55.0.17",
"expo-device": "55.0.10",
"expo-font": "55.0.4",
"expo-glass-effect": "55.0.8",
"expo-haptics": "55.0.8",
"expo-haptics": "55.0.9",
"expo-image": "55.0.6",
"expo-image-picker": "55.0.12",
"expo-linear-gradient": "55.0.8",
"expo-image-picker": "55.0.13",
"expo-linear-gradient": "55.0.9",
"expo-linking": "55.0.7",
"expo-localization": "55.0.8",
"expo-network": "55.0.8",
"expo-router": "55.0.5",
"expo-secure-store": "55.0.8",
"expo-splash-screen": "55.0.10",
"expo-localization": "55.0.9",
"expo-network": "55.0.9",
"expo-router": "55.0.6",
"expo-secure-store": "55.0.9",
"expo-splash-screen": "55.0.11",
"expo-status-bar": "55.0.4",
"expo-system-ui": "55.0.9",
"expo-tracking-transparency": "55.0.8",
"expo-web-browser": "55.0.9",
"expo-system-ui": "55.0.10",
"expo-tracking-transparency": "55.0.9",
"expo-web-browser": "55.0.10",
"posthog-react-native": "4.37.3",
"react": "19.2.0",
"react-dom": "19.2.0",