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

Fix timepicker close #5341

Merged

Conversation

yenienserrano
Copy link
Member

Description

Fixed the problem that did not allow closing the time picker when the button was clicked again.

The scrolling of the menu when opening the timepicker is specific to EuiPopover as it is happening in all EuiPopovers.

Issues Resolved

Evidence

At the beginning you can see how the timepicker works and at the end you can see that the EuiPopover have the same behaviour.

Peek.2023-03-30.15-44.mp4

Test

  1. Navigate to Agents
  2. Open the time picker
  3. Click again in the same spot to close it

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

@yenienserrano yenienserrano requested a review from a team as a code owner March 30, 2023 13:48
@Machi3mfl Machi3mfl self-requested a review March 30, 2023 13:53
CHANGELOG.md Outdated Show resolved Hide resolved
@Desvelao
Copy link
Member

Wazuh dashboard

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox
The timepicker selector in the Evolution panel of the Agent section should close it when it is opened and the button is clicked 🟢 🟢

Details

🟢 The timepicker selector in the Evolution panel of the Agent section should close it when it is opened and the button is clicked

Chrome - 🟢
image
image

Firefox - 🟢
image
image

Machi3mfl
Machi3mfl previously approved these changes Mar 30, 2023
Copy link
Member

@Machi3mfl Machi3mfl left a comment

Choose a reason for hiding this comment

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

Wazuh dashboard

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox
The timepicker selector in the Evolution panel of the Agent section should close it when it is opened and the button is clicked 🟢 🟢

Details

🟢 The timepicker selector in the Evolution panel of the Agent section should close it when it is opened and the button is clicked

Chrome - 🟢

Kazam_screencast_00013.mp4

Firefox - 🟢

Kazam_screencast_00014.mp4

@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 8.77% ( 3240 / 36922 )
Branches 4.49% ( 1287 / 28638 )
Functions 7.63% ( 698 / 9144 )
Lines 8.83% ( 3125 / 35357 )

@Machi3mfl Machi3mfl merged commit a24a1b7 into 4.4-2.4-wzd Mar 30, 2023
@Machi3mfl Machi3mfl deleted the fix-5300-agents-evolution-time-picker-does-not-close branch March 30, 2023 16:58
github-actions bot pushed a commit that referenced this pull request Mar 30, 2023
* Fix timepicker close

* Add changelog

* Update CHANGELOG.md

(cherry picked from commit a24a1b7)
github-actions bot pushed a commit that referenced this pull request Mar 30, 2023
* Fix timepicker close

* Add changelog

* Update CHANGELOG.md

(cherry picked from commit a24a1b7)
Machi3mfl pushed a commit that referenced this pull request Mar 30, 2023
Fix timepicker close (#5341)

* Fix timepicker close

* Add changelog

* Update CHANGELOG.md

(cherry picked from commit a24a1b7)

Co-authored-by: Ian Yenien Serrano <[email protected]>
Tostti pushed a commit that referenced this pull request Mar 30, 2023
Fix timepicker close (#5341)

* Fix timepicker close

* Add changelog

* Update CHANGELOG.md

(cherry picked from commit a24a1b7)

Co-authored-by: Ian Yenien Serrano <[email protected]>
@Desvelao Desvelao linked an issue Apr 5, 2023 that may be closed by this pull request
3 tasks
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.

Agents evolution time picker does not close
4 participants