Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cell names in variable explorer not connected to cells #944

Closed
anjiro opened this issue Mar 13, 2024 · 1 comment
Closed

Cell names in variable explorer not connected to cells #944

anjiro opened this issue Mar 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@anjiro
Copy link

anjiro commented Mar 13, 2024

Describe the bug

I have a moderate-sized notebook with 25 cells. When I open the variable explorer, I get a nice list of variables and the cells that are using them. However, those are named as cell-N. The cells themselves have no numbers on them, and when I click the cell menu, I see a name in the box like cell_Hstk.

I see when I click on a cell I get a blue highlight around the cell, but it is rather subtle and fades fairly quickly. Especially when there's an exception in the cell, the border reverts to being thick and red, which makes that blue border even harder to see.

I'd suggest maybe displaying cell numbers next to the cells, maybe optionally only when the Variables window is open?

Environment

{
  "marimo": "0.3.1",
  "OS": "Darwin",
  "OS Version": "23.3.0",
  "Processor": "arm",
  "Python Version": "3.11.2",
  "Binaries": {
    "Chrome": "122.0.6261.112",
    "Node": "v21.6.2"
  },
  "Requirements": {
    "black": "23.3.0",
    "click": "8.1.3",
    "jedi": "0.18.2",
    "pymdown-extensions": "10.7",
    "starlette": "0.36.1",
    "tomlkit": "0.12.3",
    "typing_extensions": "4.9.0",
    "uvicorn": "0.27.0.post1"
  }
}

Code to reproduce

No response

@anjiro anjiro added the bug Something isn't working label Mar 13, 2024
@mscolnick
Copy link
Contributor

@anjiro - you can name your cells. if you name them, they will show up on the cell and in the variable panel.

I have the fix for the cell name mismatch, and increasing time of the focus color highlighting 971ea33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants