ios-legacy icon indicating copy to clipboard operation
ios-legacy copied to clipboard

New Longpress Menu

Open rjimenezsg opened this issue 14 years ago • 15 comments

Design proposal for Longpress Menu

https://github.com/rjimenezsg/Graphics/blob/proposals/ios_Graphics/longpress.png

rjimenezsg avatar Nov 16 '12 13:11 rjimenezsg

I like the general look. I might add three ... after the open with command, so that makes sense. So it says "Open with ..." which makes it clear you will be able to select what to open with on the next page.

MTRichards avatar Nov 16 '12 13:11 MTRichards

Does it make sense to ask @jancborchardt for an opinion?

karlitschek avatar Nov 16 '12 13:11 karlitschek

Yes, an out of band email was sent to ask directly his opinion, and point him to this thread.

MTRichards avatar Nov 16 '12 14:11 MTRichards

Aren’t long-press menus really unusual on iOS? They are a bit difficult to discover, and usually these extra actions are in the detail view or worked better into the app.

So what do we have: Open with …, Delete, Move, Rename, Cancel – we should try to place these actions as contextually relevant as possible, rather than having a »kitchen sink« style menu. Let’s see:

Most iOS apps allow swiping an entry to reveal a red »Delete« button on the right side. We should do that also, hence it doesn’t need to be in the long-press menu also. The move action could also go there, with a normal lightgray button. Cancel doesn’t warrant an entry of itself, because you can just click outside of the menu. That leaves »Open with …« and »Rename«. They should go into the detail view. Check out the Dropbox app for instance, the bottom bar has an action on the right for »Print« and »Open with …«. Then renaming should be possible from the detail view, when clicking the title (which is shown in the top bar). By transforming the title into an input field, highlighting the whole file name (except the dot and extension) and showing the keyboard.

What do you think?

jancborchardt avatar Nov 16 '12 15:11 jancborchardt

Hi Jan,

I see one problem, Rename and Delete are funtions of files and folders and folders haven't a detail view.

ggdiez avatar Nov 16 '12 17:11 ggdiez

@ggdiez actually folders do have a detail view – it’s when you’re inside of them. The title of the folder is then shown in the top bar, hence it can be tapped to rename, just like for files. And since delete and move are on swipe, it’ll just work exactly like for files.

jancborchardt avatar Nov 16 '12 19:11 jancborchardt

@jancborchardt

Right now there are four, but there can be more. I'm thinking in options like Copy (to create an other version of the original file), Download (to keep a file locally without need to mark it as favorite or to do a preview) or to go to the Details view directly, just to talk about a few

I think it is important to allow the user to perform most of the actions that can be done with files and folders from the main files view.

The current design fits well with these ideas and also it easy to make it growth with little modifications.

It is also good because allows the user to chose quickly the selected action using scrolling.

The option of hiding the menu pressing outside it is contemplated. Cancel is a silly button, I'm agree with you. But I don't think it's too bad to bring the user a readable option to know how to hide or cancel the menu.

I prefer the option of renaming a file with a popup menu that lets you confirm or cancel the operation quickly.

For swipe, it will be better to create a new issue

rjimenezsg avatar Nov 19 '12 10:11 rjimenezsg

@rjimenezsg there can be more, but then it wouldn’t be good to cram them into that menu as well. Having a menu designated to just put stuff in as it comes along is not good to present to people.

You said: »I think it is important to allow the user to perform most of the actions that can be done with files and folders from the main files view.« – I think we need to know and/or define which are the most needed actions, and which are less important and thus prioritize. They aren’t all equally important, so they don’t need to be accessible from the main files view.

Copy for instance is not super important, it can be in the detail view. And Download – why an additional function for that if you can achieve the same by marking as favorite? Either we name it »Favorite« or »Offline«, but there shouldn’t be a duplication of functionality.

As for renaming: Why a popup instead of in place? For confirming it’s just enter or done on the keyboard, and for canceling the same (as long as you didn’t do a change).

jancborchardt avatar Nov 19 '12 16:11 jancborchardt

@jancborchardt

Everything depends on the use cases.

For renaming, if the app has to allow the user to restore the name once the action has started, then easiest solution is the popup menu.

If an user's work depends on creating documents based on existing ones, then the copy feature is important.

The uses cases for favorites and download files to the device are different. Both download the app to the device but the difference is that favorites is defined to keep the files sync. Download is a different use case, for example The user wants to watch a movie on an ipad during a flight and he have to download it before, there is no need to keep it sync. The user can do that with favorites, but it is a tricky action instead of a specified one.

My point with the main files view is that the main files view is like a file/folder explorer application. That is why for me make sense to perform every action doable with files and folders in that view. I don't get the need of going to a properties view (using a similar term for other explorer applications) to perform those action.

rjimenezsg avatar Nov 21 '12 09:11 rjimenezsg

@rjimenezsg

Bottom line: if everything is important, nothing is important. If everything is crammed in the menu, people will be confused. The »extra click« to get to the action from the file view is not hard, compared to the cognitive load of a bunch of text entries in a long menu which hides behind a hard to discover long tap.

That said, I’m not saying these extra actions like Copy, Rename etc should be in a »properties view«. There’s only the list of documents (and folders) and then when you click a document you get to view it. In the header, on the top right there’s a button to expand a menu then, where there’s stuff like copy, share and so on. But not rename, move or delete, because they have better places to be in the interface.

Rename: A popup menu might be the easiest solution, but not for users. Easiest is editing in place where the name is displayed anyway, and not a popup ripping people out of the flow. Essentially, it could look similar to what Safari does when you want to search something: That is, tapping the filename will convert it into an input box which takes over the header, mark the filename except the extension, and have a cancel button on the right to easily cancel the rename action. To apply the rename, there’s the typical confirm/enter on the keyboard.

Move or delete I mentioned above, when swiping over the document in the list.

Favorites and downloaded are nearly the same, and it doesn’t really make sense to introduce two functionalities which are so similar. It will just be confusing. Maybe we need to just rename it. »Offline Files« or something like that. We don’t have favorites in the web interface yet anyway, so it would be better to not have it on mobile either because otherwise people might expect that functionality also.

jancborchardt avatar Nov 28 '12 18:11 jancborchardt

Ok, this is not obvious because there are ways to get to a file with fewer clicks, but they are not intuitive clicks. After a lot of thought, here is what I think we should do.

Files: when looking at a list of files:

  • Open With - none
  • Delete - swipe
  • Rename - none
  • Move - none
  • Download - no menu option, but automatically happens when you click on the file in this menu. (these "none" are are not high priority options)

When folders are in that same list:

  • Delete - swipe on folder for the little red delete

When in the detail view for files:

  • Move: popup on the bottom
  • Copy: popup on the bottom
  • Rename: header where the name is, touch and it renames. The file is renamed only when you click enter - otherwise, pressing cancel in the keyboard or losing focus loses the rename option

When in the detail view for folders (when inside a folder looking at empty or a list of files):

  • Rename: In the name header, click on the folder name to rename

When you click on any file, it takes you to the details page. There you can also select whether this file is a favorite. Since clicking on the file downloads it anyway, there is no need for a download button.

Did I miss something?

MTRichards avatar Nov 28 '12 19:11 MTRichards

The longpress menu is not iOS like and very user unfriendly. An iOS App should have the minimum design criteria of the Apple standarts. The solutions and the ideas of @jancborchardt are very well. #39

I thing an fast edit menu like in the Twitter App is much better!

dbeuchler avatar Mar 14 '13 19:03 dbeuchler

Working on a proper flow currently (for Android as well as iOS), will keep you posted!

On Thu, Mar 14, 2013 at 8:39 PM, dbeuchler [email protected] wrote:

The longpress menu is not iOS like and very user unfriendly. An iOS App should have the minimum design criteria of the Apple standarts. The solutions and the ideas of @jancborchardthttps://github.com/jancborchardtare very well.

I thing an fast edit menu like in the Twitter App is much better!

— Reply to this email directly or view it on GitHubhttps://github.com/owncloud/ios-issues/issues/10#issuecomment-14924470 .

jancborchardt avatar Mar 14 '13 21:03 jancborchardt

Long press is not longer support on iOs, the same options are on the swipe

purigarcia avatar May 16 '14 08:05 purigarcia

Ok, I ported the rename action which is still open over to https://github.com/owncloud/ios-issues/issues/190

jancborchardt avatar May 16 '14 12:05 jancborchardt