发布

  • [OPIK-3614] [FE] Add NavigationTag from annotation queues to traces/threads (#4644)

    frostbyte_neo 发布于 2026-01-07 14:10:43 +00:00

    • [OPIK-3614] [FE] Add NavigationTag from annotation queues to traces/threads
    • Replace ScopeTag with NavigationTag in AnnotationQueuePage
    • Add navigation to traces page for trace-based queues
    • Add navigation to threads page for thread-based queues
    • Apply annotation queue filter on destination page
    • Add "Annotation queue IDs" to filterable columns in TracesSpansTab
    • Add "Annotation queue IDs" to filterable columns in ThreadsTab
    • Delete unused ScopeTag component
    • Revision 2: Refactor annotation queue ID filters to use generateAnnotationQueueIdFilter utility
    • Created generateAnnotationQueueIdFilter() in filters.ts following generateExperimentIdFilter pattern
    • Updated 5 files to use new utility function instead of manual createFilter calls
    • Fixed missing type: COLUMN_TYPE.list in all annotation queue filters (required by backend)
    • Removed unnecessary static id fields that could cause React key conflicts
    • Optimized AnnotationQueuePage with useMemo for search object
    • All annotation queue filtering now uses consistent, reusable pattern
    • Revision 3: Change filter label from 'Annotation queue IDs' to 'Annotation queue ID'
    • Updated label in TracesSpansTab.tsx from plural to singular
    • Updated label in ThreadsTab.tsx from plural to singular
    • Clarifies that each filter accepts only one ID value, not comma-separated values
    • Matches pattern of other single-value filters in the UI
    • Revision 3: Fix annotation queue filter for thread stats endpoint
    • Fixed LEFT JOIN in SELECT_TRACE_THREADS_STATS to use tt.thread_model_id instead of t.id
    • This aligns with the working thread list query and correctly joins on the UUID stored in annotation_queue_items
    • Resolves 500 error and empty results when filtering threads stats by annotation_queue_ids
    下载附件