fix(tables): keep row context menu labels on one line - #6418
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryLow Risk Overview The tables context menu widens In Reviewed by Cursor Bugbot for commit 963be2d. Configure here. |
Greptile SummaryThis PR keeps fixed-height dropdown-menu rows on one line and truncates overlong labels while widening the table row context menu for row-scoped actions.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| apps/sim/app/workspace/[workspaceId]/tables/[tableId]/components/context-menu/context-menu.tsx | Widens the row context menu and replaces the prior JSX explanation with compliant declaration-level TSDoc. |
| packages/emcn/src/components/dropdown-menu/dropdown-menu.tsx | Adds single-line row styling and wraps current bare-text labels in truncating spans without disrupting asChild. |
| packages/emcn/src/components/dropdown-menu/dropdown-menu.test.tsx | Covers the label truncation behavior and the child shapes used by current dropdown-menu consumers. |
Reviews (2): Last reviewed commit: "improvement(emcn): ellipsize menu row la..." | Re-trigger Greptile
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 963be2d. Configure here.
Summary
DropdownMenuItem/sub-trigger/checkbox/radio now stay single-line, and count-bearing labels ellipsize instead of wrappingType of Change
Testing
Type-check and lint pass. CSS-only change; not yet verified in a running table.
Checklist