hypothesis / vision

Envisioning the future of the Hypothesis.
https://github.com/hypothesis/vision/issues/
40 stars 8 forks source link

Add configuration option to open sidebar on load #200

Open robertknight opened 8 years ago

robertknight commented 8 years ago

Extracted from https://github.com/hypothesis/h/issues/2844

There is currently a hook in hypothesisConfig() called "firstRun" which currently happens to open the sidebar as soon as it has loaded, but that is not its clearly documented purpose. It would be useful to provide a dedicated config option to open the sidebar when it has loaded.

robertknight commented 8 years ago

There is now a related annotations option which will cause the sidebar to open and present a specified annotation ID when the app loads.