FE: Update `New Policy` page to conditionally render components based on policy type
Why are we doing this work
- The
New Policy
will be used to create many different types of policies, each with their own fields that need to be filled out - This page 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[4b.createshedule_Updated.png]
Non-functional requirements
-
Documentation -
Testing
Implementation plan
-
frontend Update the policy_editor component to update what it renders based on the type of policy the user is creating
Edited by Alexander Turinske