mirror of
https://github.com/photoprism/photoprism.git
synced 2026-03-02 22:57:18 -05:00
UX: Enhance workflow with keyboard shortcuts #845
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#845
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 @Zaijo on GitHub (Mar 10, 2021).
Originally assigned to: @gsemet, @Zaijo, @graciousgrey on GitHub.
As a photoprism user I want to use keyboard shortcuts to perform frequent actions in my typical workflow to work faster.
Suggestions:
Also introduce a typical "keyboard shortcuts" overlay screen, that would offer quick reference.
This issue should gather all the shortcuts requests mentioned in e.g. #508
@graciousgrey commented on GitHub (Mar 10, 2021):
We definitely plan to implement shortcuts.
We have a first pull request as well - just no time yet to test and merge.
@bernsel commented on GitHub (Apr 7, 2021):
We would be happy to help fund this as well. What would it take to get it added to the roadmap? Or could we hire a developer, and pay them for their time to create this module for the project? With your input and guidance of course, so that whatever is developed fits the overall vision of the project.
@lastzero commented on GitHub (Apr 13, 2021):
See https://github.com/photoprism/photoprism/pull/743
@abhchand commented on GitHub (Dec 21, 2021):
To add another suggestion, it would be great to navigate through photos with
jandkin addition to arrow keys. While the origins are related tovim, these shortcuts have found their way in to a ton of applications.I'm considering opening a PR for this if that's ok. Just wanted to throw it out as an idea for feedback as well.
Thanks!
@CWempe commented on GitHub (Feb 22, 2022):
I would like to use
ESCtoclose the photoviewer orgo back to the previous page.I am using this often in other apps.
@FollowTheWizard commented on GitHub (Jun 15, 2023):
Have you considered using the access key option from the browser to provide a quick implementation?
Link to doucmentation:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/button?retiredLocale=de
In my opinion those options would already be great to have
select
like
archive
download
@artincube commented on GitHub (Jul 7, 2023):
I'd love to see some. Next/Prev image in Faces and any other situation where possible.
Then
select
edit
like
archive
@anst84 commented on GitHub (Sep 15, 2023):
My experience from using other photo management apps is that the delete button is convenient for removing something. If a dialogue is prompted then hitting enter would be interpreted as a Yes/Proceed archiving/deleting.
Requirements:
deleteon the keyboard should archive selected photos.deleteon the keyboard should delete selected photos.enteron the keyboard should be interpreted as that (positive answer).escapeon the keyboard should be interpreted as that (negative answer).@monester commented on GitHub (Oct 5, 2023):
It would really help when organizing libraries and import a lot of photos into a library or doing cleanup.
@HansAndreManfredson commented on GitHub (Oct 27, 2023):
^^ up!!!
I am always using keyboard shortcuts in Google Photos! This feature is a most need :-)
@maximkuzmin commented on GitHub (May 7, 2024):
I wonder, is there any progress on that? It's impossible to do anywhat serious archive interactions without that
@annappropriate commented on GitHub (May 20, 2024):
I really wish there were keyboard shortcuts, but for now I had to improvise. Organizing a large import is a PAIN without the keyboard.
Here's what you can do if you're using a Chome-based browser:
Install ShortKeys https://chromewebstore.google.com/detail/shortkeys-custom-keyboard/logpjaacgmcbpdkdchjiaagddngobkck
My workflow:
cto open the clipboardeto archiv[e] orato add to [a]lbumHere's a sample config for some inspiration, you can import it in the extension settings:
This allows to implement a limited set of shortcuts that can be useful for, in my case, quickly sorting a huge import of unorganized files. Holding my fingers crossed for the proper shortcuts!
@piec commented on GitHub (Jul 16, 2024):
When labeling new faces in the
/library/all?q=face%3Anewpage I'm using the following snippet in the js console.It binds PageUp / PageDown to previous/next photo, and focused the first unlabeled face.
@anst84 commented on GitHub (Aug 28, 2024):
Thank you @annappropriate for you're extension tip and samples!
Whilst in image full screen mode I used this to mark an image selected:
Browsing images with arrow left/right, marking/selecting them with above shortcut and then archiving them using @annappropriate sample worked really smooth for me for fast archiving.
@brownphotographic commented on GitHub (Sep 3, 2024):
Hi, any update on this? Is this on a roadmap?
@gsemet commented on GitHub (Dec 28, 2024):
hello. is it possible to define some simple hotkey, like "p" to add the current photo in the selection, e to edit metadata, and so one.
@Tirpitz93 commented on GitHub (Jan 7, 2025):
This also works in Firefox with:
https://addons.mozilla.org/en-GB/firefox/addon/shortkeys/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search
My rules:
@lastzero commented on GitHub (Jan 13, 2025):
We will be happy to take another look at this once the upgraded user interface and new viewer are released:
@lastzero commented on GitHub (Feb 11, 2025):
@Zaijo As a proof of concept for keyboard shortcuts, the commit above adds support for Ctrl-F and Ctrl-R to search and reload in the search results views, e.g.
/library/browse.To test this, you can use our public demo and/or the development preview build (both will be updated later today):
@gsemet commented on GitHub (Feb 12, 2025):
Hello,
I works (on my mac)
My humble remarks:
@lastzero commented on GitHub (Feb 21, 2025):
@gsemet I've added some improvements, e.g. you can now use the arrow keys to navigate the map in Places.
@lastzero commented on GitHub (Mar 30, 2025):
The above commit adds hints to the toolbar action menu for the shortcuts we already implemented:
In addition, there are new shortcuts and new menu actions available in the photo/video viewer, where you can now download files with Ctrl-D and archive/restore them with Ctrl-A (while we could have used "Ctrl-D" for this as well, Google Photos uses "Ctrl-A", so using the same may be less confusing for users):
When we have time, we could also add the new Ctrl-D and Ctrl-A shortcuts to the search results views...
However, I think the current shortcut support (along with support for the left and right buttons in the edit dialog for navigation) is good enough to call it an "initial" implementation that can be released/announced.
Feel free to open new issues to request additional shortcuts! 👍
@gsemet not sure how to read your remark about shortcuts on a Mac: Do you mean that we should additionally listen to the command key, since the current implementation does not work (as expected) on a Mac? Or does it work as expected, just that the shortcut hint should say "Cmd+R" instead of "Ctrl+R"? 🤔
@lastzero commented on GitHub (Apr 1, 2025):
I've created a follow-up issue to take care of the remaining issues we found while testing (getting help from our community for this would be awesome):
@lastzero commented on GitHub (Apr 1, 2025):
The above commit adds event listeners for the meta key, so that e.g. the shortcuts Ctrl+A, Ctrl+R and Ctrl+F also work on macOS when using the Apple Command key instead of Control.
@graciousgrey commented on GitHub (Apr 2, 2025):
@lastzero The shortcuts in the lightbox do not currently work when the sidebar is open.
@lastzero commented on GitHub (Apr 2, 2025):
The above commit improves the keyboard event handling and should prevent the edit and lightbox dialogs from losing focus when active. Any help testing this with our preview build would be much appreciated! ✅