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 Office 365 #6290

Merged
merged 6 commits into from
Feb 9, 2024
Merged

Conversation

yenienserrano
Copy link
Member

Description

This PR, replaces the events tab on the Office 365 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:11
@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 Machi3mfl self-requested a review January 10, 2024 18:01
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.

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.15.03.40.mov
  • Apply filters using the search bar add filter feature
Screen.Recording.2024-01-10.at.15.06.32.mov
  • Apply filters using the date picker
Screen.Recording.2024-01-10.at.15.07.28.mov
  • Apply filters with no results (Check the No results match your search criteria message)
Screen.Recording.2024-01-10.at.15.08.00.mov
  • Use the saved queries feature (Check saved queries CRUD)
Screen.Recording.2024-01-10.at.15.11.35.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.15.08.35.mov
  • Use chart options (three points: maximize, minimize, inspect)
Screen.Recording.2024-01-10.at.15.09.18.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)
Error when clicked on Show all columns
Screen.Recording.2024-01-10.at.15.10.00.mov
Screenshot 2024-01-10 at 15 10 58
  • Check table pagination and rows per page
Screen.Recording.2024-01-10.at.15.13.17.mov
  • Check document detail flyout
Screen.Recording.2024-01-10.at.15.13.43.mov

@JuanGarriuz
Copy link
Member

JuanGarriuz commented Feb 5, 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

image

🟢Apply filters using the search bar `add filter` feature

image
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

When using the clear of the save query, filters that perhaps should be maintained are removed.

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

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

image

It's more of a visual bug, but the data is marked as if it's in a continuous hover state, giving the impression that you are on that tab.

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)

image
image
image

🟢Check table pagination and rows per page

image
image

🟢Check document detail flyout

image

@yenienserrano yenienserrano mentioned this pull request Feb 5, 2024
6 tasks
Copy link
Member

@JuanGarriuz JuanGarriuz left a comment

Choose a reason for hiding this comment

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

LGTM!!

Copy link
Contributor

github-actions bot commented Feb 8, 2024

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

github-actions bot commented Feb 8, 2024

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

github-actions bot commented Feb 8, 2024

Main plugin code coverage (Jest) test % values
Statements 11.62% ( 4009 / 34498 )
Branches 7.7% ( 1753 / 22760 )
Functions 11.19% ( 925 / 8261 )
Lines 11.79% ( 3897 / 33038 )

@lucianogorza
Copy link
Member

lucianogorza commented Feb 9, 2024

CR 🟢

Test 🟢

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

  • 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

Clear saved query 🟡

On clear saved query implicit filters are deleted
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

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

Maximize

image

Inspect

Download CSV

image
image

Filter by value

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

When drag field inside sort popup the background becomes red
image

Column selector 🟢

image
image
image

Density 🟢

image
image
image

Full screen 🟢

image

Export 🟢

image
image

  • Check table pagination and rows per page 🟢

15 rows per page

image

50 rows per page

image

  • Check document detail flyout 🟢

image

Copy link
Member

@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

@asteriscos asteriscos merged commit 3de2cc0 into master Feb 9, 2024
4 checks passed
@asteriscos asteriscos deleted the feat/6282-replace-discover-office branch February 9, 2024 17:15
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 Office 365 module
6 participants