@@ -8,6 +8,7 @@ import GridEditable, {
8
8
} from 'sentry/components/gridEditable' ;
9
9
import ProjectBadge from 'sentry/components/idBadge/projectBadge' ;
10
10
import Link from 'sentry/components/links/link' ;
11
+ import { normalizeDateTimeParams } from 'sentry/components/organizations/pageFilters/parse' ;
11
12
import Pagination from 'sentry/components/pagination' ;
12
13
import TimeSince from 'sentry/components/timeSince' ;
13
14
import { t } from 'sentry/locale' ;
@@ -118,8 +119,8 @@ const BodyCell = memo(function BodyCell({
118
119
} ) {
119
120
const location = useLocation ( ) ;
120
121
const organization = useOrganization ( ) ;
121
- const { selection} = usePageFilters ( ) ;
122
122
const { projects} = useProjects ( ) ;
123
+ const { selection} = usePageFilters ( ) ;
123
124
124
125
const project = useMemo (
125
126
( ) => projects . find ( p => p . slug === dataRow . project ) ,
@@ -128,16 +129,11 @@ const BodyCell = memo(function BodyCell({
128
129
129
130
const traceViewTarget = getTraceDetailsUrl ( {
130
131
eventId : dataRow . traceId ,
131
- timestamp : dataRow . timestamp ,
132
- source : TraceViewSources . SCREEN_LOADS_MODULE ,
132
+ source : TraceViewSources . LLM_MODULE , // TODO: change source to AGENT_MONITORING
133
133
organization,
134
134
location,
135
135
traceSlug : dataRow . traceId ,
136
- dateSelection : {
137
- start : selection . datetime . start ,
138
- end : selection . datetime . end ,
139
- statsPeriod : selection . datetime . period ,
140
- } ,
136
+ dateSelection : normalizeDateTimeParams ( selection ) ,
141
137
} ) ;
142
138
143
139
switch ( column . key ) {
0 commit comments