Repository navigation
Description
Currently, my main usecase that I want ownCloud for is to share photos and videos with family overseas quickly, as I take them. If I want to share a photo just after I take it with my phone though, I need to:
- Go to the gallery
- Click share
- Choose a pre-existing folder (no new ones!)
- Upload
- Log in to ownCloud via the browser
- Navigate to the folder where it is
- Find the individual file
- Click share
- Select / type the appropriate user(s) / groups or public link
- If I'm sharing with someone who isn't a user on my ownCloud, copy the link
- Switch to the email / sms app
- Send a message with the public link
This is just to share a file, surely one of the core use cases of the ownCloud app. Accordingly, I rarely actually bother to share, and if I do, it's not until way later when I'm at home at my computer, with the full ownCloud interface.
Instead, I propose that we have a "Share" screen, described below. This would be accessible from 2 places. First, in the menu where the user long tap and holds a file / folder while browsing. Second, via a second button next to the "Upload" button when using Android's share feature. The second button would be "Upload and share" which would, obviously, upload as it does now, and then open the share options page.
The share page would have the following 3 radio button options:
- A list of users / group names with checkboxes to choose who to share with. If there are more than, say 10, it would show the 10 users / groups most recently shared with and a search / filter field for the user to find a pre-existing person on that ownCloud instance (limited to people in the same groups if "Limit sharing to the same groups" is active, unless the user is an admin)..
- Generate a public link, only.
- An email field to share with non users (generate a public link and send that email address a message with it).
"Generate public link only" would be the default the first time, but the chosen options would be remembered when the user shares next time.
Activity
masensio commentedon Feb 19, 2015
Hi @Bugsbane,
thanks for sharing with us your ideas about sharing feature. We will take them into account for the future improvements of the sharing .
At the moment, Android app provides you a way to share your files by link. You can copy the link or select an app to share with link with others.
Bugsbane commentedon Feb 19, 2015
Thanks @masensio
Yes, I understand the ability to create a public link, however my main reason for using ownCloud is precisely because I don't want to make my private data available to the rest of the world in the way that using a public link would. I am looking for a way to share data privately in ownCloud.
Anyway, thanks for the reply.
masensio commentedon Feb 19, 2015
Hi @Bugsbane.
I understand your problem, but don't worry.
In the near future we will implement other features about sharing as: share with password protection, share with groups ... as in the browser.
I hope this is a good news for you :)
Bugsbane commentedon Feb 19, 2015
Thanks. That was the main purpose of filing this ticket, ie. to make it known that it's generally needed and to give somewhere for that discussion to happen.
Cheers.
fxshpac commentedon Feb 24, 2015
I second this idea in general. Waited for the feature of sharing files/folders to users/groups in particular for a long time. Together with the Copy files feature and Image/Video thumbnails feature, I can handle the photo/video sharing to private users/groups all on my phone. And that completes my use case completely.
Bugsbane commentedon Jun 14, 2015
I've come up with a wireframe, which is also simplified a bit from my description above. For example, it's not really necessary to have fields to enter email addresses for people to send the public link to. Really, all that's needed there is just to generate the link and copy it to the clipboard.
Anyway, here's my UI suggestion, which would appear after choosing the folder, with the final "Upload" button in the top right:

Bugsbane commentedon Jun 14, 2015
If there are more users / groups than fit the screen, it could just be scrolled by dragging.
tobiasKaminsky commentedon Jul 25, 2015
I like it.
And as I really miss this feature I would like to implement it.
@jancborchardt Is the wireframe/mockup good? Then I would start looking how this can be done...
davivel commentedon Jul 28, 2015
Is there an entry point in the server side to get the lists of users and groups?
cc @rperezb @cmonteroluque @MTRichards
[-][Enhancement] Simple screen to share with users / groups[/-][+]Simple screen to share with users / groups[/+]rperezb commentedon Jul 28, 2015
@davivel @tobiasKaminsky we have just started a issue to discuss the UI for the iOS app, owncloud/ios-legacy#425
Once we have defined it, we may take it as reference for the Android app (adapting it to the Android style)
Time expectation, we expect to start working on the iOS side on this feature this Thursday, 30 July.
@davivel about the entry point to retrieve the list of userst, maybe helpful: https://doc.owncloud.org/server/8.0/admin_manual/configuration_user/user_provisioning_api.html
jancborchardt commentedon Jul 28, 2015
For both iOS and Android it should basically look like the current share dropdown. With the exception that we need the file thumbnail and title above.
rperezb commentedon Aug 5, 2015
@davivel @tobiasKaminsky WIP the Server API: owncloud/core#16646 to get the users
10 remaining items
Bugsbane commentedon Oct 24, 2015
Just going off the screenshot, is it actually necessary to have users click the button labeled "Add a user or group" when they're presumably already at the share screen? Maybe I'm missing something by not seeing the interaction flow, but from the photo alone, it seems redundant.
tobiasKaminsky commentedon Oct 24, 2015
@Bugsbane It is also for editing the existing sharees.
But you are right if there is no existing sharee, then it is one more step.
rperezb commentedon Oct 26, 2015
@Bugsbane the screenshot shown is the first one,
In case that the data has been already shared with any user/group there it's listed this information. If you want to share from the mobile app, then you click on the add button and a search view is implemented.
masensio commentedon Oct 26, 2015
Hi @ALL,

there are some screenshots with the appereance of "Share with users" dialog.
(Made with Nexus 5, Android 6)
When you click on "Add User or Group" button, it is shown:
We can unshare with a user or group using the cross button.
The appereance of of those dialogs on tablet are: (Nexus 7 with Android 4.3)



At the moment, we have implemented these screens as dialogs both mobile and tablet, but we are thinking about showing as dialog on tablet and fullscreen on mobile.
What is your opinion about this?
@jancborchardt, @MTRichards, @rperezb, @davivel, @tobiasKaminsky, @AndyScherzinger
AndyScherzinger commentedon Oct 26, 2015
I don't have a preference in this case for dialogs over fragments/activities. Though I wondered how I would close the dialogs since they don't seem to have a "closing action". So maybe that is an aspect which would argue for fragments.
tobiasKaminsky commentedon Oct 26, 2015
For maintaining reason I prefer to have both in the same way.
I think I remember that @jancborchardt said once that such non-permanend things should be dialogs an contrast to "new views (like show only offline files)" to better show the user that this is only for few actions visible.
davivel commentedon Oct 27, 2015
In this case they are only dialogs in appearance, the implementation is an Activity themed as a dialog. We get this way the non-permament feeling that @tobiasKaminsky comments, but moving between different fragments is easier.
@Bugsbane, besides the editing mode, it's planned to join in this view another "section" below for "share via link", and remove the separeted option from the context menu in the list of files. Something similar to the "Sharing" panel in web interface in OC 8.2.
davivel commentedon Nov 5, 2015
The view continues evolving to hold "share link" and its new options. Let's continue the dialog about the UI in #1178
davivel commentedon Nov 5, 2015
Share with users ready to go in next release, 1.8.1.
Bugsbane commentedon Nov 5, 2015
Suh-weeeeeeeeet! Tx to all involved! <3 <3 <3