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

fix(disable modal): bug with multiple selections #187

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

gkarat
Copy link
Collaborator

@gkarat gkarat commented Mar 23, 2022

This fixes a bug: if a user selects multiple clusters, unchecks the "Disable recommendation for selected clusters" flag, then the recommendation will only be disabled for selected clusters. This is incorrect, and the recommendation should be disabled for all clusters in this scenario.

Tests to be written in #111.

This fixes a bug: if user selects multiple clusters, unchecks
"Disable recommendation for selected clusters" flag, then the
recommendation will only be disabled for selected clusters. This is incorrect, and
the recommendation should be disabled for all clusters in this scenario.
@gkarat gkarat self-assigned this Mar 23, 2022
@gkarat gkarat added the bug Something isn't working label Mar 23, 2022
@gkarat gkarat requested a review from Fewwy March 23, 2022 14:51
Copy link
Collaborator

@Fewwy Fewwy left a comment

Choose a reason for hiding this comment

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

Aside from the double negation LGTM

@gkarat gkarat enabled auto-merge (squash) March 23, 2022 15:38
@gkarat gkarat disabled auto-merge March 23, 2022 15:38
@gkarat gkarat merged commit 659af06 into RedHatInsights:master Mar 23, 2022
gkarat pushed a commit that referenced this pull request Mar 23, 2022
## [1.0.16](v1.0.15...v1.0.16) (2022-03-23)

### Bug Fixes

* **disable modal:** bug with multiple selections ([#187](#187)) ([659af06](659af06))
@gkarat
Copy link
Collaborator Author

gkarat commented Mar 23, 2022

🎉 This PR is included in version 1.0.16 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

gkarat added a commit that referenced this pull request Mar 24, 2022
* fix(RecsListTable): Reset filters button behavior update (#183)

The recommendations list page Reset filters button change: the button is always available; if the button is clicked with the default filters, then the data are re-fetched; if the button is clicked with extra filters applied, it sets them to the default set.

* fix(ClusterListTable): Updated the reset filters behavior (#184)

The clusters list page Reset filters button change: the button is always available; if the button is clicked with the default filters, then the data are re-fetched; if the button is clicked with extra filters applied, it sets them to the default set.

* chore(release): 1.0.14 [skip ci]

## [1.0.14](v1.0.13...v1.0.14) (2022-03-21)

### Bug Fixes

* **ClusterListTable:** Updated the reset filters behavior ([#184](#184)) ([e184d33](e184d33))
* **RecsListTable:** Reset filters button behavior update ([#183](#183)) ([2287020](2287020))

* fix(AffectedClustersTable): rename reset filters button (#186)

* chore(release): 1.0.15 [skip ci]

## [1.0.15](v1.0.14...v1.0.15) (2022-03-21)

### Bug Fixes

* **AffectedClustersTable:** rename reset filters button ([#186](#186)) ([c5111cc](c5111cc))

* fix(disable modal): bug with multiple selections (#187)

This fixes a bug: if user selects multiple clusters, unchecks
"Disable recommendation for selected clusters" flag, then the
recommendation will only be disabled for selected clusters. This is incorrect, and
the recommendation should be disabled for all clusters in this scenario.

* chore(release): 1.0.16 [skip ci]

## [1.0.16](v1.0.15...v1.0.16) (2022-03-23)

### Bug Fixes

* **disable modal:** bug with multiple selections ([#187](#187)) ([659af06](659af06))

* chore(deps): bump axios from 0.26.0 to 0.26.1 (#172)

Bumps [axios](https://github.com/axios/axios) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](axios/axios@v0.26.0...v0.26.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(tables): revert the time-based refresh feature

This reverts the feature of data time-based refresh (was set to 20
seconds) in the clusters list and recommendations list tables.

* chore: leave FIXMEs at the improper title change

* chore(release): 1.0.17 [skip ci]

## [1.0.17](v1.0.16...v1.0.17) (2022-03-24)

### Bug Fixes

* **tables:** revert the time-based refresh feature ([5961ef7](5961ef7))

Co-authored-by: Fewwy <[email protected]>
Co-authored-by: semantic-release-bot <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants