Skip to content

[Cloud Security] fix 'show 1 alerts' bug#191062

Merged
maxcold merged 3 commits intomainfrom
csp-fix-session-view-plural-show-1-alert
Aug 22, 2024
Merged

[Cloud Security] fix 'show 1 alerts' bug#191062
maxcold merged 3 commits intomainfrom
csp-fix-session-view-plural-show-1-alert

Conversation

@maxcold
Copy link
Contributor

@maxcold maxcold commented Aug 22, 2024

@maxcold maxcold added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting 8.16 candidate labels Aug 22, 2024
@maxcold maxcold requested a review from a team as a code owner August 22, 2024 10:01
values={{
count: <strong>{totalAlertsCount}</strong>,
count: totalAlertsCount,
bold: (str: string) => <strong>{str}</strong>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

before and after image for that could be nice

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a quick way to have session view data in my local env, but check the unit test, it should cover it, at least the text is there. The markup should work as well, taken straight from the docs https://formatjs.io/docs/react-intl/components#rich-text-formatting. But if we have a quick way to have the session view in local, happy to test it manually

@kibana-ci
Copy link

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
sessionView 392.0KB 392.0KB +77.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@maxcold maxcold merged commit df5810f into main Aug 22, 2024
@maxcold maxcold deleted the csp-fix-session-view-plural-show-1-alert branch August 22, 2024 15:38
@bhavyarm bhavyarm added the Team:Cloud Security Cloud Security team related label Oct 18, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.16 candidate backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Security Solution]Alerts mentioned for singular alert entry under session view

6 participants