Closed krassowski closed 3 weeks ago
The relevant code is in:
The label
can be a function taking args the same way as execute
does.
The strings will need to be created using the translation formatting as documented in https://jupyterlab.readthedocs.io/en/stable/extension/internationalization.html#internationalization-and-localization
Description
Currently in 4.2.0b3 the
application:toggle-sidebar-widget
command uses a fixed label which is always "Toggle Sidebar Element". This makes it difficult to identify which which sidebar element will be toggled.Reproduce
Expected behavior
Maybe should show something like: "Toggle 2nd Element in Right Sidebar" instead?
Context