Skip to content

Actions in long-press menu #1144

Closed
Closed

Description

@jancborchardt

  • Share link
  • Open with
  • Update file
  • Rename
  • Move
  • Copy
  • Delete
  • Send
  • Favorite
  • Details

3 things we can do here: Correct the order, add icons and combine actions

The order should be this instead, and

  • Share link (with icon)
  • Favorite (with icon)
  • Open with | Send
  • Move | Copy
  • Rename
  • Details
  • Delete (always needs to be the last action, and with icon)

Update file should be removed – a file will be updated when opened.

edited by @jabarros

Activity

  1. AndyScherzinger commented on Sep 8, 2015

    @AndyScherzinger
    Contributor

    Hi @jancborchardt

    two questions for further details/clarification

    • should all items get an icon (I would recommend that)
    • How can the actions be combined, since move and copy as well as open with and send trigger different actions?
  2. jancborchardt commented on Sep 8, 2015

    @jancborchardt
    ContributorAuthor

    Not all items need an icon. I would actually say since it’s soo many actions, only the important actions (Share, Favorite, Delete) should get an icon.

    Regarding combining: Can actions not be put on the same row, by splitting the row somehow? The Chrome and Firefox settings menu achieve that.

  3. AndyScherzinger commented on Sep 8, 2015

    @AndyScherzinger
    Contributor

    That would be a bit complicated but possible.

    The actual implementation uses the menu definitions and renders a simple list. If we want to have a layout in the way you described it we would need to create a new layout (move from a list to a grid I guess). At a future point in time I would recommend to move favorite into the item layout to be able to set/unset it there.

    From my experience on Android "menus" usually are simple text lists (like today) or in rare cases include icons (like the pocket app). But I have never seen a 2 column layout. As long as way utilize popups it sounds fine but as soon as we move to a newer layout implementation of the list I would expect us to move to a proper pop up menu (vertical dotted line) on each item to be clickable and have 2 (or more) click areas on an item e.g. like the series guide app).

  4. jancborchardt commented on Nov 8, 2015

    @jancborchardt
    ContributorAuthor

    An example of a file manager which includes icons in the action menu is Cabinet:

    Icons should be there only for Share, Favorite and Delete – as said above to keep the focus on them.

  5. AndyScherzinger commented on Nov 9, 2015

    @AndyScherzinger
    Contributor

    I guess that should be an easy (while effort taking) one :)

    • add the respective icons
    • create a new layout for the line items (icon + text)
    • create an adapter to file the list view

    So it is some work but if one knows its way around Android UI code it is an easy one (thus also labeling it junior job).

    Should we then split the issue?

    • icons for Share, Favorite and Delete (should these then be the top three, since it might look weird if the icons are popping up every now and then within the list)?
    • custom layout as discussed in this issue

    I'm unsure about the second issue with the custom layout since it moves away from the standard Android menu layouting and thus might be tricky to implement especially when we move on to the three-dotted menu icon within the list items (which of course would be the right thing to do for UX and performance reasons) 😄

  6. jancborchardt commented on Nov 9, 2015

    @jancborchardt
    ContributorAuthor
    • icons for Share, Favorite and Delete (should these then be the top three, since it might look weird if the icons are popping up every now and then within the list)?

    No, Delete should always be the very last action. Share and Favorite need to be the first 2.

    • custom layout as discussed in this issue

    Yeah, that’s probably the biggest thing. I’d say we start by simple reordering, bringing Delete to be the last item, and sort the rest correctly as well.

  7. AndyScherzinger commented on Nov 9, 2015

    @AndyScherzinger
    Contributor

    Ah, then it is three issues... ;)

    • reordering
    • layout with icons
    • completely custom layout as suggested with the two column layout (in case we really want to do this, which might be quite painful to implement talking alignment and positioning which it then dynamically and custom)

    we simply have way to many actions on a "file" ;)

  8. jancborchardt commented on Nov 9, 2015

    @jancborchardt
    ContributorAuthor

    Favoriting could actually even just be the star symbol as a toggle left of the file name. Boom – another row saved! :)

  9. jancborchardt commented on Nov 9, 2015

    @jancborchardt
    ContributorAuthor

    And Share could be directly on the row to the right, as an element with very low opacity. See the mobile view of the web interface for reference (just make your browser smaller). Then we also don’t need to duplicate the Share function in the long-press menu and it’s way quicker to access.

  10. AndyScherzinger commented on Nov 9, 2015

    @AndyScherzinger
    Contributor

    No 8.2 for me yet (since I still have to wait for the web updater to be updated 😢) Do you have a screenshot for reference? :) (problem with the share is that we already kind of show it twice for the folders on the folder and on the right hand side...)

  11. AndyScherzinger commented on Nov 9, 2015

    @AndyScherzinger
    Contributor

    Favorite could be on the right hand side as well (like in the gmail app) also with an action, like you said.

  12. supportreq commented on Nov 9, 2015

    @supportreq
  13. 21 remaining items

  14. jancborchardt commented on Jun 8, 2016

    @jancborchardt
    ContributorAuthor

    Oh, I thought I commented here. I actually like the last mockup by @DougJod – sure we would have to adjust the exact color and sizing, but it’s good that the 3 most important functions (Favorite, Share, Delete) are emphasized and easily findable. @DougJod as additional input, of course these functions should not be duplicated in the list. :)

    Whether we do it like that, or by adding icons in the list to only the important actions – it’s important we somehow highlight the most-used ones. Currently it’s a mess of a list.

  15. AndyScherzinger commented on Jun 8, 2016

    @AndyScherzinger
    Contributor

    Yes, the last mockup would work with the additional comments by @jancborchardt while it would have to be defined what "most-used ones" means. Is it a static defined list of actions like the three seen in the mockup or a dynamic list of three actions based on the usage hit count for each action. For starters I would go for a fix set of three defined actions.

  16. jancborchardt commented on Jun 8, 2016

    @jancborchardt
    ContributorAuthor

    @AndyScherzinger yeah, for a start we should go for a fixed set. In the future we can make it a learnable UI. Like Android actually does with the sharing function in Gallery, and Firefox, where the most used share function (Signal, Bluetooth, Skype etc) is actually directly shown next to the share icon for quick access.

  17. AndyScherzinger commented on Jun 8, 2016

    @AndyScherzinger
    Contributor

    Yeah, sounds good to me :)

  18. added this to the milestone on Jul 14, 2016
  19. modified the milestones: 2.2.0, on Aug 12, 2016
  20. jabarros commented on Sep 20, 2016

    @jabarros
    Contributor

    Menu items have been reordered as we can see in the following image.

    On the other hand, since we have the multiple selection, to have a menu (on the right) per file, I think it makes no sense.

    device-2016-09-20-095443

  21. jabarros commented on Sep 20, 2016

    @jabarros
    Contributor

    @jesmrec, available on #1812

  22. jesmrec commented on Sep 21, 2016

    @jesmrec
    Member

    @jabarros

    In tablets (5,5 inches or higher), the option "SEND" is displayed as text in the toolbar. I suggest not to set text for options that do not have icon with ifRoom. The option is displayed when you select only one file that is not downloaded

    The same case happens when a file is syncing with the option "DETAILS". It is displayed when you download or update a file

  23. jabarros commented on Sep 21, 2016

    @jabarros
    Contributor

    @jesmrec, as you say, it is not cool to display the text instead of an icon, so, as we talked, icons for both ("send" and "details") items have been added. You can test it :)

  24. jesmrec commented on Sep 21, 2016

    @jesmrec
    Member

    Approved. New order in the actions menu, and items added to Send and Detailsoptions correctly.

    Thanks everybody involved.

  25. davivel commented on Sep 26, 2016

    @davivel
    Contributor

    Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions