Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

38977: Fix analysis filtering #2288

Merged
merged 1 commit into from Nov 3, 2021
Merged

38977: Fix analysis filtering #2288

merged 1 commit into from Nov 3, 2021

Conversation

syntastical
Copy link
Contributor

What this PR does / why we need it:

Fix frontend filtering logic to match the text displayed to the user.

Special notes for your reviewer:

Does this PR introduce a user-facing change?

Filter checkbox for troubleshoot was defaulting to the opposite of what the display text said and it wasn't filtering analysis without a completion type out from errors and warnings.

Does this PR require documentation?

NONE

@syntastical syntastical added the type::feature New feature or request label Nov 1, 2021
@syntastical syntastical requested a review from a team November 1, 2021 21:34
@syntastical syntastical requested review from sgalsaleh and a team November 1, 2021 21:34
}

this.checkBundleStatus();
}

checkBundleStatus = () => {
checkBundleStatus() {
Copy link
Member

Choose a reason for hiding this comment

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

why? es6 syntax auto binds the function to the context

let nextState = {};
const val = e.target.checked ? "1" : "0";
nextState[field] = val;
handleFilterTiles(checked) {
Copy link
Member

Choose a reason for hiding this comment

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

same, we should keep the es6 syntax

@syntastical syntastical merged commit 78d83ea into master Nov 3, 2021
@syntastical syntastical deleted the fix-analysis-filtering branch November 3, 2021 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team::day2 type::feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants