feat(replays): Add saved query header for Replay pages#106879
Merged
Conversation
When navigating from Explore → Saved Queries to a Replay saved query,
the page now shows a breadcrumb ("Replays > Saved Query") and displays
the saved query name as the title, matching the behavior of Logs.
Changes:
- Pass `id` and `title` params in `getReplayUrlFromSavedQueryUrl()`
- Extract `id`/`title` from URL in `ReplayQueryParamsProvider`
- Add Replays case to `ExploreBreadcrumb` component
- Create `ReplaysHeader` component with saved query detection
ryan953
reviewed
Jan 23, 2026
| getTitleFromLocation, | ||
| ID_KEY, | ||
| TITLE_KEY, | ||
| } from 'sentry/views/explore/queryParams/savedQuery'; |
e144368 to
902a402
Compare
ryan953
reviewed
Jan 23, 2026
| import { | ||
| useQueryParamsId, | ||
| useQueryParamsTitle, | ||
| } from 'sentry/views/explore/queryParams/context'; |
Member
Author
There was a problem hiding this comment.
ryan953
approved these changes
Jan 23, 2026
JonasBa
pushed a commit
that referenced
this pull request
Jan 27, 2026
When navigating from Explore → Saved Queries to a Replay saved query,
the page now shows a breadcrumb ("Replays > Saved Query") and displays
the saved query name as the title, matching the behavior of Logs.
Changes:
- Pass `id` and `title` params in `getReplayUrlFromSavedQueryUrl()`
- Extract `id`/`title` from URL in `ReplayQueryParamsProvider`
- Add Replays case to `ExploreBreadcrumb` component
- Create `ReplaysHeader` component with saved query detection
Saved Query:
<img width="381" height="155" alt="image"
src="https://github.com/user-attachments/assets/9a42574f-921c-4800-b6c1-8dc2b28916ca"
/>
No Saved Query:
<img width="381" height="125" alt="image"
src="https://github.com/user-attachments/assets/d40a7d65-c55b-493e-ac85-6541cae521e6"
/>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
When navigating from Explore → Saved Queries to a Replay saved query,
the page now shows a breadcrumb ("Replays > Saved Query") and displays
the saved query name as the title, matching the behavior of Logs.
Changes:
idandtitleparams ingetReplayUrlFromSavedQueryUrl()id/titlefrom URL inReplayQueryParamsProviderExploreBreadcrumbcomponentReplaysHeadercomponent with saved query detectionSaved Query:

No Saved Query:
