-
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
[data view mgmt] Delete data views from list #127557
Conversation
@elasticmachine merge upstream |
Pinging @elastic/kibana-app-services (Team:AppServicesSv) |
@@ -25,6 +26,8 @@ import { getIndexPatterns } from '../utils'; | |||
import { getListBreadcrumbs } from '../breadcrumbs'; | |||
import { SpacesList } from './spaces_list'; | |||
import type { SpacesContextProps } from '../../../../../../x-pack/plugins/spaces/public'; | |||
import { removeDataView, RemoveDataViewProps } from '../edit_index_pattern'; | |||
import { deleteModalMsg } from './delete_modal_msg'; |
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.
Shouldn't this be DeleteModalMsg?
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.
Just one nit: I think we should continue the use of the danger style button into the delete modal.
There's a 'dangerous confirm modal' example in EUI docs which I think makes sense here.
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.
LGTM with one minor comment.
) : ( | ||
<FormattedMessage | ||
id="indexPatternManagement.editDataView.deleteWarning" | ||
defaultMessage="The data view {dataViewName} will be deleted. You can't undo this action." |
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.
Another option is to put the name at the end of the sentence:
Delete the data view {dataViewName}. You can't undo this action.
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.
It also removes the passive "will be deleted".
@elasticmachine merge upstream |
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.
Thanks for making the changes!
💛 Build succeeded, but was flakyTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
4 similar comments
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Summary
Addresses improved data view delete functionality as described here - #124346
Confirm on data view detail page -

Closes #124346