Commit d976132
Fix metadata cell auto-capitalization in sandboxes list (#283)
<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## Problem
The metadata column in the sandboxes list table was displaying values in
all uppercase (e.g., `"SOURCE":"INFRA-ADMIN"` instead of
`"source":"infra-admin"`), which was confusing to users.
## Solution
Added `normal-case` class to the `JsonPopover` in `MetadataCell` to
override the default `uppercase` styling inherited from the `Button`
base variant.
## Changes
- Updated `src/features/dashboard/sandboxes/list/table-cells.tsx` to add
`normal-case` class to metadata cell's `JsonPopover`
## Testing
The fix follows the same pattern already used in `TemplateCell` (line
124), which also uses `normal-case` to prevent auto-capitalization.
---
Fixes issue reported in Slack: metadata values should preserve their
original casing and not be auto-capitalized.
<!-- CURSOR_AGENT_PR_BODY_END -->
[Slack
Thread](https://e2b-team.slack.com/archives/C086YA5T4JD/p1774974465150239?thread_ts=1774974465.150239&cid=C086YA5T4JD)
<div><a
href="https://cursor.com/agents/bc-6a966a16-cf7c-5e2c-ae46-8a50a0fa4369"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a
href="https://cursor.com/background-agent?bcId=bc-6a966a16-cf7c-5e2c-ae46-8a50a0fa4369"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Ben Fornefeld <ben-fornefeld@users.noreply.github.com>1 parent b4a682d commit d976132
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments