Skip to content

[8.x] [ai][assistant] Refactor Security solution properties to use new Assistant logo and beacon (#204286)#205409

Merged
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-204286
Jan 2, 2025
Merged

[8.x] [ai][assistant] Refactor Security solution properties to use new Assistant logo and beacon (#204286)#205409
kibanamachine merged 2 commits intoelastic:8.xfrom
kibanamachine:backport/8.x/pr-204286

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…stant logo and beacon (elastic#204286)

> A follow-up to elastic#203879

## Summary

This PR integrates the new Assistant Icon, Beacon, and Avatar into
solutions and packages owned by Security. In most cases this was a 1:1
replacement, but in a few, Icon was replaced with Beacon for
consistency, (e.g. welcome screens, upsells, etc)

Note: the scaling of the icon/avatar _before_ was one different from
EUI. The new components match EUI directly and represent a 2x scale
change (e.g. 's' becomes 'l', 'm' becomes 'xl', etc).

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit de0dc52)
@kibanamachine kibanamachine merged commit 83065da into elastic:8.x Jan 2, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
integrationAssistant 466 470 +4
observabilityAIAssistant 118 117 -1
observabilityAIAssistantApp 417 416 -1
observabilityAiAssistantManagement 388 387 -1
searchAssistant 262 261 -1
securitySolution 6451 6456 +5
securitySolutionEss 117 122 +5
securitySolutionServerless 149 154 +5
total +15

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/elastic-assistant 145 144 -1

Async chunks

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

id before after diff
integrationAssistant 877.6KB 878.3KB +733.0B
observabilityAIAssistantApp 295.2KB 295.2KB +5.0B
searchAssistant 163.4KB 163.2KB -177.0B
securitySolution 18.5MB 18.5MB +3.2KB
securitySolutionEss 62.1KB 64.6KB +2.4KB
securitySolutionServerless 132.6KB 135.1KB +2.4KB
total +8.6KB

Public APIs missing exports

Total count of every type that is part of your API that should be exported but is not. This will cause broken links in the API documentation system. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats exports for more detailed information.

id before after diff
@kbn/elastic-assistant 10 9 -1

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
observabilityAIAssistantApp 14.8KB 14.6KB -182.0B
securitySolution 86.6KB 86.6KB +1.0B
securitySolutionServerless 25.6KB 25.6KB +1.0B
total -180.0B
Unknown metric groups

API count

id before after diff
@kbn/elastic-assistant 174 172 -2

async chunk count

id before after diff
integrationAssistant 2 3 +1
securitySolution 105 106 +1
securitySolutionEss 4 5 +1
securitySolutionServerless 15 16 +1
total +4

References to deprecated APIs

id before after diff
@kbn/ecs-data-quality-dashboard 2 0 -2
integrationAssistant 4 0 -4
securitySolution 497 470 -27
total -33

cc @clintandrewhall

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

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants