Skip to content

Conversation

@mbauer404
Copy link
Contributor

Requires sentry#37301

Removes the version:2 query from the request payload. The versioning was a temporary update to allow the audit log endpoint to add the audit log api names list to be included in the api response.

Also adds browserHistory when filtering by an audit log event type to aid in sharing URL links to a filtered view of the audit log event entries.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Aug 1, 2022
@mbauer404 mbauer404 requested a review from a team August 1, 2022 19:16
@mbauer404 mbauer404 marked this pull request as ready for review August 1, 2022 19:16
}));
browserHistory.push({
pathname: location.pathname,
search: `?event=${value}`,
Copy link
Member

Choose a reason for hiding this comment

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

I think you also need to initialize the state based on the location state. Without that you could load the incorrect results after a page reload.

Copy link
Member

Choose a reason for hiding this comment

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

Do you still need this parameter? It looks like it is unused.

@mbauer404 mbauer404 force-pushed the mbauer404/remove-versioning-from-request branch from 413fd66 to bb87a45 Compare August 8, 2022 20:41
@mbauer404 mbauer404 merged commit a03d381 into master Aug 8, 2022
@mbauer404 mbauer404 deleted the mbauer404/remove-versioning-from-request branch August 8, 2022 21:09
@github-actions github-actions bot locked and limited conversation to collaborators Aug 24, 2022
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.

3 participants