This is an automated email from the ASF dual-hosted git repository.
xiatian pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/eventmesh-dashboard.git
The following commit(s) were added to refs/heads/main by this push:
new 20fe9a1 [ISSUE #153] Fix the missing of the path Logs in
eventmesh-dashboard-view (#154)
20fe9a1 is described below
commit 20fe9a17997d7a2ff2d5537e58973bbe4d975413
Author: SUN <[email protected]>
AuthorDate: Tue Jun 11 21:11:13 2024 +0800
[ISSUE #153] Fix the missing of the path Logs in eventmesh-dashboard-view
(#154)
* rename the logs folder
* 1. fixed license header
2. update logs import
---------
Co-authored-by: SUN <[email protected]>
---
eventmesh-dashboard-view/src/routes/Routes.tsx | 2 +-
eventmesh-dashboard-view/src/routes/elogs/Logs.tsx | 36 ++++++++++++++++++++++
2 files changed, 37 insertions(+), 1 deletion(-)
diff --git a/eventmesh-dashboard-view/src/routes/Routes.tsx
b/eventmesh-dashboard-view/src/routes/Routes.tsx
index d45927e..5cf7f7a 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
new file mode 100644
index 0000000..a7dcf89
--- /dev/null
+++ b/eventmesh-dashboard-view/src/routes/elogs/Logs.tsx
@@ -0,0 +1,36 @@
+/*
+ * 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'
+import Construction from '../../components/Construction'
+
+interface LogsProps extends BoxProps {}
+
+const Logs = forwardRef<typeof Box, LogsProps>(({ ...props }, ref) => {
+ return (
+ <Page ref={ref}>
+ <Construction />
+ </Page>
+ )
+})
+
+Logs.displayName = 'Logs'
+export default Logs
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]