Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JetoPistola
Copy link
Contributor

@JetoPistola JetoPistola commented Jan 26, 2026

Details

Before:
image

After:
image

This PR converts all table action buttons from text buttons to icon-only buttons with tooltips for improved UX and more compact table toolbars.

Changes Made

Reusable Components (4 components):

  • DataTableRowHeightSelector - Converted to icon-only with "Rows" tooltip
  • ColumnsButton - Converted to icon-only with "Columns" tooltip
  • FiltersButton - Added tooltip support when in icon layout
  • GroupsButton - Added tooltip support when in icon layout

Action Panel Buttons (6 panels):

  • ThreadsActionsPanel - Add tags & Evaluate buttons → icon-only
  • TracesActionsPanel - Add tags & Evaluate buttons → icon-only
  • ExperimentsActionsPanel - Add tags button → icon-only
  • DatasetItemsActionsPanel - Add tags button → icon-only
  • DatasetItemsActionsPanel (Legacy) - Add tags button → icon-only
  • CommitsActionsPanel - Add version tags button → icon-only

Button Usages Updated (21 files):

  • 19 FiltersButton usages updated to layout="icon"
  • 2 GroupsButton usages updated to layout="icon"

Implementation Details

  • All icon buttons use size="icon-sm" (32x32px) for consistency
  • Tooltips appear on hover using the TooltipWrapper component
  • Icons sized at 14px (size-3.5) matching Figma design
  • No breaking changes - all functionality preserved
  • More compact table toolbars across all pages

Files Modified

29 files changed, 99 insertions(+), 76 deletions(-)

Change checklist

  • User facing
  • Documentation update

Issues

  • OPIK-4043

Testing

Manual Testing Required:

  1. Verify all table action buttons display as icons with tooltips
  2. Test tooltip appearance on hover for all converted buttons
  3. Verify button functionality remains unchanged
  4. Check responsive behavior on different screen sizes
  5. Test accessibility with keyboard navigation

Pages to Test:

  • Experiments page
  • Traces page (Threads, Traces, Spans tabs)
  • Datasets page
  • Dataset items page (old and new)
  • Annotation queues page
  • Annotation queue items page
  • Prompts page
  • Prompt commits tab
  • Optimizations page
  • Compare experiments page
  • Alerts page

Buttons to Verify:

  • Filters (icon with badge count)
  • Groups (icon with badge count)
  • Add tags (tag icon only)
  • Add version tags (tag icon only)
  • Evaluate (brain icon only)
  • Rows (rows icon only)
  • Columns (columns icon only)

Documentation

N/A - UI change only, no documentation updates required

… to icon-only with tooltips

- Convert DataTableRowHeightSelector to icon-only button with tooltip
- Convert ColumnsButton to icon-only button with tooltip
- Convert Add tags buttons to icon-only in action panels (5 files)
- Convert Evaluate buttons to icon-only in action panels (2 files)

This improves UX by making table toolbars more compact while maintaining
accessibility through tooltips on hover. Filters and Groups buttons will be
updated in a future commit.
- Add tooltip support to FiltersButton when in icon layout
- Add tooltip support to GroupsButton when in icon layout
- Update 6 FiltersButton usages to use layout="icon"
- Update 2 GroupsButton usages to use layout="icon"

All table action buttons now use icon-only layout with tooltips for
improved UX and more compact table toolbars.
…sion tags button

- Update 13 additional FiltersButton usages to layout="icon":
  - AnnotationQueuesPage
  - DatasetsPage
  - DatasetItemsPage (old and new)
  - DatasetItemsTab (old)
  - AnnotationQueuePage (TraceQueueItemsTab, ThreadQueueItemsTab)
  - AnnotationQueuesTab
  - PromptsPage
  - CommitsTab
  - OptimizationsPage
  - CompareExperimentsPage
  - AlertsPage
- Convert Add version tags button to icon-only in CommitsActionsPanel

All table action buttons now consistently use icon-only layout with tooltips.
@JetoPistola JetoPistola added the test-environment Deploy Opik adhoc environment label Jan 26, 2026
@github-actions
Copy link
Contributor

🔄 Test environment deployment process has started

Phase 1: Deploying base version 1.9.100-3995 (from main branch) if environment doesn't exist
Phase 2: Building new images from PR branch danield/OPIK-4043-table-buttons-update-from-textButtons-to-iconButtons-with-tooltip-on-hover
Phase 3: Will deploy newly built version after build completes

You can monitor the progress here.

@CometActions
Copy link
Collaborator

Test environment is now available!

To configure additional Environment variables for your environment, run [Deploy Opik AdHoc Environment workflow] (https://github.com/comet-ml/comet-deployment/actions/workflows/deploy_opik_adhoc_env.yaml)

Access Information

The deployment has completed successfully and the version has been verified.

@JetoPistola JetoPistola marked this pull request as ready for review January 26, 2026 13:31
@JetoPistola JetoPistola requested a review from a team as a code owner January 26, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Frontend test-environment Deploy Opik adhoc environment typescript *.ts *.tsx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants