Skip to content

feat(discover): remove transactions and surface errors#119062

Draft
nikkikapadia wants to merge 4 commits into
masterfrom
nikki/feat/remove-discover-transactions
Draft

feat(discover): remove transactions and surface errors#119062
nikkikapadia wants to merge 4 commits into
masterfrom
nikki/feat/remove-discover-transactions

Conversation

@nikkikapadia

Copy link
Copy Markdown
Member

i've changed the urls in a few different places and the WIP errors product to a different temporary url so it's easy to distinguish. I've also done some styling and title adjustments in the sidebar, page header, and cmd-k menu. I've also implemented the correct redirects.

Work to be done in future PRs:

  • removing transactions datasets in alerts in and dashboards
  • removing transactions saved queries via the backend

what it's looking like now (please ignore the other errors menu item no one else sees this besides a few data browsing members)
image

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 6, 2026
Comment thread static/app/views/discover/index.tsx Outdated
Comment thread static/app/views/discover/index.tsx Outdated
Comment thread static/app/router/routes.tsx
Comment thread static/app/views/discover/index.tsx
path: `/${discoverPath}/`,
organization,
});
return <Redirect to={targetPath + location.search} />;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discover redirect mangles pathname

High Severity

For orgs with discover-saved-queries-deprecation, bookmarks or links under /explore/discover/ are rewritten by stripping /explore/discover/ then calling replaceAll('/', '') on the full pathname. That removes the org segment and every slash, so makeDiscoverPathname gets garbage like /organizationsacmeresults/ instead of /results/.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 50ff58a. Configure here.

Comment thread tests/acceptance/test_organization_events_v2.py Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 1c34048. Configure here.

return <Redirect to={targetPath + location.search} />;
}
// transactions dataset redirects to traces url as we don't support transactions anymore
return <Redirect to={normalizeUrl('/explore/traces/')} />;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Transaction redirect drops query

Medium Severity

The transactions-dataset deprecation redirect sends users to traces with only normalizeUrl('/explore/traces/') and does not append location.search, unlike the errors-dataset branch which keeps query parameters via targetPath + location.search.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 1c34048. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant