hypothesis / hypothesis/product-backlog
openSidebar extra config options
- 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.