-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
link to gallery for folders #8268
Comments
Please raise this issue in the gallery repo: https://github.com/owncloud/gallery |
Opened a new issue, although I'm not sure, if I understand the problem here. I'm not talking about changing the link automatically, just giving a user the option to use a checkmark when sharing a folder. I opened it in core, because I thought that sharing is part of core. |
We should not overload the sharing popup with much more options. We have been thinking about to add some logic to detect whether there are only/a lot of pictures in the shared folder and default to the pictures view. Von Samsung Mobile gesendet -------- Ursprüngliche Nachricht -------- Opened a new issue, although I'm not sure, if I understand the problem here. I'm not talking about changing the link automatically, just giving a user the option to use a checkmark when sharing a folder. I opened it in core, because I thought that sharing is part of core. — |
Sharing a directory as a list or as a gallery is rather an essential option or do you want to send someone a link to a folder that contains only pictures and the receipient is presented with a directory listing? |
Well this is exactly what I was trying to explain - we want to autodetect if the folder contains pictures and then default to the pictures view. Regarding user should have a choice: I'd prefer the paradigm: 'Convention of configuration'.
From my point of view the pop up is already overloaded as of today 😉 |
Sure, I understand, but what should users do, if they don't want the default behavior?
I agree, but in this case you actually take something away from the user by not giving him the choice. |
There is also another view point to this topic: In order to allow the view to switch between the modes there is a button to change the view on the upper right corner. |
Yes, this is possible, but it is tedious. Imagine you are traversed in a deep dir structure. Now you have to start over in the gallery to share the folder as an album. Am I the only one who finds this strange? |
@DeepDiver1975 I agree with your points. If a folder is shared from the files app and:
… the default generated share link should be that of Pictures. |
@DeepDiver1975 @jancborchardt are you talking about the default behavior or the only available bahavior? What is the procedure for a user to send you a shared link that doesn't match the default? |
If the default generated by ownCloud doesn’t match the expectation of the sender or the recipient, both sender and recipient can just use the toggle in the top right to switch between files list and pictures view. The link in the address bar changes accordingly and can be copied then. @DeepDiver1975 @PVince81 I’m reopening this as a reminder we should implement the behavior mentioned by @DeepDiver1975 and in my previous comment: #8268 (comment) |
@jancborchardt I know that this ispossible, but it is tedious. You have to:
Wouldn't it be more convenient just to set or unset a check mark? |
@tessus your original request was:
And we answered above:
So everything is automatic, no need for extra setting of a checkmark – which would be inconvenient and useless in most cases. Now someone just needs to implement it. @tessus any help on that front is appreciated. |
I'm quite busy with other stuff at the moment, but I can have a look at it later this week. I have to admit though that I'm neither a .css nor a javascript person, so if this change has anything to do with either, I'm the wrong guy. |
ownCloud 7.0.0+dfsg-2 (Debian) (stable) +1 to make sharing a gallery of photos/images easier for the end users to navigate. After sharing a folder of images and getting lots of feedback from people (less tech/computer savvy than us) ending up downloading each image rather than viewing as gallery (also due in part to it not being obvious how to preview a file rather than d/l it), I myself, only discovered the thumbnail/list view button when testing the share link myself. Surely that button should also be visible to the sharer in standard view so that the resulting share link represents this condition rather than relying on the share viewer choosing this for themselves, if they even notice the button at all! Not only but also, if you share a folder of folders all containing photos, if you select thumbnail view inside one of these folders, then navigate back to the root folder of these folders, you get nice image previews (as in the gallery/thumbnail view) instead of the folders, which is a great enhancement, but hidden away as there is no file list/thumbnail button shown when there are only folders in view! I see this milestones for oc8 but not sure exactly what has been submitted? |
I agree with the OP. 2 things are missing
|
A possible implementation of the Gallery button |
Automatically using the pictures view when there are more than 80% pictures in the folder would be good, wouldn’t it? The other files could be shown below as well. Kind of similar to the thumbnail view in the Android app owncloud/android#239 (comment) |
@jancborchardt I could see such an automatic behaviour alienating some users. Imagine you need to edit the readme in that folder. You specifically pick the Files app to be able to work on files and you're always taken to the gallery app. |
@oparoz I was just referring to how the public view is shown. That is, when you share a link to a folder which mainly contains images, it should show the image thumbnail view by default. Instead of requiring people to manually switch to that. |
Well, the app let's you magically change the link, so it's very easy for users, but it's true that it's not done automatically. Try it with the dev branch of Gallery and master of sharelinks. (When sharing a link you get a choice between the standard link and a direct download link.) The app could pick a sane default, but the main problem is that there is no magic method which automatically selects media files, so an extra call would have to be made to the Gallery app to get a list of media type and then we'd use that to filter the files list. Not worth the extra waiting time imho. |
@oparoz Thanks, this is great. Unfortunately I haven't installed 8.x yet, but I will as soon as 8.1 is out. |
I don't agree. Most people want an easy way to share links. What can be easier than choosing between 2 options: share as gallery / share as list? All the defaults and the resulting code around it makes the code more complex and slower. |
What I find strange is the following: owncloud should be about sharing files, yet a separate app has to be written to get the functionilty that should have been included from the start. I'm grateful to @oparoz to provide the much needed (and in my opinion basic) functionality. This is not a hate post or anything, it's just that I don't get it. Maybe I misunderstood the main reason and application for owncloud. Please let me know and correct me, if owncloud's main focus is not sharing files. |
Simple: the software deciding on a reasonable default automatically based on the content of what is being shared. Yes, ownCloud’s main focus is syncing and sharing files. In an easy fashion though, which is on par with and surpassing proprietary alternatives. Not something which is riddled with settings where every little thing has to be decided by every single person using the software. |
What, if the SW picks the wrong default? I'm sorry, but I don't like something choosing for me. I make the decision. You don't give the user a choice. IMO that's not reasonable, but cumbersome. Also, this is not a little thing. There's nothing easy - as you call it - about it, if you are in a deep folder structure and have to switch to a different app and start all over again, just to get the link you want. |
The Gallery+ app easily solves that by introducing a switcher between Files and Gallery. |
I think the automatic choice works well if you have access to exactly the same content, but just presented differently. Luckily, we can add functionalities through apps and I hope @jancborchardt will help improve its design :) |
@oparoz I kind'a like the current behavior - if you share from the gallery, you get a gallery link. If you share from the Files app, you get a Files view. And recipients can switch, of course. Isn't that good enough? |
@jospoortvliet - I'm not the one who made the request and based on downloads of ShareLinks, there either is a small percentage of ownCloud users who need that functionality or users don't know about the app. I don't think it would require such a large effort to introduce and maintain an API so that apps can offer users a way to pick the kind of link they want to share and it really makes sense in a sharing solution, but I don't have the roadmap or the resources allocation table, so it's up to the core team to define the priority of this feature. In the meantime I'll try to keep ShareLinks alive. |
@jospoortvliet this requires you to use the gallery app to browse through folders and then share a link. This can be slow, if you have a lot of folders and files in each of the directories. |
@tessus I'm not saying it is ideal, but neither is adding options to the share dialog. The question is what is more cumbersome - crowding the share dialog more, increasing the barrier to ownCloud usage (yes, it's one button, but they add up) to save an occasional click to the 'other' view? Not sure if it is worth it. This of course gets us to the area where things become subjective, but on a whole, I think it is good that we are being conservative (if there is no great, clear need for a button, let's not add it). That is what has kept the ownCloud ui clean and usable. I don't see a huge, pressing need if it is easy for both sender and recipient to switch and get the result they want. |
@jospoortvliet I agree to disagree.
I'm sorry, but there are parts in the GUI that are everything but clean and usable. e.g. moving files, deleting users (after 10 seconds all data is lost, if you don't click undo). But that may be off topic here. About which other things are you talking about when you say 'they add up'? What else is there? Also, there's space for at least 10 additional things in that dialog w/o getting cramped. |
After 6 years we can close this. Brilliant. |
When you share a folder, the link that is shown is always in the format:
//example.com/public.php?service=files&t=49e186e1cfe7afd7f0bfe638aa5ff16d
If you share a folder that holds pictures, you might want to share the link to the gallery instead.
What do you think of an additional checkbox (only for folders) that allows you to share the link as:
//example.com/public.php?service=gallery&t=49e186e1cfe7afd7f0bfe638aa5ff16d
The text was updated successfully, but these errors were encountered: