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

Modify agent overview page #4516

Merged
merged 8 commits into from
Sep 22, 2022
Merged

Modify agent overview page #4516

merged 8 commits into from
Sep 22, 2022

Conversation

matiasmoreno876
Copy link
Contributor

@matiasmoreno876 matiasmoreno876 commented Sep 14, 2022

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:
image
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

@matiasmoreno876 matiasmoreno876 self-assigned this Sep 14, 2022
@matiasmoreno876 matiasmoreno876 marked this pull request as draft September 14, 2022 18:44
@matiasmoreno876 matiasmoreno876 linked an issue Sep 14, 2022 that may be closed by this pull request
@Tostti Tostti self-assigned this Sep 20, 2022
@Tostti Tostti marked this pull request as ready for review September 21, 2022 12:56
@Tostti Tostti changed the title layout structures are modified Modify agent overview page Sep 21, 2022
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Member

@AlexRuiz7 AlexRuiz7 left a comment

Choose a reason for hiding this comment

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

LGTM!

@Mayons95 Mayons95 self-requested a review September 21, 2022 18:29
Copy link
Contributor

@Mayons95 Mayons95 left a 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

@Mayons95
Copy link
Contributor

Mayons95 commented Sep 21, 2022

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.

Screenshot from 2022-09-21 15-30-24

C.C @gdiazlo @Tostti @matiasmoreno876

@Tostti Tostti merged commit 309227b into 4.4-7.10 Sep 22, 2022
@Tostti Tostti deleted the feature/4256-fix-agent-preview branch September 22, 2022 15:41
github-actions bot pushed a commit that referenced this pull request Sep 22, 2022
* 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)
github-actions bot pushed a commit that referenced this pull request Sep 22, 2022
* 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)
Tostti pushed a commit that referenced this pull request Sep 22, 2022
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>
Tostti pushed a commit that referenced this pull request Sep 22, 2022
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>
@Mayons95 Mayons95 mentioned this pull request Dec 7, 2022
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the agent info ribbon scroll with the rest of the content
4 participants