You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2023/01/05 07:41:10 UTC

[incubator-eventmesh] branch master updated: [Dashboard] Added Apache header in navigation menu, workflows, event catalogs

This is an automated email from the ASF dual-hosted git repository.

mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new 84d4ea22a [Dashboard] Added Apache header in navigation menu, workflows, event catalogs
     new 4b8445ce6 Merge pull request #2833 from SLSJL/master
84d4ea22a is described below

commit 84d4ea22aad443ab4df07b895231480b0561073d
Author: SUN <35...@qq.com>
AuthorDate: Thu Jan 5 15:37:33 2023 +0800

    [Dashboard] Added Apache header in navigation menu, workflows, event catalogs
---
 .../components/navigation/MenuItem.tsx              | 19 ++++++++++++++++++-
 eventmesh-dashboard/components/navigation/Menus.tsx | 19 +++++++++++++++++++
 .../components/navigation/MenusMobile.tsx           | 19 +++++++++++++++++++
 .../pages/eventCatalogs/EventCatalogs.tsx           | 20 +++++++++++++++++++-
 .../pages/eventCatalogs/SchemaView.tsx              | 19 +++++++++++++++++++
 eventmesh-dashboard/pages/eventCatalogs/index.ts    | 21 ++++++++++++++++++++-
 eventmesh-dashboard/pages/eventCatalogs/types.ts    | 19 +++++++++++++++++++
 eventmesh-dashboard/pages/workflows/create.tsx      | 19 +++++++++++++++++++
 eventmesh-dashboard/pages/workflows/details.tsx     | 19 +++++++++++++++++++
 eventmesh-dashboard/pages/workflows/index.ts        | 19 +++++++++++++++++++
 eventmesh-dashboard/pages/workflows/workflows.tsx   | 19 +++++++++++++++++++
 11 files changed, 209 insertions(+), 3 deletions(-)

diff --git a/eventmesh-dashboard/components/navigation/MenuItem.tsx b/eventmesh-dashboard/components/navigation/MenuItem.tsx
index 1ed3f9b55..31f119b9e 100644
--- a/eventmesh-dashboard/components/navigation/MenuItem.tsx
+++ b/eventmesh-dashboard/components/navigation/MenuItem.tsx
@@ -1,10 +1,27 @@
+/*
+ * 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, { FC, ReactNode } from 'react';
 import {
   Flex, FlexProps, Link, Text,
 } from '@chakra-ui/react';
 
 interface MenuItemProps extends FlexProps {
-  key: string;
   selected: boolean;
   active: boolean;
   href: string;
diff --git a/eventmesh-dashboard/components/navigation/Menus.tsx b/eventmesh-dashboard/components/navigation/Menus.tsx
index 4df43c011..72be9351c 100644
--- a/eventmesh-dashboard/components/navigation/Menus.tsx
+++ b/eventmesh-dashboard/components/navigation/Menus.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, { FC, ReactNode, useState } from 'react';
 import {
   Box,
diff --git a/eventmesh-dashboard/components/navigation/MenusMobile.tsx b/eventmesh-dashboard/components/navigation/MenusMobile.tsx
index be083b980..8885f14ce 100644
--- a/eventmesh-dashboard/components/navigation/MenusMobile.tsx
+++ b/eventmesh-dashboard/components/navigation/MenusMobile.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 {
   IconButton,
   Flex,
diff --git a/eventmesh-dashboard/pages/eventCatalogs/EventCatalogs.tsx b/eventmesh-dashboard/pages/eventCatalogs/EventCatalogs.tsx
index 4fbd16a68..938925b65 100644
--- a/eventmesh-dashboard/pages/eventCatalogs/EventCatalogs.tsx
+++ b/eventmesh-dashboard/pages/eventCatalogs/EventCatalogs.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, { useState } from 'react';
 import Head from 'next/head';
 import type { NextPage } from 'next';
@@ -14,7 +33,6 @@ import {
   Tr,
   Th,
   Td,
-  TableCaption,
   TableContainer,
   Box,
 } from '@chakra-ui/react';
diff --git a/eventmesh-dashboard/pages/eventCatalogs/SchemaView.tsx b/eventmesh-dashboard/pages/eventCatalogs/SchemaView.tsx
index 41bef0135..fbdfecbd5 100644
--- a/eventmesh-dashboard/pages/eventCatalogs/SchemaView.tsx
+++ b/eventmesh-dashboard/pages/eventCatalogs/SchemaView.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, { FC, useRef } from 'react';
 
 import {
diff --git a/eventmesh-dashboard/pages/eventCatalogs/index.ts b/eventmesh-dashboard/pages/eventCatalogs/index.ts
index b760c45cc..1f70bbbfa 100644
--- a/eventmesh-dashboard/pages/eventCatalogs/index.ts
+++ b/eventmesh-dashboard/pages/eventCatalogs/index.ts
@@ -1,3 +1,22 @@
-import EventCatalogs from './eventCatalogs';
+/*
+ * 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 EventCatalogs from './EventCatalogs';
 
 export default EventCatalogs;
diff --git a/eventmesh-dashboard/pages/eventCatalogs/types.ts b/eventmesh-dashboard/pages/eventCatalogs/types.ts
index 9ed4851c8..fe34dd26b 100644
--- a/eventmesh-dashboard/pages/eventCatalogs/types.ts
+++ b/eventmesh-dashboard/pages/eventCatalogs/types.ts
@@ -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.
+ */
+
 export type SchemaTypes = {
   schemaId: string;
   lastVersion: string;
diff --git a/eventmesh-dashboard/pages/workflows/create.tsx b/eventmesh-dashboard/pages/workflows/create.tsx
index 41ed21bf7..6bf6c026f 100644
--- a/eventmesh-dashboard/pages/workflows/create.tsx
+++ b/eventmesh-dashboard/pages/workflows/create.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, { useRef } from 'react';
 import Head from 'next/head';
 import type { NextPage } from 'next';
diff --git a/eventmesh-dashboard/pages/workflows/details.tsx b/eventmesh-dashboard/pages/workflows/details.tsx
index 383ce15ca..faedc50de 100644
--- a/eventmesh-dashboard/pages/workflows/details.tsx
+++ b/eventmesh-dashboard/pages/workflows/details.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, { useRef } from 'react';
 import Head from 'next/head';
 import type { NextPage } from 'next';
diff --git a/eventmesh-dashboard/pages/workflows/index.ts b/eventmesh-dashboard/pages/workflows/index.ts
index 65c2a2831..41a629f3a 100644
--- a/eventmesh-dashboard/pages/workflows/index.ts
+++ b/eventmesh-dashboard/pages/workflows/index.ts
@@ -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 Workflow from './workflows';
 
 export default Workflow;
diff --git a/eventmesh-dashboard/pages/workflows/workflows.tsx b/eventmesh-dashboard/pages/workflows/workflows.tsx
index 8e3ee5484..a010b337e 100644
--- a/eventmesh-dashboard/pages/workflows/workflows.tsx
+++ b/eventmesh-dashboard/pages/workflows/workflows.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 from 'react';
 import Head from 'next/head';
 import type { NextPage } from 'next';


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org