Skip to content

feat(replay): Reset Network Details when changing filters#46446

Merged
billyvg merged 2 commits into
masterfrom
fix-replay-reset-network-details-on-filter-change
Apr 3, 2023
Merged

feat(replay): Reset Network Details when changing filters#46446
billyvg merged 2 commits into
masterfrom
fix-replay-reset-network-details-on-filter-change

Conversation

@billyvg

@billyvg billyvg commented Mar 28, 2023

Copy link
Copy Markdown
Member

This fixes an issue where you have a filter for fetch requests, view details of first row, clear filter. The URL params for network details persisted through filter changing and so it is trying to view details of the first row in the Network table and will show nothing if it is a non-fetch/xhr row.

This fixes an issue where you have a filter for fetch requests, view details of first row, clear filter. The URL params for network details persisted through filter changing and so it is trying to view details of the first row in the Network table and will show nothing if it is a non-fetch/xhr row.
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 28, 2023
@billyvg billyvg marked this pull request as ready for review March 28, 2023 14:29
@billyvg billyvg requested a review from a team as a code owner March 28, 2023 14:29
''
);
const {getParamValue: getDetailTab} = useUrlParams('n_details_tab', 'request');
const {getParamValue: getDetailTab} = useUrlParams('n_detail_tab', 'request');

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I changed this to make it consistent with n_detail_row

@billyvg billyvg merged commit 29380af into master Apr 3, 2023
@billyvg billyvg deleted the fix-replay-reset-network-details-on-filter-change branch April 3, 2023 19:02
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 19, 2023
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