Skip to content

Add bolding to security policy cards

Grant Hickman requested to merge g.hickman-policy-card-text-bolding into master

What does this MR do and why?

This merge request updates the text content for various policy types in a security orchestration component. The changes primarily involve adding HTML emphasis (using tags) to key phrases within the policy descriptions and examples. This emphasis helps highlight important aspects of each policy type, such as "check for security vulnerabilities" and "enforce security scans."

Additionally, the code allows for safe rendering of HTML content in the policy descriptions by adding the 'strong' tag to the safeHtmlConfig. These changes aim to improve the readability and visual impact of the policy information presented to users.

Fixes https://gitlab.com/gitlab-org/gitlab/-/issues/438187+.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Grant Hickman

Merge request reports

Loading