nextcloud/appstore

Hide navigation on small screens

Open

#432 opened on Feb 5, 2017

 (4 comments) (2 reactions) (0 assignees)Python (174 forks)auto 404
enhancementgood first issuemedium priority

Repository metrics

Stars
 (389 stars)
PR merge metrics
 (PR metrics pending)

Description

On small screens with a width lower than 768px (e.g. mobile phones), the navigation (category list) doesn't float on the left side but moves above of the content (responsive design with media queries). This approach is fine and it fits perfectly for the startpage. But if I've chosen an app to view, I have to scroll down the long list of categories, before I can see the desired content (cp. screenshot).

screenshot

Therefore, I propose to change the appearance of the category list as following (in dependance of the type of page shown):

  • Start page (https://apps.nextcloud.com/): keep the current behavior, i.e. show the category list always.
  • Category view (https://apps.nextcloud.com/categories/*): collapse the category list and show only the current category selection; provide a button to expand the category list using JavaScript.
  • App view (https://apps.nextcloud.com/apps/*): don't show the category list at all; you can go back to the list of categories by clicking the Nextcloud App Store icon on the top.

This behavior should apply only to the media query for small devices, i.e. it has to be realized in CSS. The layout for larger devices can be kept, in my view.

Contributor guide