chore: enhance deletion tips by adding cluster info for indices (#162)
* chore: enhance deletion tips by adding cluster info for indices * chore: update release notes
This commit is contained in:
parent
aa67bf7c80
commit
d851be6a38
|
@ -29,6 +29,7 @@ Information about release notes of INFINI Console is provided here.
|
|||
- Support viewing logs for cluster, node, index health change events (#150)
|
||||
- Enhance LDAP authentication logging (#156)
|
||||
- Optimize UI for copying metric requests (#155)
|
||||
- Enhance deletion tips by adding cluster info for indices
|
||||
|
||||
## 1.28.2 (2025-02-15)
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@ title: "版本历史"
|
|||
- 集群,节点,索引健康状态变更支持查看日志 (#150)
|
||||
- 增强 LDAP 身份验证的日志记录 (#156)
|
||||
- 优化监控报表里拷贝指标请求的 UI (#155)
|
||||
- 删除索引提示增加集群信息 (#162)
|
||||
|
||||
## 1.28.2 (2025-02-15)
|
||||
|
||||
|
|
|
@ -744,6 +744,7 @@ class Index extends PureComponent {
|
|||
onChangeDeleteIndexConfirmState={this.onChangeDeleteIndexConfirmState}
|
||||
deleteIndexConfirm={this.state.deleteIndexConfirm}
|
||||
items={this.state.deleteIndexItems}
|
||||
selectedCluster={this.props.selectedCluster}
|
||||
/>
|
||||
</PageHeaderWrapper>
|
||||
);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Modal, Checkbox, Tag, Badge, Alert, Icon } from "antd";
|
||||
import { Modal, Checkbox, Tag, Badge, Alert, Icon, Tooltip } from "antd";
|
||||
import { useCallback, useState, forwardRef, useMemo } from "react";
|
||||
import useFetch from "@/lib/hooks/use_fetch";
|
||||
import request from "@/utils/request";
|
||||
|
@ -28,7 +28,7 @@ export default (props) => {
|
|||
onOk={props.onOk}
|
||||
okButtonProps={{ disabled: !props.deleteIndexConfirm }}
|
||||
>
|
||||
<p>You are about to delete these indices:</p>
|
||||
<p>You are about to delete these indices in cluster <Tooltip title={props.selectedCluster.id}><b>{props.selectedCluster.name}</b></Tooltip>:</p>
|
||||
<ul style={{ maxHeight: 240, overflow: "scroll" }}>
|
||||
{props.items.map((item) => {
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue