Skip to content

Create empty states for Policies page

Alexander Turinske requested to merge 338839-update-policies-empty-state into master

What does this MR do?

Create empty states for Policies page

  • create no policies created empty state
  • create no policies found from filter empty state
  • remove empty state for no environment
  • update tests

How to setup and validate locally (strongly suggested)

  1. Turn on the :security_policies_orchestration_configuration feature flag
  2. Navigate to Security & Compliance => Policies
  3. View the empty states

Screenshots or Screencasts (strongly suggested)

Before After - No policies created After - No policies with filter
old_empty_state no_policies_created empty_filter

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #338839 (closed)

Merge request reports