wazuh / wazuh-dashboard-plugins

Plugins for Wazuh Dashboard
https://wazuh.com/
GNU General Public License v2.0
427 stars 176 forks source link

The go back button in the Agents section is not working properly #4069

Open BelenValdivia opened 2 years ago

BelenValdivia commented 2 years ago
Wazuh Elastic Rev Security
4.3 7.x 4301 Basic, ODFE, Xpack
Browser
Firefox

Description Go back button is working badly. After 4 or 5 clicks it works.

Steps to reproduce

  1. Navigate to Agents
  2. Select any agent
  3. Select any module(ex. security events, integrity monitoring, SCA, etc)
  4. Click on back button

Expected Result

  1. I expect to go to agents page with the first click.

Actual Result

  1. With the first click, the page is reloaded. After 4 or 5 clicks the back button works.

Screenshots

https://user-images.githubusercontent.com/26927338/164287483-9384cc17-a9d9-4592-ae23-d5d2d4e8c19b.mp4

gdiazlo commented 2 years ago

This component needs a deep refactor. We will need to design a new one without these limitations (and also using the new stack of react + ts)