-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution][SIEM migrations] Onboarding UI improvements #204320
Merged
semd
merged 83 commits into
elastic:main
from
semd:10667/siem_migrations/onboarding_ui_flyout_steps
Dec 17, 2024
+1,852
−640
Merged
Changes from all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
60fbe6f
add support for topics on the onboarding page
semd 3985477
reorganize directories inside components
semd 03b5034
solve conflict
semd 376f2d6
Merge remote-tracking branch 'upstream/main' into 10667/siem_migratio…
semd 318d79e
Merge remote-tracking branch 'upstream' into 10667/siem_migrations/on…
semd 8557994
resources schema id
semd da3938c
update and add tests
semd 132c67b
resources type fix
semd 94c56c8
add connector selection and auto-resume stopped migrations within the…
semd a0702c9
Merge remote-tracking branch 'origin/10667/siem_migrations/onboarding…
semd 1d1f1da
Merge branch 'main' into 10667/siem_migrations/onboarding_ui
elasticmachine cee50d7
initial implementation
semd 5a9a06a
extract common styles into single places
semd f2beaf3
format code
semd 9f305c9
Merge branch '10667/siem_migrations/onboarding_ui' into 10667/siem_mi…
semd 4ce992d
conflict solve
semd 8b60935
cleaning
semd f09344b
solve conflict
semd ef6c17d
upload panel styles
semd 5cb839d
flyout scafolding
semd ecadb11
solve conflicts
semd d79dc47
add upload input
semd a486424
basic workflow working
semd 0ce93d9
Merge remote-tracking branch 'upstream/main' into 10667/siem_migratio…
semd b02a569
no connector selected callout
semd 216a6dc
solve conflicts
semd 0d6ae1f
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 6e63ffa
add langsmith trace options
semd 86210fc
Merge remote-tracking branch 'refs/remotes/origin/10667/siem_migratio…
semd ac6e675
lint fixes
semd 9573dd6
Merge branch '10667/siem_migrations/onboarding_ui_flyout' into 10667/…
semd dcaffe2
[CI] Auto-commit changed files from 'yarn openapi:generate'
kibanamachine 2460462
resources missing route
semd 0957440
organize get and filter parameters
semd 5cdf539
conflicts solved
semd 09b8b5a
Merge remote-tracking branch 'refs/remotes/origin/10667/siem_migratio…
semd ca33b12
type fixes
semd 0af2d10
typo
semd c9af65b
Merge branch '10667/siem_migrations/onboarding_ui_flyout' into 10667/…
semd d2b32ee
Merge remote-tracking branch 'upstream/main' into 10667/siem_migratio…
semd 349915b
restore batch size
semd 459d856
Merge branch '10667/siem_migrations/onboarding_ui_flyout' into 10667/…
semd eb87b4b
Merge remote-tracking branch 'upstream/main' into 10667/siem_migratio…
semd 9e548ff
use Security common NonEmptyString
semd aa06fe8
try/catch NDJson parser
semd e8614d6
adapt resources api and batch searchh
semd 4c31b09
Merge remote-tracking branch 'origin/10667/siem_migrations/onboarding…
semd 8e57219
conflicts solved
semd 547d5a4
implement macros step
semd f28861a
conflicts solved
semd 4ea0ae5
[CI] Auto-commit changed files from 'yarn openapi:generate'
kibanamachine 6c2bcb6
fix type
semd cd1af61
migration retriever initialize
semd 0e3d6eb
Merge remote-tracking branch 'upstream/main' into 10667/siem_migratio…
semd acb1a66
createAgent function
semd 4734473
accept ndjson extension
semd b256828
Merge remote-tracking branch 'upstream/main' into 10667/siem_migratio…
semd 07221d0
Merge remote-tracking branch 'origin/10667/siem_migrations/onboarding…
semd 9e8af45
results panel
semd ae2a6b6
address comments
semd 8eb86f8
Merge branch '10667/siem_migrations/onboarding_ui_flyout_macros_looku…
semd 9d14cad
Merge branch 'main' into 10667/siem_migrations/onboarding_ui_flyout_m…
elasticmachine 782a39a
implement mark lookup as emtpy
semd d97fcee
Merge remote-tracking branch 'origin/10667/siem_migrations/onboarding…
semd ede3df4
fix conflicts
semd 9c4b257
fix conflict
semd fe8736c
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 0803573
Merge remote-tracking branch 'upstream/main' into 10667/siem_migratio…
semd d9fbdce
move code to siem_migrations public directory
semd b3bb5eb
move code to siem_migrations public directory
semd 01a775d
Merge remote-tracking branch 'refs/remotes/origin/10667/siem_migratio…
semd 67680b2
centralize panels components
semd 5864495
conflicts solved
semd 27637bd
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 876ddda
fix macros resource check
semd 5d63c09
fix duplicate missing resources requests
semd b4c855b
Merge remote-tracking branch 'refs/remotes/origin/10667/siem_migratio…
semd 823d5fb
fix translations
semd beff67b
fix relocation conflicts
semd 6e3b4e2
theme aware vis colors
semd 4a50aa9
vis dark mode
semd 39e61e2
address PR comments
semd 4aaa575
allow mark as empty when provided
semd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...solutions/security/plugins/security_solution/public/common/components/panel_text/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
export { PanelText, type PanelTextProps } from './panel_text'; |
35 changes: 35 additions & 0 deletions
35
...ons/security/plugins/security_solution/public/common/components/panel_text/panel_text.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
import React, { type PropsWithChildren } from 'react'; | ||
import { css, type CSSInterpolation } from '@emotion/css'; | ||
import { EuiText, useEuiTheme, COLOR_MODES_STANDARD, type EuiTextProps } from '@elastic/eui'; | ||
|
||
export interface PanelTextProps extends PropsWithChildren<EuiTextProps> { | ||
subdued?: true; | ||
semiBold?: true; | ||
} | ||
export const PanelText = React.memo<PanelTextProps>(({ children, subdued, semiBold, ...props }) => { | ||
const { euiTheme, colorMode } = useEuiTheme(); | ||
const isDarkMode = colorMode === COLOR_MODES_STANDARD.dark; | ||
|
||
let color; | ||
if (subdued && !isDarkMode) { | ||
color = 'subdued'; | ||
} | ||
|
||
const style: CSSInterpolation = {}; | ||
if (semiBold) { | ||
style.fontWeight = euiTheme.font.weight.semiBold; | ||
} | ||
|
||
return ( | ||
<EuiText {...props} color={color} className={css(style)}> | ||
{children} | ||
</EuiText> | ||
); | ||
}); | ||
PanelText.displayName = 'PanelText'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 0 additions & 35 deletions
35
...c/onboarding/components/onboarding_body/cards/siem_migrations/start_migration/context.tsx
This file was deleted.
Oops, something went wrong.
45 changes: 0 additions & 45 deletions
45
...onboarding_body/cards/siem_migrations/start_migration/panels/migration_progress_panel.tsx
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
...ts/onboarding_body/cards/siem_migrations/start_migration/panels/migration_ready_panel.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍