mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
Feature Request: Select All Visible button #1541
Labels
No labels
ai
android
api
auth
awesome
bug
bug
ci
cli
config
database
declined
deprecated
docker
docs 📚
documents
duplicate
easy
enhancement
enhancement
enhancement
epic
faces
feedback wanted
frontend
hacktoberfest
help wanted
idea
in-progress
incomplete
index
invalid
ios
labels
live
live
low-priority
macos
member-feature
metadata
mobile
nas
needs-analysis
no-coding-required
no-coding-required
observability
performance
places
please-test
plus-feature
priority
pro-feature
question
raspberry-pi
raw
released
released
released
research
resolved
security
sharing
tested
tests
third-party-issue
thumbnails
upgrade
upstream-issue
ux
vector
video
waiting
won't fix
won't fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/photoprism#1541
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @plague69 on GitHub (Aug 30, 2022).
I see that this has been discussed in #845 and #272 where a "Select All" is not likely due to infinite scroll, but how about a button "Select visible"?
Currently my workaround is this: (click() or dispatch event click does not work for some reason...)
let pl = $$('.is-photo'), plist = new Array(); for (i in pl) { plist.push(pl[i].dataset['uid']); } localStorage.setItem('photo_clipboard', JSON.stringify(plist)); location.reload();@graciousgrey commented on GitHub (Aug 30, 2022):
How would you define visible in this case?
All photos that have been loaded or all photos that are visible on your screen - which might be just one or two on mobile?
@plague69 commented on GitHub (Aug 30, 2022):
Everything in the viewport section/visible to the user even partially. My snippet doesn't do this of course, it was just quick and dirty
@crazyvral commented on GitHub (Aug 30, 2022):
Currently you can only select up to 999 items in both desktop and mobile PWA.
In the desktop you can still use the shift key to select up to 999 items.
You can replicate this behavior in the mobile PWA, at least for android, by selecting the first item then long press the last item you want to select. Everything in between will be selected up to 999 items.
@plague69 commented on GitHub (Aug 30, 2022):
That solves the problem for now. Thank you