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

Replace discover Github #6291

Merged
merged 7 commits into from
Feb 19, 2024
Merged

Replace discover Github #6291

merged 7 commits into from
Feb 19, 2024

Conversation

yenienserrano
Copy link
Member

Description

This PR, replaces the events tab on the Github module

Issues Resolved

Evidence

image

Tests

Search bar

Test Chrome Firefox Safari
Apply filters using search bar input
Apply filters using the search bar add filter feature
Apply filters using the date picker
Apply filters with no results (Check the No results match your search criteria message)
Use the saved queries feature (Check saved queries CRUD)
  • Apply filters using search bar input
  • Apply filters using the search bar add filter feature
  • Apply filters using the date picker
  • Apply filters with no results (Check the No results match your search criteria message)
  • Use the saved queries feature (Check saved queries CRUD)

Histogram chart

Test Chrome Firefox Safari
Check histogram chart hits consistency
Use chart options (three points: maximize, minimize, inspect)
  • Check histogram chart hits consistency
  • Use chart options (three points: maximize, minimize, inspect)

Data grid

Test Chrome Firefox Safari
Check all table header features (sort, show/hide columns, density, etc)
Check table pagination and rows per page
Check document detail flyout
  • Check all table header features (sort, show/hide columns, density, etc)
  • Check table pagination and rows per page
  • Check document detail flyout

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 January 9, 2024 17:18
@yenienserrano yenienserrano self-assigned this Jan 9, 2024
@yenienserrano yenienserrano linked an issue Jan 9, 2024 that may be closed by this pull request
1 task
@Machi3mfl
Copy link
Member

Machi3mfl commented Jan 10, 2024

Tests

Search bar

Test Chrome Firefox Safari
Apply filters using search bar input 🟢
Apply filters using the search bar add filter feature 🟢
Apply filters using the date picker 🟢
Apply filters with no results (Check the No results match your search criteria message) 🟢
Use the saved queries feature (Check saved queries CRUD) 🟢
  • Apply filters using search bar input
Screen.Recording.2024-01-10.at.14.52.37.mov
  • Apply filters using the search bar add filter feature
Screen.Recording.2024-01-10.at.14.53.48.mov
  • Apply filters using the date picker
Screen.Recording.2024-01-10.at.14.54.20.mov
  • Apply filters with no results (Check the No results match your search criteria message)
Screen.Recording.2024-01-10.at.14.55.36.mov
  • Use the saved queries feature (Check saved queries CRUD)
Screen.Recording.2024-01-10.at.14.55.55.mov

Histogram chart

Test Chrome Firefox Safari
Check histogram chart hits consistency 🟢
Use chart options (three points: maximize, minimize, inspect) 🟢
  • Check histogram chart hits consistency
Screen.Recording.2024-01-10.at.14.56.41.mov
  • Use chart options (three points: maximize, minimize, inspect)
Screen.Recording.2024-01-10.at.14.57.22.mov

Data grid

Test Chrome Firefox Safari
Check all table header features (sort, show/hide columns, density, etc) 🟢
Check table pagination and rows per page 🟢
Check document detail flyout 🟢
  • Check all table header features (sort, show/hide columns, density, etc)
Screen.Recording.2024-01-10.at.14.58.11.mov
  • Check table pagination and rows per page
Screen.Recording.2024-01-10.at.14.59.27.mov
  • Check document detail flyout
Screen.Recording.2024-01-10.at.15.00.00.mov

@Machi3mfl Machi3mfl self-requested a review January 10, 2024 17:53
Machi3mfl
Machi3mfl previously approved these changes Jan 10, 2024
@asteriscos asteriscos changed the base branch from master to 4.9.0 February 13, 2024 10:01
@asteriscos asteriscos dismissed Machi3mfl’s stale review February 13, 2024 10:01

The base branch was changed.

Machi3mfl
Machi3mfl previously approved these changes Feb 16, 2024
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.

LGTM!
Test ✅
CR ✅

Screen.Recording.2024-02-16.at.15.57.05.mov

@lucianogorza lucianogorza self-requested a review February 19, 2024 12:23
@lucianogorza
Copy link
Contributor

lucianogorza commented Feb 19, 2024

CR 🟢

Tests

Search bar

Test Chrome Firefox Safari
Apply filters using search bar input 🟢
Apply filters using the search bar add filter feature 🟢
Apply filters using the date picker 🟢
Apply filters with no results (Check the No results match your search criteria message) 🟢
Use the saved queries feature (Check saved queries CRUD) 🟢
  • Apply filters using search bar input

image

  • Apply filters using the search bar add filter feature

image

  • Apply filters using the date picker

image
image

  • Apply filters with no results (Check the No results match your search criteria message)

image

  • Use the saved queries feature (Check saved queries CRUD)

image
image
image

Histogram chart

Test Chrome Firefox Safari
Check histogram chart hits consistency 🟢
Use chart options (three points: maximize, minimize, inspect) 🟢
  • Check histogram chart hits consistency

image
image
image

  • Use chart options (three points: maximize, minimize, inspect)

image
image
image
image

Data grid

Test Chrome Firefox Safari
Check all table header features (sort, show/hide columns, density, etc) 🟢
Check table pagination and rows per page 🟢
Check document detail flyout 🟢
  • Check all table header features (sort, show/hide columns, density, etc)

Sort

image
image

Hide/Show columns

image

Density

image
image
image

Full screen

image

  • Check table pagination and rows per page

image
image

  • Check document detail flyout

image

Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 21.38% ( 176 / 823 )
Branches 19.45% ( 79 / 406 )
Functions 14.17% ( 36 / 254 )
Lines 21.57% ( 173 / 802 )

Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 11.61% ( 4008 / 34493 )
Branches 7.7% ( 1753 / 22760 )
Functions 11.2% ( 925 / 8257 )
Lines 11.79% ( 3896 / 33033 )

Copy link
Contributor

@lucianogorza lucianogorza left a comment

Choose a reason for hiding this comment

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

LGTM

@Machi3mfl Machi3mfl merged commit 85f4451 into 4.9.0 Feb 19, 2024
4 checks passed
@Machi3mfl Machi3mfl deleted the feat/6281-replace-discover-github branch February 19, 2024 15:05
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.

[Remove discover] Replace discover on Github module
4 participants