Skip to content

[01110] Consistent Tooltip Style in DataTable Row Actions#3438

Merged
dcrjodle merged 2 commits intomainfrom
plan-01110-Ivy-Framework
Apr 7, 2026
Merged

[01110] Consistent Tooltip Style in DataTable Row Actions#3438
dcrjodle merged 2 commits intomainfrom
plan-01110-Ivy-Framework

Conversation

@dcrjodle
Copy link
Copy Markdown
Collaborator

@dcrjodle dcrjodle commented Apr 7, 2026

Summary

Changes

Replaced the native HTML title attribute on ActionDropdown's TriggerButton with the styled shadcn/ui Tooltip component. This makes dropdown action triggers show the same themed tooltip as regular ActionButton components, ensuring consistent UX across all DataTable row actions.

Note: The plan suggested using the withTooltip HOC, but this doesn't work correctly with DropdownMenuTrigger asChild because the HOC wraps the component in a TooltipProvider tree that breaks Radix's Slot composition. Instead, the Tooltip components are used directly in the JSX with nested asChild composition (TooltipTrigger asChild > DropdownMenuTrigger asChild > TriggerButton), which correctly composes both Radix primitives.

API Changes

None.

Files Modified

  • src/frontend/src/widgets/dataTables/dataTableRowAction/actionDropdown.tsx — Replaced native title with styled Tooltip component

Commits

  • c3ff2b7 [01110] Use styled Tooltip instead of native title in ActionDropdown trigger

dcrjodle and others added 2 commits April 7, 2026 12:26
…widget

Port the styled Tooltip from the old actionDropdown.tsx into the new
widgets/rowAction/ActionDropdown.tsx, replacing the native title attribute.
The old file keeps the re-export from @/widgets/rowAction/ActionDropdown.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dcrjodle dcrjodle merged commit f4a8008 into main Apr 7, 2026
11 of 13 checks passed
@artem-ivy-ai
Copy link
Copy Markdown
Collaborator

Staging removed

Staging environment has been deleted for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants