hypothesis / hypothesis/product-backlog

openSidebar extra config options

Open
#70 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
122
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Having visited a handful of sites that use the openSidebar configuration I feel we are missing a more advanced option for mobile. When visiting an app that has openSidebar set to `true` it will always open the embedded h sidebar - regardless of screen resolution. On mobile, this means our current sidebar will take up the entire width of the website. I can't imagine that is a desired need for anyone.

The proposal is do one of a few things:
- introduce a new config value for openSidebar that can signal an explicit intent for "not-for-mobile"
- change what openSidebar:true means. Change it to, it will auto open all users, except users on mobile devices.
- if we do this, we can also add the option for openSidebar to "all-including-mobile" - though I would opt to defer until we have a client want for this

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.