nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.28k stars 1.77k forks source link

Roadmap: file detail & new sharing #2485

Open tobiasKaminsky opened 6 years ago

tobiasKaminsky commented 6 years ago

During hackweek @jancborchardt draw a new sharing system, which is nearly the same as web UI and which should then be also in sync with iOS.

Enhanced file detail view: detail This is an enhanced view for images/videos which have a preview:

Activity tab:

Share tab: sharing

Sharing to a new user/group/link:

2018-04-18-102204

cc: @rullzer @marinofaggiana for other clients

This is an overview issue, where I will link each PRs into it. My plan is to do this step by step, so that each PR is rather small.

Of course any feedback is welcome :-)

tobiasKaminsky commented 6 years ago

Ref for comments/sharing: https://github.com/nextcloud/server/issues/7315#issuecomment-347468998

AndyScherzinger commented 6 years ago

So how would this be combined with commenting if we ever implemented commenting on files in the client?

tobiasKaminsky commented 6 years ago

Comments will shown in the activity tab, sorted by time, with version changes and other activities. If you want to comment a file, a text input is always shown (see very first picture with "nice picture" and "right arrow").

AndyScherzinger commented 6 years ago

Hmmm, commenting is like chatting so I'd expect the commenting part on the very bottom tbh

tobiasKaminsky commented 6 years ago

This is true for every regular chat app, but then the chat is also sorted from top (old) -> bottom (new). On this mockup (and web UI) all "events" (activities, version info, comments) are sorted from new (top) -> old (bottom), so then the comment input field should also be on top, as the string, which was recently inserted will also be on top.

tobiasKaminsky commented 6 years ago

Current master: image

AndyScherzinger commented 6 years ago

So will the current (webUI) master also merge activities and comments?

tobiasKaminsky commented 6 years ago

Yes, as mentioned above this is in issue https://github.com/nextcloud/server/issues/658

AndyScherzinger commented 6 years ago

@tobiasKaminsky how will this look for now-previewable files?

AndyScherzinger commented 6 years ago

@tobiasKaminsky never mind, looked at the web ui and again... I need to ask and I feel have to phrase the question exactly like this to make a point: Why is there a pen&paper mock-up when it is basically "please implement it exactly like the web ui"?

AndyScherzinger commented 6 years ago

This is a (web)screenshot with the elements added... 2018-04-25 14_53_52-files

So how "Android native" does this feel for you?

cc @tobiasKaminsky @mario

rullzer commented 6 years ago

I agree. It should feel native to Android. And a copy of the webui doesn't feel that native.

Maybe we can look at how other solutions do this and borrow from them?

Spartachetto commented 6 years ago

As you are reconsidering the whole "file detail" interface, it could be worthwile to consider the issue #548.

Basically: could we also tag a file via mobile?

In addition I Think it us useful to cite the issue #1798 (comment a file via mobile)

Thank you

AndyScherzinger commented 6 years ago

Both requests comments and tag support are described and covered in this issue, so the answer is yes :)

AndyScherzinger commented 6 years ago

Couldn't really find a nice way, but here is how it would be done mimicing the contacts app of Android (with a scrolling effect on the toolbar) while the activity items would probably be aligned, designed a bit different. details

details2

Spartachetto commented 6 years ago

@AndyScherzinger great! I think it will be an important improvement of the app.

To be honest I fail to understand how to tag the photo form the mockup you posted....

AndyScherzinger commented 6 years ago

To be honest I fail to understand how to tag the photo form the mockup you posted....

via the tag/label icon in the toolbar

Spartachetto commented 6 years ago

Now I get it.

Thank you @AndyScherzinger for explaining it to me. I am eager to try it!!! :blush:

AndyScherzinger commented 6 years ago

I had a talk with @tobiasKaminsky and we agreed on starting out with the given approach (since this will improve the functionality of the details screen a lot) while we still want the UI to be shaped towards a more native look&feel in comparison to the actual design mock up.

AndyScherzinger commented 6 years ago

Work in progress is PR #2533

AndyScherzinger commented 6 years ago

Updated the initial description to show all closed and open/pending PRs that are related to this big picture issue for new sharing/details view.

Spartachetto commented 6 years ago

Thank you all for the great work! Just one curiosity: "Add label support" means "Add tag support"?

AndyScherzinger commented 6 years ago

"Add label support" means "Add tag support"?

Yes! :)

Edit: I rephrased it to take the term tag into account :+1:

pi-ken commented 6 years ago

Yes.... Tags please! I'm also assuming that once we can edit/add tags there will also be a way to filter by tags, much like the desktop client.

AndyScherzinger commented 6 years ago

I'm also assuming that once we can edit/add tags there will also be a way to filter by tags, much like the desktop client.

I general yes, if it'll be available right away I can't say since that will be a different part within the app, but maybe @tobiasKaminsky has some insights :)

BennyLi commented 4 years ago

Moin. Are there any updates regarding the tags support?

rplevka commented 4 years ago

+1 to tag implementation. It's a thing blocking us from using the photo sharing properly. I've been watching this roadmap for some time and see it's stale. What is the issue? Can I help?

AndyScherzinger commented 4 years ago

What is the issue? Can I help?

@rplevka The short version; 1) lack of dev capacity 2) yes The slightly longer version: If you could provide a PR with the implementation (exact solution might have to be discussed here upfront just to be sure the solution design gets approved) than I'd be positive it gets merged and the feature will be shipped. We are all here to help (answer questions, code reviews, discuss solutions, etc.).

Spartachetto commented 4 years ago

@AndyScherzinger thank you for your clear answers.

I came back to this issue because I happened to read https://github.com/nextcloud/server/issues/22435

It could be useful to define better "Add label/tag support" . I am saying this because I honestly believed that some functionalities were already available and I had to open the app to see that this was not actually true.

Here is what I mean: it seems to me that Add label/tag support can be split in three:

  1. add / remove tags from a single file (like in the mock-up in https://github.com/nextcloud/android/issues/2485#issuecomment-384279509 )
  2. search the files that have one or more tags (bonus points: and do not have other tags...)
  3. perform some operations (copy, share, delete, ...) on the files that have one or more tags

While 1 should be totally dependent from the lack of enough developers, 2 could maybe be solved by Unified search (for reference https://github.com/orgs/nextcloud/projects/38 , https://github.com/nextcloud/server/issues/21619, and hopefully https://github.com/nextcloud/server/issues/4851). No idea about 3

rplevka commented 4 years ago

@AndyScherzinger - i'd add to 1 that tag assignment should be possible on a selection of files too (bulk action). I think this is not even implemented in the web app as of today.

regarding my previous comment - It looks like I gave you some false hope there. The cruel reality is - i have no experience with android app development nor php.

Spartachetto commented 4 years ago

@rplevka for me that would be a point 4 because I think it needs a different interface, exactly like in the web interface where you can tag one single file but not a selection of files.

If @AndyScherzinger agrees and finds it useful, I could update the list above...

Spartachetto commented 4 years ago

Concerning Unified Search, it has been moved to OCS api: https://github.com/nextcloud/server/pull/22639

AndyScherzinger commented 4 years ago

I do find the split helpful, yes and would also agree with the assessment 👍

Looping in @tobiasKaminsky

freelon commented 2 years ago

Is the tag support mentioned here focused on the system-wide tags or are there plans to have tags that are only visible to the user who defined them? (The latter would be more of my use case since I wouldn't want everyone on the same server to see what tags I use / only see my tags for selection when I search etc, not (possibly) 100s more?

If there was server support for user specific tags coming (I couldn't find it yet) I would like to assist with the app part of it.

tobiasKaminsky commented 2 years ago

Tags are currently not in our focus, as they are rarely used.