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

Single-item collections display as "1 items" instead of "1 item" #2668

Open
anjiro opened this issue Oct 18, 2024 · 1 comment
Open

Single-item collections display as "1 items" instead of "1 item" #2668

anjiro opened this issue Oct 18, 2024 · 1 comment
Labels
bug Something isn't working upstream

Comments

@anjiro
Copy link

anjiro commented Oct 18, 2024

Describe the bug

Input: [1]

Output:

[ 1 Items
  0: 1
]

It should say 1 Item instead.

Environment

{
"marimo": "0.9.10",
"OS": "Darwin",
"OS Version": "23.6.0",
"Processor": "arm",
"Python Version": "3.11.2",
"Binaries": {
"Browser": "129.0.6668.101",
"Node": "v22.9.0"
},
"Dependencies": {
"click": "8.1.3",
"importlib-resources": "missing",
"jedi": "0.18.2",
"markdown": "3.5.2",
"pygments": "2.14.0",
"pymdown-extensions": "10.7",
"ruff": "0.0.292",
"starlette": "0.36.1",
"tomlkit": "0.12.3",
"typing-extensions": "4.9.0",
"uvicorn": "0.27.0.post1",
"websockets": "12.0"
},
"Optional Dependencies": {
"pandas": "2.0.2",
"polars": "0.19.12"
}
}

Code to reproduce

No response

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

Looks like an issue with an upstream library: TexteaInc/json-viewer#531

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

No branches or pull requests

2 participants