Browse Source

docs: table context menu

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/6467/head
Raju Udava 1 year ago
parent
commit
e5d75b552b
  1. 11
      packages/noco-docs/docs/050.tables/050.delete-table.md
  2. 30
      packages/noco-docs/docs/050.tables/060.actions-on-table.md
  3. BIN
      packages/noco-docs/static/img/v2/duplicate table.png
  4. BIN
      packages/noco-docs/static/img/v2/rename-table.png
  5. BIN
      packages/noco-docs/static/img/v2/table-context-menu-xcdb.png
  6. BIN
      packages/noco-docs/static/img/v2/table-context-menu.png

11
packages/noco-docs/docs/050.tables/050.delete-table.md

@ -2,4 +2,13 @@
title: 'Delete table' title: 'Delete table'
--- ---
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
:::danger
**This action cannot be undone.**
:::
1. Open the table context menu by clicking on `...` from the left sidebar.
2. Click on `Delete` option.
![image](/img/v2/table-context-menu.png)

30
packages/noco-docs/docs/050.tables/060.actions-on-table.md

@ -2,4 +2,32 @@
title: 'Actions on table' title: 'Actions on table'
--- ---
import Tabs from '@theme/Tabs'; import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem'; import TabItem from '@theme/TabItem';
## Rename table
1. Open the table context menu by clicking on `...` from the left sidebar.
2. Click on `Rename` option.
3. Enter new table name.
4. Click on `Rename` button.
![image](/img/v2/table-context-menu-xcdb.png)
![image](/img/v2/rename-table.png)
## Duplicate table
1. Open the table context menu by clicking on `...` from the left sidebar.
2. From the dropdown, select `Duplicate` option.
3. Optional configurations
a) `Include data` : You can choose to duplicate the table with or without data.
b) `Include views` : You can choose to duplicate the table with or without views.
4. Click on `Rename Table` button on the confirmation modal.
5. New table will be created with the same schema and data/view as in the original table, based on configurations as specified in step (3).
:::info
- Duplicate table will be created in the same base as the original table
- Duplicate table will carry suffix ` Copy` in its name.
- Duplicate table option is not available for `External DB` projects
:::

BIN
packages/noco-docs/static/img/v2/duplicate table.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 KiB

BIN
packages/noco-docs/static/img/v2/rename-table.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

BIN
packages/noco-docs/static/img/v2/table-context-menu-xcdb.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

BIN
packages/noco-docs/static/img/v2/table-context-menu.png vendored

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Loading…
Cancel
Save