Skip to content

Automatically open sidebar for current folder if the screen size allows it #7138

Closed

Description

@jancborchardt

This is something we talked about at the conference: If the screen width is above a certain value, we could automatically open the sidebar for the folder you are currently in.

That would help make the things we offer in the sidebar like comments and sharing more obvious and directly accessible.

The only question is what we do in the root folder. For the first iteration we could simply not show the sidebar. In the future we could show the activity tab and simply show all activity like in the Activity app. cc @nickvergessen

What do you think @nextcloud/designers?

Activity

  1. added this to the Nextcloud 14 milestone on Nov 10, 2017
  2. skjnldsv commented on Nov 10, 2017

    @skjnldsv
    Member

    I completely agree! We have far too much empty space on big screens :)

  3. jancborchardt commented on Nov 10, 2017

    @jancborchardt
    MemberAuthor

    How could we do it? I guess we need JS for it @nextcloud/javascript

  4. nickvergessen commented on Nov 10, 2017

    @nickvergessen
    Member

    In the future we could show the activity tab and simply show all activity like in the Activity app.

    Sorry, but please don't turn the files app into a portal/dashboard/whatever...

  5. jancborchardt commented on Nov 11, 2017

    @jancborchardt
    MemberAuthor
    • in the sidebar of a file, the activity tab shows activity on the file
    • in the sidebar of a folder, ideally activity of the whole folder is shown but is not atm due to technical reasons
    • in the root folder, the sidebar could show all activity

    It's not about turning the Files app into anything, it's providing info where it's expected or useful.

    As said above, as another solution, in the root folder we could also simply not show the sidebar.

  6. Espina2 commented on Nov 11, 2017

    @Espina2
    Contributor

    In the frontend you can do that with a flag. So you verify with javascript what is the window width, if is bigger than X set the flag to true.

    And you will have something like that, if the flag is true onclick do this. That is something easy todo.

    I am not really sure about showing the bar, it can look weird. Maybe we should do it first and take the decision after. @jancborchardt

  7. blizzz commented on Nov 11, 2017

    @blizzz
    Member

    Directory activities would recursively get the activities of their children? Sounds expensive, if not pre-generated.

  8. jancborchardt commented on Nov 12, 2017

    @jancborchardt
    MemberAuthor

    @blizzz activity is a differnt discussion for now (can't find the issue). This is only about having the sidebar open, with the Sharing tab showing by default.

  9. nickvergessen commented on Nov 13, 2017

    @nickvergessen
    Member

    activity is a differnt discussion for now (can't find the issue). This is only about having the sidebar open, with the Sharing tab showing by default.

    nextcloud/activity#45

  10. added
    good first issueSmall tasks with clear documentation about how and in which place you need to fix things in.
    on Nov 21, 2017
  11. danxuliu commented on Nov 28, 2017

    @danxuliu
    Member

    If the screen width is above a certain value, we could automatically open the sidebar for the folder you are currently in.

    What would be the value (or values) to open the sidebar by default? This is similar to something planned for Nextcloud Talk, so it would be good to behave consistently (if it makes sense, of course).

  12. 13 remaining items

  13. removed this from the Nextcloud 18 milestone on Dec 9, 2019
  14. brasofilo commented on Apr 21, 2020

    @brasofilo

    Hi folks, the request was removed from Nextcloud 18 milestone and I'm not seeing it on 19 milestones either...
    There's no workaround to have the sidebar permanently opened, is it?

  15. skjnldsv commented on Apr 22, 2020

    @skjnldsv
    Member

    Not yet, this is soon coming though.
    Will be implemented slowly but surely in all the apps that supports it until all Nextcloud supports it :)

  16. schnellschnell commented on Jun 24, 2020

    @schnellschnell

    I have a project that needs the comment section always open in browsers. Is there a hack or an app or anything to begin with? I'd like to develop something that can be used by anybody later. I have some modest time and funding for that project. Have you tried something or is anybody interested?

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

    1. to developAccepted and waiting to be taken care ofdesignDesign, UI, UX, etc.enhancementfeature: filesgood first issueSmall tasks with clear documentation about how and in which place you need to fix things in.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions