Is it possible to make the folders clickable in the asset manager? #15238
-
It is more intuitive to click on the folder in the asset manager instead of the title? I think we expect this behaviour because Windows and Apple computers also work like this. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Just added support for double-clicking on folders to navigate to them, for Craft 4.11 and 5.3 🎉 I had originally decided against this because I was concerned about inconsistent behavior between asset indexes/selection modals, and folder selection modals (which are shown when moving a folder, to choose the destination folder). Generally double-clicking is used as a shortcut to choose an element, rather than selecting it and pressing “Select”. So by convention, folder selection modals also (currently) allow you to double-click on them to choose them. Which meant double-clicking couldn’t be used as a means of navigation for folders. I just checked a folder selection dialog within macOS (specifically, choosing a destination folder that a new repo should be cloned into, within the Tower app), and noticed that they’ve avoided the inconsistency by just not supporting double-click-to-select within folder dialogs. Double-clicking on folders within the dialog will navigate into them, just like a file selection dialog, and the only way to actually choose the current folder is to select it and press the “Open” button. So I followed suit with that, and dropped double-click-to-select support from folder selection modals. Problem solved. |
Beta Was this translation helpful? Give feedback.
Just added support for double-clicking on folders to navigate to them, for Craft 4.11 and 5.3 🎉
I had originally decided against this because I was concerned about inconsistent behavior between asset indexes/selection modals, and folder selection modals (which are shown when moving a folder, to choose the destination folder). Generally double-clicking is used as a shortcut to choose an element, rather than selecting it and pressing “Select”. So by convention, folder selection modals also (currently) allow you to double-click on them to choose them. Which meant double-clicking couldn’t be used as a means of navigation for folders.
I just checked a folder selection dialog within macOS (spec…