wazuh-dashboard-plugins icon indicating copy to clipboard operation
wazuh-dashboard-plugins copied to clipboard

Refine UI and Remove wazuh prefix

Open JuanGarriuz opened this issue 1 year ago • 4 comments

Description

This PR involves removing unmaintained visualizations and improving the titles and references across the application.

Issues Resolved

https://github.com/wazuh/wazuh-dashboard-plugins/issues/6128

Evidence

About

image

Logs

image

Health Check

image

Deploy New Agent

image

Endpoint Summary chart remove

image image image

Test

  • [ ] Check that the Endpoints Summary does not display the evolution chart and ensure that the status and details adjust correctly within the space.
  • [ ] Verify that the Wazuh prefix has been organically and appropriately removed where necessary.

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

JuanGarriuz avatar Nov 27 '23 12:11 JuanGarriuz

thought: the usage of generic terms such as server or API is not clear to me. There are 3 servers in a stack (manager, dashboard and indexer) that have APIs.

Desvelao avatar Dec 04 '23 16:12 Desvelao

Reviewing the source code, I found some references that we could consider to change:

  • PLUGIN_PLATFORM_NAME constant
  • WAZUH_INDEXER_NAME constant
  • Wazuh not ready yet reference related to server/agent configuration

files:

  • plugins/main/public/components/add-modules-data/guides/audit.js
  • plugins/main/public/components/add-modules-data/guides/fim.js
  • plugins/main/public/controllers/management/components/management/configuration/github/github.tsx
  • plugins/main/public/controllers/management/components/management/configuration/google-cloud-pub-sub/google-cloud-pub-sub.js
  • plugins/main/public/controllers/management/components/management/configuration/office365/constants.tsx
  • plugins/main/public/controllers/management/components/management/configuration/utils/wz-fetch.js
  • plugins/main/public/controllers/settings/settings.js
  • plugins/main/public/services/check-daemon-status.js
  • plugins/main/server/controllers/wazuh-api.ts
  • plugins/wazuh-core/common/constants.ts

Desvelao avatar Mar 22 '24 11:03 Desvelao

Test

image image image image image

Desvelao avatar Mar 27 '24 09:03 Desvelao

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 )

github-actions[bot] avatar Apr 02 '24 09:04 github-actions[bot]

Wazuh Core plugin code coverage (Jest) test % values
Statements 28.94% ( 286 / 988 )
Branches 26.22% ( 107 / 408 )
Functions 26.87% ( 86 / 320 )
Lines 28.68% ( 278 / 969 )

github-actions[bot] avatar Apr 02 '24 09:04 github-actions[bot]

Main plugin code coverage (Jest) test % values
Statements 12.12% ( 4210 / 34729 )
Branches 7.8% ( 1776 / 22760 )
Functions 10.77% ( 888 / 8244 )
Lines 12.31% ( 4101 / 33295 )

github-actions[bot] avatar Apr 02 '24 09:04 github-actions[bot]

Endpoint summary

image

Logs

image

About

image

Deploy agent

screencapture-localhost-5601-app-endpoints-summary-2024-04-02-15_04_52

Health check

screencapture-localhost-5601-app-app-settings-2024-04-02-15_10_02

asteriscos avatar Apr 02 '24 13:04 asteriscos