SimonBiggs / scriptedforms

Quickly create live-update GUIs for Python packages using Markdown and simple HTML elements.
Apache License 2.0
508 stars 34 forks source link

Multi forms refactor #225

Closed SimonBiggs closed 6 years ago

SimonBiggs commented 6 years ago

Investigate how JupyterLab's content API works. Have new forms open up in new tabs. Have each tab be a standalone instance of ScriptedForms. Have a JupyterLab type container wrap up the multiple forms. Have links be sent to the content API in the same way that jupyterlab achieves it (see the markdown viewer). That way links to other forms will open new tabs and will play nice with JupyterLab proper.

Start by implementing ScriptedForms within JupyterLab, then start delegating the relevant ScriptedForms machinery to the Lab.

SimonBiggs commented 6 years ago

Remove how previous sessions are tracked on the one form. Have each instance only keep one session. Remove the current link morphing. Fix the test to not need it.

SimonBiggs commented 6 years ago

No need to have tabs in standalone version. Everything else here is done.