You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor the SCA Inventory component (plugins/wazuh-kibana-app/public/components/agents/sca/inventory.tsx)
Current solution
The component was created to have the Policies Table and The Policy Check table in it. That adds too many states to control when some UI elements would be rendered or not.
We need to avoid this control creating new atomic components that can control their own states.
Possible solution
Create new atomic components to reduce complexity and improve the readability
Reduce code lines
Check all the state properties and decide if are necessary or not.
The text was updated successfully, but these errors were encountered:
Refactor the SCA Inventory component
(plugins/wazuh-kibana-app/public/components/agents/sca/inventory.tsx)
Current solution
The component was created to have the Policies Table and The Policy Check table in it. That adds too many states to control when some UI elements would be rendered or not.
We need to avoid this control creating new atomic components that can control their own states.
Possible solution
The text was updated successfully, but these errors were encountered: