jupyter-resource-usage icon indicating copy to clipboard operation
jupyter-resource-usage copied to clipboard

"Kernel usage is missing" after switching sidebar side

Open krassowski opened this issue 1 year ago • 3 comments

Description

When switching sidebar side of kernel usage panel it does not show the usage information until we switch notebook/main area widget.

Edit: also happens when opening the sidebar item for the first time.

Reproduce

  1. Right click on sidebar kernel usage item
  2. Click "switch sidebar side"
  3. See "Kernel usage is missing"

Expected behavior

We should trigger an update after reattaching the widget.

Context

  • jupyter-resource-usage 0.7.2
  • jupyterlab 3.6.1

krassowski avatar Feb 22 '23 12:02 krassowski