From 32cb41bdc4f929c0756763b1b3f6a4f5d53f2c4e Mon Sep 17 00:00:00 2001 From: SUN <350916525@qq.com> Date: Tue, 11 Jun 2024 20:53:32 +0800 Subject: [PATCH 1/2] rename the logs folder --- .../src/routes/elogs/Logs.tsx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 eventmesh-dashboard-view/src/routes/elogs/Logs.tsx diff --git a/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx b/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx new file mode 100644 index 00000000..81d0d9d4 --- /dev/null +++ b/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx @@ -0,0 +1,17 @@ +import React, { forwardRef } from 'react' +import { Box, BoxProps } from '@mui/material' +import Page from '../../components/page/Layout' +import Construction from '../../components/Construction' + +interface LogsProps extends BoxProps {} + +const Logs = forwardRef(({ ...props }, ref) => { + return ( + + + + ) +}) + +Logs.displayName = 'Logs' +export default Logs From 477061bafeede3c6eb2cc8b2ae06ea4e55a4a2cf Mon Sep 17 00:00:00 2001 From: SUN <350916525@qq.com> Date: Tue, 11 Jun 2024 21:03:27 +0800 Subject: [PATCH 2/2] 1. fixed license header 2. update logs import --- .../src/routes/Routes.tsx | 2 +- .../src/routes/elogs/Logs.tsx | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/eventmesh-dashboard-view/src/routes/Routes.tsx b/eventmesh-dashboard-view/src/routes/Routes.tsx index d45927e7..5cf7f7ad 100644 --- a/eventmesh-dashboard-view/src/routes/Routes.tsx +++ b/eventmesh-dashboard-view/src/routes/Routes.tsx @@ -27,7 +27,7 @@ import ClusterConnection from './cluster/connection/Connection' import ClusterMessage from './cluster/message/Message' import ClusterSecurity from './cluster/security/Security' import Users from './users/Users' -import Logs from './logs/Logs' +import Logs from './elogs/Logs' import Settings from './settings/Settings' import Clusters from './cluster/Clusters' diff --git a/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx b/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx index 81d0d9d4..a7dcf89d 100644 --- a/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx +++ b/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + import React, { forwardRef } from 'react' import { Box, BoxProps } from '@mui/material' import Page from '../../components/page/Layout'