feat(notebook-extension): add active cell inspector for notebook cells - #8006
feat(notebook-extension): add active cell inspector for notebook cells#8006farshadf wants to merge 4 commits into
Conversation
- Implemented a new CellInspector widget to display information about the active notebook cell, including task labels, execution status, and cursor position. - Added CSS styles for the CellInspector to ensure proper layout and visibility. - Created a JSON schema for configuration options related to the CellInspector. - Developed unit tests to validate the functionality of the CellInspector and its integration with notebook cells. - Included a sample Jupyter notebook for testing the CellInspector functionality.
- Implemented a new CellInspector widget to display information about the active notebook cell, including task labels, execution status, and cursor position. - Added CSS styles for the CellInspector to ensure proper layout and visibility. - Created a JSON schema for configuration options related to the CellInspector. - Developed unit tests to validate the functionality of the CellInspector and its integration with notebook cells. - Included a sample Jupyter notebook for testing the CellInspector functionality.
|
Could a maintainer please add the |
|
Thanks @farshadf this looks like it could be useful, but not sure it should be part of the core notebook package.
Have you considered creating an extension for it? You could check the extension tutorial and other related resources to learn how to develop and distribute it:
This points to the JupyterLab documentation, but since Jupyter Notebook is based on JupyterLab it usually also applies to notebook. |
|
@jtpio thanks for your review. I tried to develop it as a very small additional feature on the current Notebook structure, so it requires no additional maintenance and can be shipped with minimal to no requirement. If you still feel this is a better fit for a plugin, I will convert it to a plugin, but if this minimal feature can be shipped along the Notebook that would be great. Thank you and the contributing team for all the great work! |
|
I agree that this looks like a standalone extension rather than core addition. However, if there is any extension point that you find missing in core, or anything that would make it easier for you to develop/maintain an extension like that, changes to core to make it easier would be very much welcome! |
References
No previous issues submitted on this feature. I developed it for myself and wanted to share with the community.
Code changes
User-facing changes
Implemented a new CellInspector widget to display information about the active notebook cell, including task labels, execution status, and cursor position.
Backwards-incompatible changes
None