Skip to content

fix(perf): Hide related issues when key_transaction is present#25863

Merged
k-fish merged 3 commits intomasterfrom
fix/perf-transaction-summary-block-key-transaction-related-issues
May 4, 2021
Merged

fix(perf): Hide related issues when key_transaction is present#25863
k-fish merged 3 commits intomasterfrom
fix/perf-transaction-summary-block-key-transaction-related-issues

Conversation

@k-fish
Copy link
Copy Markdown
Member

@k-fish k-fish commented May 4, 2021

Summary

Passing key_transactions to the issues endpoint doesn't work and currently causes an error, so this PR will hide the issues components when that tag is present as a workaround.

Refs VIS-716

Passing key_transactions to the issues endpoint doesn't work and currently causes an error, so this PR will hide the issues components when that tag is present as a workaround.

Refs VIS-716
@k-fish k-fish requested a review from a team as a code owner May 4, 2021 20:01
// Filter out key_transaction from being passed to issues as it will cause an error.
const conditions = tokenizeSearch(queryParams.query);
conditions.removeTag('key_transaction');
queryParams.query = stringifyQueryObject(conditions);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@k-fish this should be performed in the getIssuesEndpoint() method of this component.

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.

Oh nice, good call

Copy link
Copy Markdown
Member

@Zylphrex Zylphrex left a comment

Choose a reason for hiding this comment

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

👏

@k-fish k-fish merged commit 227fe50 into master May 4, 2021
@k-fish k-fish deleted the fix/perf-transaction-summary-block-key-transaction-related-issues branch May 4, 2021 21:59
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants