-
Notifications
You must be signed in to change notification settings - Fork 181
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
Modify agent overview page #4516
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TR: ✔️
Screencast.from.21-09-22.15.26.21.webm
LGTM
I found a problem with the agent name, but reviewed with @Tostti we found that is not a particular behavior related with this PR, so I decided to put the evidence of the issue here to discuss if we can open a new issue to work on this. C.C @gdiazlo @Tostti @matiasmoreno876 |
* layout structures are modified * change styles to fix window * Fix visual errors * Change structure * Update changelog * Fix Changelog * Update CHANGELOG.md Co-authored-by: Nico Guevara <nicolas.guevara@wazuh.com> Co-authored-by: Nico Guevara <42900763+Tostti@users.noreply.github.com> Co-authored-by: Alex Ruiz Becerra <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 309227b)
* layout structures are modified * change styles to fix window * Fix visual errors * Change structure * Update changelog * Fix Changelog * Update CHANGELOG.md Co-authored-by: Nico Guevara <nicolas.guevara@wazuh.com> Co-authored-by: Nico Guevara <42900763+Tostti@users.noreply.github.com> Co-authored-by: Alex Ruiz Becerra <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 309227b)
Modify agent overview page (#4516) * layout structures are modified * change styles to fix window * Fix visual errors * Change structure * Update changelog * Fix Changelog * Update CHANGELOG.md Co-authored-by: Nico Guevara <nicolas.guevara@wazuh.com> Co-authored-by: Nico Guevara <42900763+Tostti@users.noreply.github.com> Co-authored-by: Alex Ruiz Becerra <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 309227b) Co-authored-by: Matias Ezequiel Moreno <matiasmoreno876@gmail.com>
Modify agent overview page (#4516) * layout structures are modified * change styles to fix window * Fix visual errors * Change structure * Update changelog * Fix Changelog * Update CHANGELOG.md Co-authored-by: Nico Guevara <nicolas.guevara@wazuh.com> Co-authored-by: Nico Guevara <42900763+Tostti@users.noreply.github.com> Co-authored-by: Alex Ruiz Becerra <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 309227b) Co-authored-by: Matias Ezequiel Moreno <matiasmoreno876@gmail.com>
Description
Closes #4256
This PR will improve the Agent Overview view, fixing different issues found. All the changes were also tested in dark mode.
Main Issue
On some resolutions, the Agent's overview page rendered like this:
That render hasn´t been scrolled, but look like if it were scrolled to the bottom of the page.
Changes done
Removed the anchor to the agent details menu:
This change was done to fix the aforementioned issue. The Agent's detail is now another section on the main screen that will move on scroll, preventing padding problems when its size changes.
Before the changes:
Grabacion.de.pantalla.desde.20-09-22.15.45.22.mov
After the changes:
Grabacion.de.pantalla.desde.20-09-22.15.22.47.mov
Fixed menu buttons for small screens
This change was done to improve the experience when the App is used on a small screen, for example, from a mobile phone on vertical mode. Previously the menu wasn't displayed, and the agent name was unnecessarily trimmed.
Before the changes:
Grabacion.de.pantalla.desde.20-09-22.15.42.31.mov
After the changes:
Grabacion.de.pantalla.desde.20-09-22.15.23.36.mov
Tests
Scenario: Open the summary page for an agent
Given a screen width higher than 1360px
Then the elements should be shown without overlapping or issues
Scenario: Open the summary page for an agent
Given a screen width lower than 1360px and higher than 768px
Then the elements should be shown without overlapping or issues
Scenario: Open the summary page for an agent
Given a screen width lower than 768px
Then the elements should be shown without overlapping or issues