[OPIK-2992] [FE] Add tooltips to DateTag component#4005
Merged
JetoPistola merged 3 commits intomainfrom Nov 9, 2025
Merged
Conversation
Enhanced DateTag component with context-aware tooltips that display resource-specific creation time information. Updated DateTag to accept a resource prop and wrapped it with TooltipWrapper to show contextual help text like 'Experiment creation time', 'Dataset creation time', etc. Updated the following pages to pass resource context: - AnnotationQueuePage - CompareExperimentsDetails - CompareTrialsDetails - DatasetItemsPage - PromptPage Implements OPIK-2992: DateTag with tooltip
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR enhances the DateTag component with context-aware tooltips to improve user experience. When hovering over date tags, users now see descriptive tooltips (e.g., "Experiment creation time", "Dataset creation time") that clarify what the date represents.
Key changes:
- Modified
DateTagcomponent to accept aresourceprop and display resource-specific tooltips - Updated five pages to pass the appropriate resource type to
DateTag - Removed redundant tooltip wrapper from
AnnotationQueuePagein favor of the new built-in tooltip
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| DateTag.tsx | Added resource prop and TooltipWrapper to display contextual creation time information |
| PromptPage.tsx | Updated DateTag usage to include RESOURCE_TYPE.prompt |
| DatasetItemsPage.tsx | Updated DateTag usage to include RESOURCE_TYPE.dataset |
| CompareTrialsDetails.tsx | Updated DateTag usage to include RESOURCE_TYPE.trial |
| CompareExperimentsDetails.tsx | Updated DateTag usage to include RESOURCE_TYPE.experiment |
| AnnotationQueuePage.tsx | Replaced manual tooltip wrapper with new built-in DateTag tooltip using RESOURCE_TYPE.annotationQueue |
YarivHashaiComet
approved these changes
Nov 9, 2025
vincentkoc
added a commit
that referenced
this pull request
Nov 10, 2025
into feat/optimizer-hybrid * 'feat/optimizer-hybrid' of https://github.com/comet-ml/opik: [OPIK-2986] [FE] Refactor comparison pages to use NavigationTag component (#4006) [OPIK-2992] [FE] Add tooltips to DateTag component (#4005) [OPIK-2993] [FE] Add tooltips to feedback scores and tags icons (#4007) [OPIK-3008] [FE] Refactor: NavigationTag infrastructure (#3972)
vincentkoc
added a commit
that referenced
this pull request
Nov 10, 2025
into vk/optimizer-oa_agent * 'vk/optimizer-oa_agent' of https://github.com/comet-ml/opik: [issue-2520] [SDK] Added Sycophancy Evaluation Metric (#2624) [OPIK-2986] [FE] Refactor comparison pages to use NavigationTag component (#4006) [OPIK-2992] [FE] Add tooltips to DateTag component (#4005) [OPIK-2993] [FE] Add tooltips to feedback scores and tags icons (#4007) [OPIK-3008] [FE] Refactor: NavigationTag infrastructure (#3972)
awkoy
pushed a commit
that referenced
this pull request
Nov 12, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Enhanced the DateTag component to provide better UX by displaying context-aware tooltips on hover. The tooltip shows resource-specific creation time information (e.g., "Experiment creation time", "Dataset creation time").
Implementation:
resourceprop for contextPages Updated:
This change improves user experience by making the purpose of date tags clearer without cluttering the UI.
Change checklist
Issues
Testing
Manual Testing:
Quality Checks:
Documentation
No documentation updates required - this is a UI enhancement that improves existing functionality without changing behavior or APIs.