FE: Update Policy information sidebar to conditionally render components based on policy type
Why are we doing this work
- The policy sidebar will be used to create show information for all the different types of policies, each with their own fields that need to be displayed
- This sidebar should be updated to be able to conditionally render components based on the type of policy a user wants to create to keep our codebase as modular and DRY as possible, similar to how we utilize the security_dashboard_layout component to create the general layout for all of the security dashboards
Relevant links
Design: #267346[3b.dastpolicies_EDIT.png]
Non-functional requirements
-
Documentation -
Testing
Implementation plan
-
frontend Update the network_policy_list component to update what it renders based on the type of policy the user is creating -
abstract out the gl-drawer
component from this already too large component to separate concerns from the network_policy_list component
-
Edited by Alexander Turinske