Skip to content

Redisigned Dashboard - Filters, Days since last activity state frozen when reloaded filters pane #10917

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

Closed
Tribunal33 opened this issue Feb 10, 2025 · 2 comments
Assignees
Labels
Bug:1:Minor A bug found in uncommon paths, with low consequences, limited users or has an easy workaround
Milestone

Comments

@Tribunal33
Copy link
Contributor

Describe the bug
When Days since last activity is added with slider it prevents user reopening filters and adjusting. This can also be seen if you clear the filter and reopen. It will then show a [ ] as if it is an empty array.

Preconditions: using default dataset

To Reproduce
Steps to reproduce the behavior:

  1. Login as admin (but shouldn't matter the user)
  2. Go to a Dashboard view
  3. Select Filter button
  4. Slide the Days since last activity slider to 16
  5. Select Apply Filters button
  6. When window closes
    a. Reopen the filters pane by clicking on the Filters button
    b. Also, you can remove the filter by clicking on the 'x'
  7. Try to adjust the Days since last activity slider

Expected: If the filter is cleared it should reset to 0 days since last activity or the user should be able to adjust the saved state.

Actual: If the filter was cleared then there is an [ ] in the field slider input area and the user is unable to adjust the slider. As a quick hack the user can select Clear Filters button.

What application are you using?
OJS 3.5

Additional information

Image

Image

@Tribunal33 Tribunal33 added the Bug:1:Minor A bug found in uncommon paths, with low consequences, limited users or has an easy workaround label Feb 10, 2025
@Tribunal33 Tribunal33 added this to the 3.5 Internal milestone Feb 10, 2025
jardakotesovec added a commit to jardakotesovec/ui-library that referenced this issue Feb 11, 2025
jardakotesovec added a commit to pkp/ui-library that referenced this issue Feb 11, 2025
@jardakotesovec
Copy link
Contributor

Great report. Should be fixed on main now.

@Tribunal33
Copy link
Contributor Author

This bug has been fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug:1:Minor A bug found in uncommon paths, with low consequences, limited users or has an easy workaround
Projects
None yet
Development

No branches or pull requests

2 participants