I’m working on a jupyterlab extension to add links in the Help menu to arbitrary URLs (for my purposes, internal API docs, but I hope to write this generically enough for anyone to use and configure).
I’m using the astronomy photo extension tutorial as well as jupyterlab’s help-extension as reference points.
I’ve been stuck for a while now on how to restore tabs on browser restart.
Chrome dev tools console is reporting the error on load as “restorer.restore is not a function”. I think I’m doing it correctly in my index.ts-- importing ILayoutRestorer, adding it to the requires list of the JupyterFrontEndPlugin definition, assigning ILayoutRestorer to the name “restorer” in the extension function arguments.
Any ideas what I’m doing wrong?