nextcloud / nextcloud/appstore

Hide navigation on small screens

Open
#432 4 comments 2 reactions 0 assignees View on GitHub
enhancement good first issue medium priority
Dominant language
Python
Stars
392
Forks
176
Avg merge
1d 10h
Merged PRs (30d)
25

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](https://cloud.githubusercontent.com/assets/6277619/22627916/4619953e-ebcb-11e6-91e8-d10ea5d4e12a.png)

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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.