GalleryView — pull-to-refresh and long-press context menu #5

Open
opened 2026-05-18 07:34:00 +00:00 by kutesir · 0 comments
Owner

Description

  • Pull-to-refresh: calls viewModel.reload(force: true) which triggers a fresh manifest download + reconcile
  • Long-press on a photo cell: context menu with "View on NAS", "Re-upload", "Copy filename"
  • Long-press on NAS-only items: "Remove from manifest" (marks entry deleted, writes manifest)

Notes

  • GalleryViewModel.bind(to:connection:) already subscribes to statusService.$lastManifest
  • Add .refreshable {} modifier to the LazyVGrid scroll container
## Description - Pull-to-refresh: calls `viewModel.reload(force: true)` which triggers a fresh manifest download + reconcile - Long-press on a photo cell: context menu with "View on NAS", "Re-upload", "Copy filename" - Long-press on NAS-only items: "Remove from manifest" (marks entry deleted, writes manifest) ## Notes - `GalleryViewModel.bind(to:connection:)` already subscribes to `statusService.$lastManifest` - Add `.refreshable {}` modifier to the LazyVGrid scroll container
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kutesir/Kisani#5
No description provided.