Skip to content

Cleanup aiAssistantFlyoutMode feature flag#182992

Merged
patrykkopycinski merged 35 commits intoelastic:mainfrom
patrykkopycinski:chore/assistant-modal-cleanup
Jul 9, 2024
Merged

Cleanup aiAssistantFlyoutMode feature flag#182992
patrykkopycinski merged 35 commits intoelastic:mainfrom
patrykkopycinski:chore/assistant-modal-cleanup

Conversation

@patrykkopycinski
Copy link
Copy Markdown
Contributor

@patrykkopycinski patrykkopycinski commented May 8, 2024

Summary

Cleanup Security aiAssistantFlyoutMode feature flag

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

…-modal-cleanup

# Conflicts:
#	x-pack/plugins/security_solution/public/attack_discovery/pages/header/index.tsx
@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski patrykkopycinski changed the title Chore/assistant modal cleanup Cleanup aiAssistantFlyoutMode feature flag May 9, 2024
@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

…-modal-cleanup

# Conflicts:
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/assistant_header_flyout.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/index.tsx
@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

@patrykkopycinski
Copy link
Copy Markdown
Contributor Author

/ci

…-modal-cleanup

# Conflicts:
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/assistant_header_flyout.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/index.test.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/conversations/conversation_settings/conversation_settings.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/quick_prompts/quick_prompt_settings/quick_prompt_settings.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/settings/assistant_settings.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/settings/assistant_settings_management.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/types.ts
#	x-pack/packages/kbn-elastic-assistant/impl/connectorland/connector_selector/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/connectorland/connector_selector_inline/connector_selector_inline.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/connectorland/connector_setup/index.tsx
#	x-pack/plugins/security_solution/public/assistant/stack_management/management_settings.tsx
@kibana-ci
Copy link
Copy Markdown

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
integrationAssistant 538 532 -6
securitySolution 5582 5575 -7
total -13

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 139 138 -1

Async chunks

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

id before after diff
securitySolution 15.6MB 15.4MB -142.9KB

Page load bundle

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

id before after diff
securitySolution 83.7KB 83.7KB -33.0B
Unknown metric groups

API count

id before after diff
@kbn/elastic-assistant 166 165 -1

async chunk count

id before after diff
securitySolution 101 99 -2

ESLint disabled in files

id before after diff
@kbn/elastic-assistant 2 1 -1

ESLint disabled line counts

id before after diff
@kbn/elastic-assistant 17 13 -4
securitySolution 551 550 -1
total -5

Total ESLint disabled count

id before after diff
@kbn/elastic-assistant 19 14 -5
securitySolution 634 633 -1
total -6

History

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

cc @patrykkopycinski

Copy link
Copy Markdown
Contributor

@stephmilovic stephmilovic left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for the cleanup

patrykkopycinski and others added 8 commits July 3, 2024 00:22
…-modal-cleanup

# Conflicts:
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/assistant_header_flyout.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/index.test.tsx
…-modal-cleanup

# Conflicts:
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/assistant_header_flyout.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/index.test.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/assistant_header/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_editor/index.test.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_editor/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_editor/system_prompt/helpers.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_editor/system_prompt/index.test.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_editor/system_prompt/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/prompt_editor/system_prompt/select_system_prompt/index.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/quick_prompts/quick_prompts.test.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/quick_prompts/quick_prompts.tsx
#	x-pack/packages/kbn-elastic-assistant/impl/assistant/types.ts
@patrykkopycinski patrykkopycinski added ci:cloud-deploy Create or update a Cloud deployment Team:Security Generative AI Security Generative AI labels Jul 8, 2024
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jul 8, 2024

⏳ Build in-progress, with failures

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #21 / Alerting alerts_as_data install alerts as data resources should install common alerts as data resources on startup

History

cc @patrykkopycinski

@patrykkopycinski patrykkopycinski removed the ci:cloud-deploy Create or update a Cloud deployment label Jul 9, 2024
@patrykkopycinski patrykkopycinski merged commit 27ccd4d into elastic:main Jul 9, 2024
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 9, 2024
## Summary

Cleanup Security `aiAssistantFlyoutMode` feature flag

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 27ccd4d)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.15

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 10, 2024
@kibanamachine
Copy link
Copy Markdown
Contributor

Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync.

kibanamachine added a commit that referenced this pull request Jul 17, 2024
# Backport

This will backport the following commits from `main` to `8.15`:
- [Cleanup aiAssistantFlyoutMode feature flag
(#182992)](#182992)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Patryk
Kopyciński","email":"contact@patrykkopycinski.com"},"sourceCommit":{"committedDate":"2024-07-09T12:57:59Z","message":"Cleanup
aiAssistantFlyoutMode feature flag (#182992)\n\n##
Summary\r\n\r\nCleanup Security `aiAssistantFlyoutMode` feature
flag\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27ccd4d5399a1b4d8b79037b86560ae73e77984e","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Security
Generative AI","v8.15.0","v8.16.0"],"title":"Cleanup
aiAssistantFlyoutMode feature
flag","number":182992,"url":"https://github.com/elastic/kibana/pull/182992","mergeCommit":{"message":"Cleanup
aiAssistantFlyoutMode feature flag (#182992)\n\n##
Summary\r\n\r\nCleanup Security `aiAssistantFlyoutMode` feature
flag\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27ccd4d5399a1b4d8b79037b86560ae73e77984e"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/182992","number":182992,"mergeCommit":{"message":"Cleanup
aiAssistantFlyoutMode feature flag (#182992)\n\n##
Summary\r\n\r\nCleanup Security `aiAssistantFlyoutMode` feature
flag\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"27ccd4d5399a1b4d8b79037b86560ae73e77984e"}}]}]
BACKPORT-->

Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
Co-authored-by: Angela Chuang <6295984+angorayc@users.noreply.github.com>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes Team:Security Generative AI Security Generative AI v8.15.0 v8.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants