From 85794a5a59b356ea921b92df4a3245fd0cc37e9e Mon Sep 17 00:00:00 2001 From: Maurice Date: Tue, 18 Aug 2026 20:02:28 +0200 Subject: [PATCH] fix(journey): keep the picker's date headings chronological, and name any provider Since the provider picker started sorting by distance to the entry, the date groups were built from the already-sorted list, so first-seen order put the day holding the nearest photo at the top and the headings stopped reading in order. Grouping now sorts its own output; the order within a day is untouched, so the distance sort still does its job where it belongs. The picker also called every non-Immich provider "Synology Photos". It now falls back to the provider's own id, the way the gallery view already did. --- .../JourneyDetailPageProviderPicker.tsx | 2 +- .../JourneyDetailPage.helpers.test.ts | 30 ++++++++++++++++++- .../JourneyDetailPage.helpers.ts | 12 +++++++- 3 files changed, 41 insertions(+), 3 deletions(-) diff --git a/client/src/components/Journey/JourneyDetailPageProviderPicker.tsx b/client/src/components/Journey/JourneyDetailPageProviderPicker.tsx index 968b848ee..b38ba818b 100644 --- a/client/src/components/Journey/JourneyDetailPageProviderPicker.tsx +++ b/client/src/components/Journey/JourneyDetailPageProviderPicker.tsx @@ -167,7 +167,7 @@ export function ProviderPicker({ provider, userId, entries, trips, existingAsset {/* Header */} {!embedded &&

- {provider === 'immich' ? 'Immich' : 'Synology Photos'} + {provider === 'immich' ? 'Immich' : provider === 'synologyphotos' ? 'Synology Photos' : provider}