From 5235519dd80f977a1ce2ab7910b8ee29aa9728a9 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Fri, 14 Nov 2025 14:09:44 -0800 Subject: [PATCH] Update jobline display and related jobs. --- app.json | 6 +- app/jobs/_layout.tsx | 4 +- babel-translations.babel | 23 ++- components/job-lines/job-lines.jsx | 14 +- components/job-notes/job-notes.jsx | 4 +- components/job-notes/new-note-modal.jsx | 4 +- components/job-tombstone/job-tombstone.jsx | 89 +++++++---- graphql/jobs.queries.js | 170 +++++++++++++++++++++ redux/photos/photos.sagas.js | 68 +++++++-- translations/en-US/common.json | 1 + translations/es-MX/common.json | 1 + translations/fr-CA/common.json | 1 + 12 files changed, 326 insertions(+), 59 deletions(-) diff --git a/app.json b/app.json index 006fc77..5786c52 100644 --- a/app.json +++ b/app.json @@ -6,7 +6,7 @@ "scheme": "imex-mobile-scheme", "userInterfaceStyle": "automatic", "extra": { - "expover": "18", + "expover": "19", "eas": { "projectId": "ffe01f3a-d507-4698-82cd-da1f1cad450b" } @@ -34,7 +34,9 @@ "permissions": [ "android.permission.READ_EXTERNAL_STORAGE", "android.permission.WRITE_EXTERNAL_STORAGE", - "android.permission.ACCESS_MEDIA_LOCATION" + "android.permission.ACCESS_MEDIA_LOCATION", + "android.permission.READ_MEDIA_IMAGES", + "android.permission.READ_MEDIA_VIDEO" ] }, "splash": { diff --git a/app/jobs/_layout.tsx b/app/jobs/_layout.tsx index 76c8b6c..90809e4 100644 --- a/app/jobs/_layout.tsx +++ b/app/jobs/_layout.tsx @@ -1,6 +1,6 @@ import { openImagePicker } from "@/redux/photos/photos.actions"; import * as Haptics from "expo-haptics"; -import { Stack, useLocalSearchParams } from "expo-router"; +import { Stack, useGlobalSearchParams } from "expo-router"; import { useCallback } from "react"; import { useTranslation } from "react-i18next"; import { IconButton } from "react-native-paper"; @@ -13,7 +13,7 @@ export default connect(null, mapDispatchToProps)(JobsStack); function JobsStack({ openImagePicker }) { const { t } = useTranslation(); - const { jobId } = useLocalSearchParams(); + const { jobId } = useGlobalSearchParams(); const handleUpload = useCallback(() => { Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light); diff --git a/babel-translations.babel b/babel-translations.babel index 7e65128..9993f3c 100644 --- a/babel-translations.babel +++ b/babel-translations.babel @@ -1,4 +1,4 @@ - +