Skip to content
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

feat: Add restart and delete operations to server list and topo #610

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TianWuwt
Copy link
Collaborator

@TianWuwt TianWuwt commented Nov 6, 2024

Summary

Add restart and delete operations to server list and topo

Solution Description

image image image image

@TianWuwt TianWuwt added this to the dashboard-0.4.0 milestone Nov 6, 2024
@TianWuwt TianWuwt self-assigned this Nov 6, 2024
@@ -45,6 +45,17 @@ const zoneOperate: Topo.OperateTypeLabel = [
];

const serverOperate: Topo.OperateTypeLabel = [
{
value: 'restartServer',
label: '重启server',
Copy link
Collaborator

Choose a reason for hiding this comment

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

国际化是统一处理吗?还是这里需要单独处理

showDeleteConfirm({
title: '你确定要删除该server吗?',
// TODO
onOk: () => {},
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里是打算如何处理?

@@ -60,7 +107,7 @@ export default function ServerTable({ servers }: { servers: API.Server[] }) {
}
>
<Table
columns={getServerColums()}
columns={serverColums}
Copy link
Collaborator

Choose a reason for hiding this comment

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

拼写错误

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants