This is an automated email from the ASF dual-hosted git repository. lyndsi pushed a commit to branch lyndsi/create-dataset-blank-state in repository https://gitbox.apache.org/repos/asf/superset.git
commit 1298c6ad6350d881d1b969b8853dc28253f1f62a Author: AAfghahi <[email protected]> AuthorDate: Tue Jul 26 12:12:07 2022 -0400 beginning of routing --- .../DatasetEditor/DatasetPanel/DatasetPanel.tsx | 23 +++++++++++++ .../data/dataset/DatasetEditor/Footer/Footer.tsx | 23 +++++++++++++ .../data/dataset/DatasetEditor/Header/Header.tsx | 23 +++++++++++++ .../dataset/DatasetEditor/LeftPanel/LeftPanel.tsx | 23 +++++++++++++ .../CRUD/data/dataset/DatasetEditor/index.tsx | 40 ++++++++++++++++++++++ 5 files changed, 132 insertions(+) diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/DatasetPanel/DatasetPanel.tsx b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/DatasetPanel/DatasetPanel.tsx new file mode 100644 index 0000000000..9fe93b8fb5 --- /dev/null +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/DatasetPanel/DatasetPanel.tsx @@ -0,0 +1,23 @@ +/** + * 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'; + +export default function DatasetPanel() { + return <div>Dataset Panel</div>; +} diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/Footer/Footer.tsx b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/Footer/Footer.tsx new file mode 100644 index 0000000000..07c35741ee --- /dev/null +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/Footer/Footer.tsx @@ -0,0 +1,23 @@ +/** + * 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'; + +export default function Footer() { + return <div>Footer</div>; +} diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/Header/Header.tsx b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/Header/Header.tsx new file mode 100644 index 0000000000..44f0e19f7b --- /dev/null +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/Header/Header.tsx @@ -0,0 +1,23 @@ +/** + * 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'; + +export default function Header() { + return <div>Header</div>; +} diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/LeftPanel/LeftPanel.tsx b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/LeftPanel/LeftPanel.tsx new file mode 100644 index 0000000000..5ffb6a12c9 --- /dev/null +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/LeftPanel/LeftPanel.tsx @@ -0,0 +1,23 @@ +/** + * 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'; + +export default function LeftPanel() { + return <div>Left Panel</div>; +} diff --git a/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/index.tsx b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/index.tsx new file mode 100644 index 0000000000..f57e4c3c63 --- /dev/null +++ b/superset-frontend/src/views/CRUD/data/dataset/DatasetEditor/index.tsx @@ -0,0 +1,40 @@ +/** + * 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 DatasetPanel from './DatasetPanel/DatasetPanel'; +import Footer from './Footer/Footer'; +import LeftPanel from './LeftPanel/LeftPanel'; +import Header from './Header/Header'; + +export default function DatasetEditor() { + return ( + <> + <div> + <Header /> + <div css={{ display: 'flex' }}> + <LeftPanel /> + <div> + <DatasetPanel /> + <Footer /> + </div> + </div> + </div> + </> + ); +}
