Skip to content

feat(replays): Add saved query header for Replay pages#106879

Merged
billyvg merged 1 commit intomasterfrom
billy/feat-replay-add-header-for-saved-query
Jan 23, 2026
Merged

feat(replays): Add saved query header for Replay pages#106879
billyvg merged 1 commit intomasterfrom
billy/feat-replay-add-header-for-saved-query

Conversation

@billyvg
Copy link
Member

@billyvg billyvg commented Jan 23, 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:
image

No Saved Query:
image

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 23, 2026
@billyvg billyvg marked this pull request as ready for review January 23, 2026 16:51
@billyvg billyvg requested review from a team as code owners January 23, 2026 16:51
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
getTitleFromLocation,
ID_KEY,
TITLE_KEY,
} from 'sentry/views/explore/queryParams/savedQuery';
Copy link
Member

Choose a reason for hiding this comment

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

sus

@billyvg billyvg force-pushed the billy/feat-replay-add-header-for-saved-query branch from e144368 to 902a402 Compare January 23, 2026 17:11
import {
useQueryParamsId,
useQueryParamsTitle,
} from 'sentry/views/explore/queryParams/context';
Copy link
Member

Choose a reason for hiding this comment

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

sus

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

yeah, i'm discovering it

@billyvg billyvg merged commit 6b80bd3 into master Jan 23, 2026
53 checks passed
@billyvg billyvg deleted the billy/feat-replay-add-header-for-saved-query branch January 23, 2026 17:19
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"
/>
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants