World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[MINOR] improve(docs): update the web usage document to 0.4.0 (#2028)
CHEYNE2f703db79c99
diff --git a/docs/assets/webui/delete-catalog.png b/docs/assets/webui/delete-catalog.pngnew file mode 100644index 0000000000..56084b2c5aBinary files /dev/null and b/docs/assets/webui/delete-catalog.png differdiff --git a/docs/assets/webui/show-catalog-details.png b/docs/assets/webui/show-catalog-details.pngnew file mode 100644index 0000000000..6882638f5dBinary files /dev/null and b/docs/assets/webui/show-catalog-details.png differdiff --git a/docs/assets/webui/tree-view-reload-catalog.png b/docs/assets/webui/tree-view-reload-catalog.pngnew file mode 100644index 0000000000..e0758248f2Binary files /dev/null and b/docs/assets/webui/tree-view-reload-catalog.png differdiff --git a/docs/assets/webui/tree-view.png b/docs/assets/webui/tree-view.pngnew file mode 100644index 0000000000..9be54f9fa8Binary files /dev/null and b/docs/assets/webui/tree-view.png differdiff --git a/docs/assets/webui/update-catalog.png b/docs/assets/webui/update-catalog.pngnew file mode 100644index 0000000000..18058a34daBinary files /dev/null and b/docs/assets/webui/update-catalog.png differdiff --git a/docs/webui.md b/docs/webui.mdindex b4914d68c0..6205bc8bd9 100644--- a/docs/webui.md+++ b/docs/webui.md@@ -2,8 +2,9 @@title: 'Gravitino web UI'slug: /webuikeyword: webui-toc_min_heading_level: 2-toc_max_heading_level: 5+last_update:+ date: 2024-02-04+ author: ch3ynelicense: 'Copyright 2023 Datastrato Pvt Ltd. This software is licensed under the Apache License version 2.'---@@ -71,7 +72,7 @@ At the top-right, there is an icon button that takes you to the login page when### Metalake-#### [Create a metalake](getting-started.md#using-rest-to-interact-with-gravitino)+#### [Create metalake](getting-started.md#using-rest-to-interact-with-gravitino)On the homepage, clicking on the `CREATE METALAKE` button displays a dialog to create a metalake.@@ -91,16 +92,24 @@ There are 3 actions you can perform on a metalake.#### Show metalake details+Clicking on the action icon <Icon icon='bx:show-alt' fontSize='24' /> in the table cell.++You can see the detailed information of this metalake in the drawer component on the right.+#### Edit metalake-Displays a dialog for modifying metalakes fields.+Clicking on the action icon <Icon icon='mdi:square-edit-outline' fontSize='24' /> in the table cell.++Displays the dialog for modifying fields of the selected metalake.#### Delete metalake+Clicking on the action icon <Icon icon='mdi:delete-outline' fontSize='24' color='red' /> in the table cell.+Displays a confirmation dialog, clicking on the `SUBMIT` button deletes this metalake.@@ -111,15 +120,29 @@ Clicking on a metalake name in the table views catalogs in a metalake.If this is the first time, it shows no data until after creating a catalog.+Clicking on the left arrow icon button <Icon icon='mdi:arrow-left' fontSize='24' color='#6877ef' /> takes you to the metalake page.+Clicking on the Tab - `DETAILS` views the details of the catalog on the metalake catalogs page.-#### Create a catalog+On the left side of the page is a tree list.++- Catalog <Icon icon='bx:book' fontSize='24px' />+- Schema <Icon icon='bx:coin-stack' fontSize='24px' />+- Table <Icon icon='bx:table' fontSize='24px' />-Clicking on the `CREATE CATALOG` button displays a dialog to create a catalog.+++Hover your mouse over the corresponding icon to the data changes to a reload icon <Icon icon='mdi:reload' fontSize='24px' />. Click on this icon to reload the currently selected data.++++#### Create catalog++Clicking on the `CREATE CATALOG` button displays the dialog to create a catalog.@@ -197,7 +220,7 @@ Creating a catalog requires these fields:|Key |Description ||-------------|-----------------------------------------------------|- |jdbc-driver |e.g. `e.g. org.postgresql.Driver` |+ |jdbc-driver |e.g. `org.postgresql.Driver` ||jdbc-url |e.g. `jdbc:postgresql://localhost:5432/your_database`||jdbc-user |The JDBC user name ||jdbc-password|The JDBC password |@@ -210,7 +233,33 @@ After verifying the values of these fields, clicking on the `CREATE` button crea-Clicking on the icon button - `←(left arrow)` takes you to the metalake page.+#### Show catalog details++Clicking on the action icon <Icon icon='bx:show-alt' fontSize='24' /> in the table cell.++You can see the detailed information of this catalog in the drawer component on the right.++++#### Edit catalog++Clicking on the action icon <Icon icon='mdi:square-edit-outline' fontSize='24' /> in the table cell.++Displays the dialog for modifying fields of the selected catalog.++++Only the `name`, `comment`, and custom fields in `properties` can be modified, other fields such as `type`, `provider`, and default fields in `properties` cannot be modified.++The fields that are not allowed to be modified cannot be selected and modified in the web UI.++#### Delete catalog++Clicking on the action icon <Icon icon='mdi:delete-outline' fontSize='24' color='red' /> in the table cell.++Displays a confirmation dialog, clicking on the SUBMIT button deletes this catalog.++### Schema@@ -243,6 +292,6 @@ Design draft preview:| Page | Capabilities || -------- | --------------------------------------------------------------------------------- || Metalake | _`View`_ ✔ / _`Create`_ ✔ / _`Edit`_ ✔ / _`Delete`_ ✔ |-| Catalog | _`View`_ ✔ / _`Create`_ ✔ / _`Edit`_ ✘ / _`Delete`_ ✘ |+| Catalog | _`View`_ ✔ / _`Create`_ ✔ / _`Edit`_ ✔ / _`Delete`_ ✔ || Schema | _`View`_ ✔ / _`Create`_ ✘ / _`Edit`_ ✘ / _`Delete`_ ✘ || Table | _`View`_ ✔ / _`Create`_ ✘ / _`Edit`_ ✘ / _`Delete`_ ✘ |diff --git a/web/app/ui/metalakes/CreateCatalogDialog.js b/web/app/ui/metalakes/CreateCatalogDialog.jsindex 443146c5fc..d92f5da565 100644--- a/web/app/ui/metalakes/CreateCatalogDialog.js+++ b/web/app/ui/metalakes/CreateCatalogDialog.js@@ -81,8 +81,6 @@ const CreateCatalogDialog = props => {const dispatch = useAppDispatch()- const typeText = type === 'create' ? 'Create' : 'Update'-const [innerProps, setInnerProps] = useState(providers[0].defaultProps)const [cacheData, setCacheData] = useState()@@ -358,7 +356,7 @@ const CreateCatalogDialog = props => {</IconButton><Box sx={{ mb: 8, textAlign: 'center' }}><Typography variant='h5' sx={{ mb: 3 }}>- {typeText} Catalog+ {type === 'create' ? 'Create' : 'Edit'} Catalog</Typography></Box>@@ -571,7 +569,7 @@ const CreateCatalogDialog = props => {}}><Button variant='contained' sx={{ mr: 1 }} type='submit'>- {typeText}+ {type === 'create' ? 'Create' : 'Update'}</Button><Button variant='outlined' onClick={handleClose}>Cancel