canonical / notebook-operators

Charmed Jupyter Notebooks
Apache License 2.0
5 stars 9 forks source link

VSCode notebook do not render multiple plugins like Markdown preview #340

Open Barteus opened 5 months ago

Barteus commented 5 months ago

Bug Description

Screenshot from 2024-03-15 16-31-54

The plugins which spawn new "HTML" preview page do not work. One of the examples can be "MarkDown Preview" from markdown-all-in-one plugin. Similar behaviour with others like:

To Reproduce

  1. Deploy Charmed Kubeflow 1.7
  2. Create a VSCode notebook
  3. Download plugin from marketplace and upload to server
  4. Install from vsix
  5. Create Markdown file and check it's preview

Environment

CKF: 1.7 microk8s: 1.24 Ubuntu 22.04

Relevant Log Output

NA

Additional Context

No response

syncronize-issues-to-jira[bot] commented 5 months ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5465.

This message was autogenerated

kimwnasptd commented 5 months ago

I tried to reproduce in an upstream KF installation but couldn't. Note that my testing steps were the following:

  1. Launch a VSCode 1.7 image
  2. Create a test.md file
  3. Go to Extensions on the left
  4. Install Markdown Editor
  5. Open test.md
  6. Right click and start command palette
  7. Do Markdown: Open Locked Preview to the side

And it showed as expected. Will try with CKF and microK8s image

Maybe the root cause is similar to https://github.com/canonical/notebook-operators/issues/339#issuecomment-2009193322

kimwnasptd commented 5 months ago

I believe I've found the root cause to be the same as https://github.com/canonical/notebook-operators/issues/339#issuecomment-2009259620