vision
vision copied to clipboard
Add configuration option to open sidebar on load
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.
There is now a related annotations option which will cause the sidebar to open and present a specified annotation ID when the app loads.