-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add OJS/OMD Preview WebviewPanelSerializer #10
Comments
GordonSmith
added a commit
that referenced
this issue
Oct 25, 2020
Bump versions Fixes #10 Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
GordonSmith
added a commit
that referenced
this issue
Oct 25, 2020
Bump versions Fixes #10 Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
GordonSmith
added a commit
that referenced
this issue
Oct 26, 2020
Bump versions Add optional param to "ojs.preview" Fixes #10 Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
GordonSmith
added a commit
that referenced
this issue
Oct 26, 2020
Bump versions Add optional param to "ojs.preview" Fixes #10 Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
GordonSmith
added a commit
that referenced
this issue
Oct 27, 2020
fix(preview): Maintain preview state during VS Code restart
btw, I noticed you removed OJS: prefix from your command names. I kind of liked it. I believe most good vscode extensions use ext. prefix in command names for easy command search via Command Palette. |
I replaced it with "category" which should prefix it in the command list... |
oh. I missed that. cool! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gordon,
I added save as .ojs & .omd options to my JS notebook inspector:
RandomFractals/js-notebook-inspector#54
Everything looks good, except OJS/OMD Preview webview is not restored on vscode restart.
before:
that OMD Preview panel is gone after that vscode instance restart:
Expected to see same thing as in pic 1.
It would be nice if you could add WebviewPanelSerializer for those custom .ojs/.omd panels.
See my notebook.view.ts for an example of implementing that api:
https://github.com/RandomFractals/js-notebook-inspector/blob/master/src/views/notebook.view.ts
The text was updated successfully, but these errors were encountered: