Skip to content

Commit 6bcfc87

Browse files
Abdkhan14Abdullah Khan
and
Abdullah Khan
authored
feat(new-trace): Removing project selection when routing to issues from trace view (#69102)
Trace can have multiple projects and issues landing page pushes the project last selected when no project param is passed. --------- Co-authored-by: Abdullah Khan <abdullahkhan@PG9Y57YDXQ.local>
1 parent 3ff4f2a commit 6bcfc87

File tree

1 file changed

+3
-0
lines changed
  • static/app/views/performance/newTraceDetails/traceDrawer/details/issues

1 file changed

+3
-0
lines changed

static/app/views/performance/newTraceDetails/traceDrawer/details/issues/issues.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@ function IssueListHeader({node}: {node: TraceTreeNode<TraceTree.NodeValue>}) {
201201
start: dateSelection.start,
202202
end: dateSelection.end,
203203
statsPeriod: dateSelection.statsPeriod,
204+
// If we don't pass the project param, the issues page will filter by the last selected project.
205+
// Traces can have multiple projects, so we query issues by all projects and rely on our search query to filter the results.
206+
project: -1,
204207
},
205208
}}
206209
>

0 commit comments

Comments
 (0)