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 GitHub office365 panel information tab #5167

Merged
merged 2 commits into from
Jan 26, 2023

Conversation

asteriscos
Copy link
Member

@asteriscos asteriscos commented Jan 25, 2023

Description

Hi team,
This PR fixes GitHub office365 panel information tab by removing the euiCollapsibleNavbar custom styles and using newer eui v34.6.0 component properties to display the close button inside the container and to remove the overlay.

Important

This fix is for Opensearch 2.4.0 and above. Elasticsearch 7.10.x and 7.16.x branches don't require it.

Issues Resolved

Closes #5164

Evidence

Peek 2023-01-25 17-00

Test

  • Navigate to Modules -> Github / Office365
  • Click on the Panel tab
  • Click on the laft tab with the i icon
  • Check it opens the drawer

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

@asteriscos asteriscos requested a review from a team as a code owner January 25, 2023 16:18
@asteriscos asteriscos self-assigned this Jan 25, 2023
@asteriscos asteriscos linked an issue Jan 25, 2023 that may be closed by this pull request
chantal-kelm
chantal-kelm previously approved these changes Jan 25, 2023
Copy link
Member

@chantal-kelm chantal-kelm left a comment

Choose a reason for hiding this comment

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

CR: ✅
TEST: ✅

Office365

Grabacion.de.pantalla.2023-01-25.a.la.s.13.34.11.mov

Github

Grabacion.de.pantalla.2023-01-25.a.la.s.13.36.25.mov

Tostti
Tostti previously approved these changes Jan 25, 2023
Copy link
Member

@Tostti Tostti left a comment

Choose a reason for hiding this comment

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

Evidence:

Video.sin.titulo.mp4

TEST:✔️
CR:✔️

LGTM

@asteriscos asteriscos dismissed stale reviews from Tostti and chantal-kelm via f98ced8 January 26, 2023 09:29
@@ -22,8 +22,8 @@ export const ModuleSidePanel = ({ navIsDocked = false, children, ...props }) =>
<EuiCollapsibleNav
isOpen={navIsOpen}
isDocked={navIsDocked}
showCloseButton={true}
maskProps={{ headerZindexLocation: 'below', className: 'wz-no-display' }}
ownFocus={false}
Copy link
Member

Choose a reason for hiding this comment

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

thought: I tested without this property definition, and add a mask under the component. It looks better visually. I checked in a previous version 4.3.10 and this doesn't have the mask, so I guess we could accept this change.

@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 8.76% ( 3237 / 36911 )
Branches 4.5% ( 1291 / 28673 )
Functions 7.63% ( 698 / 9142 )
Lines 8.83% ( 3122 / 35345 )

Copy link
Member

@Desvelao Desvelao left a comment

Choose a reason for hiding this comment

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

review

code 🟢
test 🟢

Wazuh dashboard

Legend:
⚫: none
🟢: passed
🔴: failed
🟡: warning
⚪: not applicable

UI

Test Chrome Firefox Safari
Open the info panel in the Panel tab of GitHub module 🟢 🟢
Open the info panel in the Panel tab of Office365 module 🟢 🟢

Details

🟢 Open the info panel in the Panel tab of GitHub module

Chrome - 🟢

image

Firefox - 🟢

image

Safari - ⚫

🟢 Open the info panel in the Panel tab of Office365 module

Chrome - 🟢

image

Firefox - 🟢

image

Safari - ⚫

@Desvelao Desvelao merged commit a6018d8 into 4.4-2.4-wzd Jan 26, 2023
@Desvelao Desvelao deleted the fix/github-office365-panel-information-tab-5164 branch January 26, 2023 09:47
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.

Office365 and Github Panel information tab
4 participants