Skip to content

Polishing fixes for Favorites and Shares submenus #10261

Closed

Description

@jancborchardt
  • The highlight bar of the subentries is floating in mid-air. Should also be on the left side of the viewport. (We need to take the padding from the li and instead add it to the a)
  • Even if the menu is collapsed, the li elements are invisible but clickable. (Collapse the share menu and hover/click below it)
  • That’s also a problem when you tab through the elements with a keyboard. They are invisible but seem to receive focus
  • The triangle arrow for collapsing the folder should only show when the folder entry itself is hovered/focused, not when the subentries are hovered (cause the animation is very distracting when wanting to click a subentry)
  • When navigating via keyboard, having focus on the collapse/expand function should visibly show the arrow, just like when you hover

@skjnldsv @juliushaertl @MorrisJobke

Activity

  1. added
    designDesign, UI, UX, etc.
    1. to developAccepted and waiting to be taken care of
    papercutAnnoying recurring UX issue with possibly simple fix.
    on Jul 16, 2018
  2. added this to the Nextcloud 14 milestone on Jul 16, 2018
  3. nextcloud-bot commented on Jul 16, 2018

    @nextcloud-bot
    Member

    GitMate.io thinks possibly related issues are #10224 (Fix formatting of email and circle shares), #10223 (fix selection of share provider), #5408 (Files: not all shares are shown if folder is marked as favorite), #10046 (Fix getting the information of a group share as a sharee), and #2193 (Files: show favorites column in Shared views as well).

  4. self-assigned this
    on Jul 16, 2018
  5. MorrisJobke commented on Aug 24, 2018

    @MorrisJobke
    Member

    @jancborchardt @skjnldsv Move to 15 and maybe we can backport fixes later

  6. skjnldsv commented on Nov 6, 2018

    @skjnldsv
    Member

    That’s also a problem when you tab through the elements with a keyboard. They are invisible but seem to receive focus

    Then we need to drop the animation :)

    The highlight bar of the subentries is floating in mid-air. Should also be on the left side of the viewport. (We need to take the padding from the li and instead add it to the a)

    Looks really weird :/
    peek 06-11-2018 17-43

  7. jancborchardt commented on Nov 7, 2018

    @jancborchardt
    MemberAuthor

    Then we need to drop the animation :)

    Is there no middle ground? Like applying display: none; through JS afterwards`? Yes I know it’s not clean and CSS only, but UX and accessibility is more important than underlying code. And right now it’s really not good for people who can not use a mouse.

    Looks really weird :/

    This looks great actually. No floating blue bars in mid-air. 🎉 Could you open a pull request?

  8. jancborchardt commented on Nov 7, 2018

    @jancborchardt
    MemberAuthor

    Another idea to make the subentries less weird: Since we only have one level in Files anyway, we don’t need to indent them:
    screenshot from 2018-11-07 12-12-45 screenshot from 2018-11-07 12-12-19

    This is also how normal file managers like Finder on macOS or Nautilus on GNOME/Ubuntu do it. Then we don’t have the floating bars either. (We can choose if we want to use whitespace or a slight line, which only shows when the menu is open.)

    And yes I know, it’s adjustment from the standard, but a standard is never set in stone. ;) In the Mail app for example we do it like that already as it would be super weird to have the Inbox, Sent, Trash etc of an account indented already.

  9. skjnldsv commented on Nov 7, 2018

    @skjnldsv
    Member

    Yes I know it’s not clean and CSS only, but UX and accessibility is more important than underlying code.

    And that's how we got to the point where no one knows how to maintain our server core code anymore! :)
    Nope, clean code and maintainability is always the top priority. Otherwise you end up with crazy complicated thing and poor performances just to have a proper ux. 😕

    Until we have things properly written in a way css and js are properly working together, I don't want to add separate functions that everyone will forget and overwrite later on. 😞

    Though, your idea of putting everything flat again is not bad at all. The best would be to find a way to indicate that the sub-entries belong to a main one. Indenting was one of the possibilities, but I'm sure we can find others? What about a tiny left border ? 🤔

  10. juliusknorr commented on Nov 7, 2018

    @juliusknorr
    Member

    Since we just have one depth level we could also just make the background of the child elements light gray to indicate that they are children.

  11. 22 remaining items

  12. added this to the Nextcloud 17.0.7 milestone on Apr 22, 2020
  13. MorrisJobke commented on Aug 20, 2020

    @MorrisJobke
    Member

    Cleared the milestone.

  14. removed their assignment
    on Jul 5, 2021
  15. szaimen commented on Jan 9, 2023

    @szaimen
    Contributor

    Hi, please update to 24.0.8 or better 25.0.2 and report back if it fixes the issue. Thank you!

  16. added
    0. Needs triagePending check for reproducibility or if it fits our roadmap
    and removed
    1. to developAccepted and waiting to be taken care of
    on Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbugdesignDesign, UI, UX, etc.needs infopapercutAnnoying recurring UX issue with possibly simple fix.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions