Skip to content

[PB-6678] feature/Improve Photos timeline - #556

Open
CandelR wants to merge 3 commits into
feature/PB-6068-photos-backupfrom
feature/improve-Photos-assets-renders-and-uri-load
Open

[PB-6678] feature/Improve Photos timeline#556
CandelR wants to merge 3 commits into
feature/PB-6068-photos-backupfrom
feature/improve-Photos-assets-renders-and-uri-load

Conversation

@CandelR

@CandelR CandelR commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Improves Photos timeline responsiveness during background backups, and replaces the deprecated react-native-fast-image with expo-image

Summary

  • useCloudAssets, useLocalAssetsSyncStatus: skip setState when the cloud/local asset data is unchanged (lodash.isEqual inside the functional updater), instead of unconditionally replacing it on every sync tick.
  • PhotosScreen/index.tsx: handlePhotoPress/handlePhotoLongPress no longer depend on the full selection object or allItems by reference, both were recreated on every screen re-render, which defeated PhotoItem's memo comparator and forced every visible cell to re-render on every background sync event.
  • PhotoItem.tsx: migrated from react-native Image to expo-image with recyclingKey, and useRecyclingState for the loading flag, for more reliable behavior when FlashList recycles a cell onto a different asset.
  • UserProfilePicture, DriveGridModeItem: migrated from react-native-fast-image to expo-image.
  • package.json: react-native-fast-image removed, expo-image added.

@CandelR
CandelR requested a review from larryrider July 29, 2026 13:21
@CandelR CandelR self-assigned this Jul 29, 2026
@CandelR CandelR added the enhancement New feature or request label Jul 29, 2026
…g-to-upload-status

[PB-6660] bugfix/recently uploaded photos are incorrectly shown as ‘pending upload’
Base automatically changed from bugfix/PB-6660-incorrect-waiting-to-upload-status to bugfix/PB-6653-incorrect-backup-status July 30, 2026 13:56
…, and replaced deprecated react-native-fast-image with expo-image
@CandelR
CandelR force-pushed the feature/improve-Photos-assets-renders-and-uri-load branch from e64156b to 91eb5a9 Compare July 30, 2026 13:56
@sonarqubecloud

Copy link
Copy Markdown

@CandelR
CandelR changed the base branch from bugfix/PB-6653-incorrect-backup-status to feature/PB-6068-photos-backup July 30, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant