aws / aws/graph-notebook

[BUG] Copied iTables widgets fail to load in classic Jupyter Notebook

Open
#616 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Jupyter Notebook
Stars
819
Forks
179
PR merge metrics
No merged PRs in 30d

Description

**Community Note**
* Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
* If you are interested in working on this issue or have submitted a pull request, please leave a comment.

**Describe the bug**

This issue occurs when using classic Jupyter Notebook [command mode](https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Notebook%20Basics.html#Command-mode) keyboard shortcuts to duplicate an executed cell with iTables widget output. The iTable in the copied cell appears to get stuck indefinitely attempting to loading external resources.

![Screenshot 2024-06-11 at 5 14 51 PM](https://github.com/aws/graph-notebook/assets/10456376/698e89bf-6e36-466b-86a3-099fe0cb63aa)

This appears to be platform specific - on JupyterLab, copying cells with iTables output works correctly.

- OS: Mac OS Sonoma
- Browser: Google Chrome
- Graph Notebook Version: 4.4.0
- Graph Database & Version: Amazon Neptune 1.3.2.0

**To Reproduce**

1. Create a new classic Jupyter Notebook instance.
2. Execute any graph query in `%%oc`/`%%gremlin`/`%%sparql`
3. Click to the left of the executed cell to enter command mode.
4. Press `c`, then press `v`.
5. Observe the iTables widget error in the copied cell's output.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.