feat: enhance booking flow with optional serviceId and improve dashboard settings

- Updated RootStackParamList to include optional serviceId in Booking route.
- Modified Booking page to initialize step and serviceId based on route parameters.
- Enhanced Dashboard page with new settings tab for shop details, including image upload and JSON schedule management.
- Added functionality to upload barber images and cover images.
- Improved Profile page with review submission for appointments and better notification handling.
- Updated ShopDetails to pass serviceId when navigating to Booking.
This commit is contained in:
2026-05-06 11:36:11 +01:00
parent a065130167
commit 99fc0a3882
8 changed files with 809 additions and 165 deletions

23
package-lock.json generated
View File

@@ -14,7 +14,9 @@
"@react-navigation/native-stack": "^6.9.17",
"@supabase/supabase-js": "^2.99.1",
"expo": "~54.0.33",
"expo-constants": "~18.0.13",
"expo-device": "~8.0.10",
"expo-image-picker": "~17.0.11",
"expo-notifications": "~0.32.16",
"expo-status-bar": "~3.0.9",
"nanoid": "^5.0.7",
@@ -4953,6 +4955,27 @@
"react-native": "*"
}
},
"node_modules/expo-image-loader": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/expo-image-loader/-/expo-image-loader-6.0.0.tgz",
"integrity": "sha512-nKs/xnOGw6ACb4g26xceBD57FKLFkSwEUTDXEDF3Gtcu3MqF3ZIYd3YM+sSb1/z9AKV1dYT7rMSGVNgsveXLIQ==",
"license": "MIT",
"peerDependencies": {
"expo": "*"
}
},
"node_modules/expo-image-picker": {
"version": "17.0.11",
"resolved": "https://registry.npmjs.org/expo-image-picker/-/expo-image-picker-17.0.11.tgz",
"integrity": "sha512-/apkoyukDvsCHHb9fzP+F34A1uQqSzUtYH/2P/xJACNEwq+mwEXjXvVU8bzlJq6ih0Qo1+tpVivIa7B9kYSwOQ==",
"license": "MIT",
"dependencies": {
"expo-image-loader": "~6.0.0"
},
"peerDependencies": {
"expo": "*"
}
},
"node_modules/expo-keep-awake": {
"version": "15.0.8",
"resolved": "https://registry.npmjs.org/expo-keep-awake/-/expo-keep-awake-15.0.8.tgz",