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

Bug: When bulk closing/reopening incidents table toolbar close/reopen button does not reflect changes until page reload #503

Open
podliashanyk opened this issue Mar 30, 2023 · 0 comments
Assignees
Labels
bug Something is not working as expected

Comments

@podliashanyk
Copy link
Contributor

Describe the bug
When user bulk closes/reopens incidents, the CLOSE/REOPEN-button in the Table toolbar is not updated properly. When f.e all incidents on the page have been closed by the user, button should change to RE-OPEN SELECTED while now it stille remains CLOSE SELECTED, and vice versa

To Reproduce
Steps to reproduce the behavior:

  1. Go to /incidents
  2. Select several open incidents (via checkboxes)
  3. Click on CLOSE SELECTED button in the table toolbar
  4. See that selected incidents chips have been updated to Closed, but button still remains CLOSED SELECTED

Expected behavior
When all of selected (checked) incidents are closed, button should be RE-OPEN SELECTED, when all of selected (checked) incidents are open, button should be CLOSE SELECTED, when there both closed and open incidents among the selected incidents CLOSE/REOPEN-button should disappear. Those changes should be universal and not depend on page reload.

Desktop (please complete the following information):

  • OS: MacOS Ventura 13.2
  • Browser Chrome
  • Version 111.0
  • Backend v.1.11.1, API v1(stable), frontend v.1.8.1
@podliashanyk podliashanyk added the bug Something is not working as expected label Mar 30, 2023
@podliashanyk podliashanyk self-assigned this Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant