diff --git a/packages/noco-docs/content/en/developer-resources/accessing-apis.md b/packages/noco-docs/content/en/developer-resources/accessing-apis.md index 15c8565c04..701821504f 100644 --- a/packages/noco-docs/content/en/developer-resources/accessing-apis.md +++ b/packages/noco-docs/content/en/developer-resources/accessing-apis.md @@ -13,36 +13,44 @@ NocoDB APIs can be authorized by either Auth Token or API Token. Auth Token is a JWT Token generated based on the logged-in user. By default, the token is only valid for 10 hours. However, you can change the value by defining it using environment variable `NC_JWT_EXPIRES_IN`. If you are passing Auth Token, make sure that the header is called `xc-auth`. - Go to NocoDB Project, click the rightmost button and click ``Copy Auth Token``. - -image + +![Screenshot 2022-09-14 at 10 18 58 AM](https://user-images.githubusercontent.com/86527202/190062565-34ec5f49-b2a9-4ccb-a02f-8ea60980ffd9.png) + ## API Token NocoDB allows creating API tokens which allow it to be integrated seamlessly with 3rd party apps. API Token is a Nano ID with a length of 40. If you are passing API Token, make sure that the header is called `xc-token`. -- Go to `Team & Settings` from the left navigation drawer - ![image](https://user-images.githubusercontent.com/35857179/161902474-fd06678c-a171-4237-b171-dc028b3753de.png) +- Open `Project Menu`, click on `Team & Settings` + +image + -- Click `API Tokens Management` - ![image](https://user-images.githubusercontent.com/35857179/161958345-83cb60bf-80f1-4d11-9e9c-52d0b05c7677.png) +- Click `API Tokens Management` tab under `Team & Auth` section + - Click Add New Token - ![image](https://user-images.githubusercontent.com/35857179/161958563-dc5d380a-26c5-4b78-9d4b-e40188bef05a.png) + +![Screenshot 2022-09-14 at 10 20 00 AM](https://user-images.githubusercontent.com/86527202/190062728-9c09934f-b5e4-4fec-b4d2-0cd3648bbb39.png) + - Type an recognizable name for your token and click `Generate` - ![image](https://user-images.githubusercontent.com/35857179/161958676-e4faa321-13ca-4b11-8d22-1332c522dde7.png) + +![Screenshot 2022-09-14 at 10 20 10 AM](https://user-images.githubusercontent.com/86527202/190062801-db3fab83-7974-4dfe-9c83-bf0d8a7dba1e.png) + -- Copy API token to your clipboard - ![image](https://user-images.githubusercontent.com/35857179/161958822-b0689a6a-a864-429f-8bb2-71eb92808339.png) +- Copy API token to your clipboard; use action menu to the right of token list + ## Swagger UI You can interact with the API's resources via Swagger UI. - Go to NocoDB Project, click the rightmost button and click ``Swagger APIs Doc``. - -image + +![Screenshot 2022-09-14 at 10 22 00 AM](https://user-images.githubusercontent.com/86527202/190062896-c1c2d529-694f-46ad-b6b1-0ee8d71a6e14.png) + - Click ``Authorize``, paste the token you copied in above steps and click `Authorize` to save. diff --git a/packages/noco-docs/content/en/developer-resources/webhooks.md b/packages/noco-docs/content/en/developer-resources/webhooks.md index d95e1bf68d..228a077807 100644 --- a/packages/noco-docs/content/en/developer-resources/webhooks.md +++ b/packages/noco-docs/content/en/developer-resources/webhooks.md @@ -10,17 +10,31 @@ menuTitle: "Webhooks" Some types of notifications can be triggered by a webhook after a particular event. -- Open a Project, Select a table and Click 'More' > 'Webhooks'. - -![Screenshot 2022-02-22 at 11 16 18 AM](https://user-images.githubusercontent.com/86527202/155085373-f9b438ed-98c3-4fb1-9209-1bb52736a35d.png) +### Open `View menu`, click on `Webhooks` + +![Screenshot 2022-09-14 at 10 32 13 AM](https://user-images.githubusercontent.com/86527202/190064555-77d2444e-250e-4c26-bf65-4bccde166c25.png) -- Click 'Create webhook' + -![image](https://user-images.githubusercontent.com/35857179/166660074-0a896ec9-9cd8-403e-a713-61c2cefbae28.png) +### Click `Add new webhook` + +![Screenshot 2022-09-14 at 10 33 15 AM](https://user-images.githubusercontent.com/86527202/190064639-c51038bc-cfd0-4f5a-aece-3bade55ae994.png) + + + +### Configure Webhook + - General configurations + - Webhook Name + - Webhook Trigger + - Webhook Type + - Webhook Type specific configuration : additional configuration details depending on webhook type selected + - Webhook Conditional Trigger + - Only records meeting the criteria will trigger webhook + +![Screenshot 2022-09-14 at 10 35 39 AM](https://user-images.githubusercontent.com/86527202/190064668-37245025-81f6-491c-b639-83c8fd131bc3.png) -- Configure the webhook -![image](https://user-images.githubusercontent.com/35857179/166660248-a3c81a34-4334-48c2-846a-65759d761559.png) + ## Triggers @@ -96,13 +110,15 @@ Detailed procedure for discord webhook described [here](https://support.discord. ### 2. Install Plugin - Open 'App Store' (under Settings), hover over Discord tile. Click 'Install'. - -![Screenshot 2022-02-22 at 11 30 36 AM](https://user-images.githubusercontent.com/86527202/155085257-5bdde1d9-d7b5-471d-bf44-3c3920e7b853.png) + +![Screenshot 2022-09-14 at 10 47 59 AM](https://user-images.githubusercontent.com/86527202/190066333-04bab4eb-f114-48e5-b3f9-6327cadb1ca7.png) + - Provide a name of your choice (not to be confused with Discord Channel name). - Paste Discord Webhook URL copied from Step (1.) above. - -![Screenshot 2022-02-22 at 11 31 21 AM](https://user-images.githubusercontent.com/86527202/155085287-f5e45aab-fd33-4138-a7a9-6eddc6dc140b.png) + +![Screenshot 2022-09-14 at 10 52 14 AM](https://user-images.githubusercontent.com/86527202/190066365-90e3136b-db24-4514-aa89-c1fb371b33ee.png) + ### 3. Configure @@ -154,14 +170,18 @@ Detailed procedure for discord webhook described [here](https://support.discord. ### 2. Install Plugin - Open 'App Store' (under Settings), hover over 'Microsoft Teams' tile. Click 'Install'. + +![Screenshot 2022-09-14 at 10 53 22 AM](https://user-images.githubusercontent.com/86527202/190066409-03311add-3b36-4521-acf7-dba5ffdef3fb.png) -![Screenshot 2022-02-22 at 7 32 52 PM](https://user-images.githubusercontent.com/86527202/155148122-60844b42-7d2a-4c0f-9778-a5bc4f9c0107.png) + - Provide a name of your choice (not to be confused with Teams Channel name). - Paste MS Teams Webhook URL copied from Step (1.) above. + +![Screenshot 2022-09-14 at 10 53 31 AM](https://user-images.githubusercontent.com/86527202/190066430-838eaa69-ac2c-49ce-a0eb-d84c97964f8b.png) -154971222-7fe2c25a-d8c6-46b0-ba1e-a05ff1cf6537 + ### 3. Configure diff --git a/packages/noco-docs/content/en/engineering/development-setup.md b/packages/noco-docs/content/en/engineering/development-setup.md index 9181659407..034233546e 100644 --- a/packages/noco-docs/content/en/engineering/development-setup.md +++ b/packages/noco-docs/content/en/engineering/development-setup.md @@ -1,6 +1,6 @@ --- title: "Development setup" -description: "How to setup your development environment" +description: "How to set-up your development environment" position: 3200 category: "Engineering" menuTitle: "Development setup" @@ -39,19 +39,130 @@ npm run dev Any changes made to frontend and backend will be automatically reflected in the browser. ### Cypress +Cypress tests are divided into 4 suites +- SQLite tests +- Postgres tests +- MySQL tests +- Quick import tests +First 3 suites, each have 4 test category +- Table operations (create, delete, rename, add column, delete column, rename column) +- Views (Grid, Gallery, Form) +- Roles (user profiles, access control & preview) +- Miscellaneous (Import, i18n, etc) + + +#### MySQL tests (ExtDB project) +```shell +# install dependencies(cypress) +npm install +# start MySQL database using docker compose +docker-compose -f ./scripts/docker-compose-cypress.yml up + +# Run backend api using following command +npm run start:api:cache +# Run frontend web UI using following command +npm run start:web + +# wait until both 3000 and 8080 ports are available +# or run following command to run it with GUI +npm run cypress:open + +# run one of 4 test scripts +- Table operations : restTableOps.js +- Views : restViews.js +- Roles & access control : restRoles.js +- Miscellaneous : restMisc.js +``` + +#### SQLite tests (XCDB project) +```shell +# install dependencies(cypress) +npm install +# start MySQL database using docker compose +docker-compose -f ./scripts/docker-compose-cypress.yml up + +# Run backend api using following command +npm run start:xcdb-api:cache +# Run frontend web UI using following command +npm run start:web + +# wait until both 3000 and 8080 ports are available +# or run following command to run it with GUI +npm run cypress:open + +# run one of 4 test scripts +- Table operations : xcdb-restTableOps.js +- Views : xcdb-restViews.js +- Roles & access control : xcdb-restRoles.js +- Miscellaneous : xcdb-restMisc.js +``` + +#### PG tests (ExtDB project) +```shell +# install dependencies(cypress) +npm install +# start PG database using docker compose +docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d + +# Run backend api using following command +npm run start:api:cache +# Run frontend web UI using following command +npm run start:web + +# wait until both 3000 and 8080 ports are available +# or run following command to run it with GUI +npm run cypress:open + +# run one of 4 test scripts +- Table operations : pg-restTableOps.js +- Views : pg-restViews.js +- Roles & access control : pg-restRoles.js +- Miscellaneous : pg-restMisc.js +``` + +#### Quick import tests (SQLite project) ```shell # install dependencies(cypress) npm install -# run mysql database with required database using docker compose +# start MySQL database using docker compose docker-compose -f ./scripts/docker-compose-cypress.yml up + +# copy existing xcdb (v0.91.7) database to ./packages/nocodb/ +cp ./scripts/cypress/fixtures/quickTest/noco_0_91_7.db ./packages/nocodb/noco.db + # Run backend api using following command -npm run start:api +npm run start:api:cache # Run frontend web UI using following command npm run start:web + # wait until both 3000 and 8080 ports are available -# and run cypress test using following command -npm run cypress:run # or run following command to run it with GUI npm run cypress:open -``` \ No newline at end of file + +# run test script +- quickTest.js +``` + +#### Quick import tests (PG) +```shell +# install dependencies(cypress) +npm install +# start PG database using docker compose +docker-compose -f ./scripts/cypress/docker-compose-pg.yml up -d + +# copy existing xcdb (v0.91.7) database to ./packages/nocodb/ +cp ./scripts/cypress/fixtures/quickTest/noco_0_91_7.db ./packages/nocodb/noco.db + +# Run backend api using following command +npm run start:api:cache +# Run frontend web UI using following command +npm run start:web + +# wait until both 3000 and 8080 ports are available +# or run following command to run it with GUI +npm run cypress:open + +# run test script +- quickTest.js +``` diff --git a/packages/noco-docs/content/en/engineering/translation.md b/packages/noco-docs/content/en/engineering/translation.md index 86909e77c4..e88c5be891 100644 --- a/packages/noco-docs/content/en/engineering/translation.md +++ b/packages/noco-docs/content/en/engineering/translation.md @@ -6,48 +6,81 @@ category: "Engineering" menuTitle: "i18n translation" --- -NocoDB supports many foreign languages & we welcome community contributions via an easy to use [google-spreadsheet](https://docs.google.com/spreadsheets/d/1kGp92yLwhs1l7lwwgeor3oN1dFl7JZWuQOa4WSeZ0TE/edit#gid=2076107172). +NocoDB supports many foreign languages & community contributions are now simplified via [Crowdin](https://crowdin.com/) Your help in fixing i18n goes a long way supporting NocoDB. Please follow below simple procedure to request corrections to existing translation errors. -## How to contribute ? (for community members) +# Public Contributions -### 1. How to change a string value ? -- Make a copy of [Google spreadsheet](https://docs.google.com/spreadsheets/d/1kGp92yLwhs1l7lwwgeor3oN1dFl7JZWuQOa4WSeZ0TE/edit#gid=2076107172) - Screenshot 2022-02-10 at 1 47 06 PM -- Find your language code [here](https://developers.google.com/admin-sdk/directory/v1/languages) -- Go to the column containing your language code. Make necessary changes. Origin text in ENGLISH can be found in `Column B` of master spreadsheet. -- Create a new [issue in Github](https://github.com/nocodb/nocodb/issues/new?assignees=dstala&labels=i18n+translation&template=i18n-translation-request.md&title=%5Bi18n%5D+Language+support+extension-+%3Clanguage+code%3E) request with a link to your spreadsheet from Step-1 (for us to verify & update master spreadsheet). -- NocoDB Maintainers will take changes and merge it. -- It's that simple! +### 1. How to add translation corrections (to existing languages)? +- Setup [Crowdin](https://crowdin.com) account +- Join [NocoDB](https://crowdin.com/project/nocodb) project + +![Screenshot 2022-09-08 at 10 26 23 PM](https://user-images.githubusercontent.com/86527202/189181511-51b8671e-bee8-45d5-8216-a4a031bc6309.png) +- Click the language that you wish to contribute + +![Screenshot 2022-09-08 at 10 29 56 PM](https://user-images.githubusercontent.com/86527202/189182132-0eed7d5a-eaa1-43e1-929d-688f375763c1.png) +- Click the `Translate` button; this opens up `Crowdin Online Editor` + +![Screenshot 2022-09-08 at 10 32 17 PM](https://user-images.githubusercontent.com/86527202/189182450-999124e8-566c-40af-9d3c-731a11c1b6aa.png) -### 2. How to add a new language ? +- Select string in `English` on the left-hand menu bar [1] +- Propose changes [2] +- Save [3] +Note: Crowdin provides translation recommendation's as in [4]. Click directly if it's apt + +![Screenshot 2022-09-08 at 10 37 38 PM](https://user-images.githubusercontent.com/86527202/189184278-69d688ed-4e5a-4d5a-b629-9f6d10d79346.png) + +A GitHub Pull Request will be automatically triggered (periodicity- 6 hours). We will follup on remaining integration work items. + +--- + + +#### Reference + +Refer following articles to get additional details about Crowdin Portal usage +- [Translator Introduction](https://support.crowdin.com/crowdin-intro/) +- [Volunteer Translation Introduction](https://support.crowdin.com/for-volunteer-translators/) +- [Online Editor](https://support.crowdin.com/online-editor/) -Your native language not in list, we will be glad to support with your help! Please follow below steps +--- + + +### 2. How to add a new language ? + +Your native language not in list, we will be glad to support with your help! Request for it [here](https://github.com/nocodb/nocodb/issues/new?assignees=dstala&labels=i18n+translation&template=i18n-translation-request.md&title=%5Bi18n%5D+Language+support+extension-+%3Clanguage+code%3E). We will be glad to take your help to set up translations -- Make a copy of [Google spreadsheet](https://docs.google.com/spreadsheets/d/1kGp92yLwhs1l7lwwgeor3oN1dFl7JZWuQOa4WSeZ0TE/edit#gid=2076107172) - Screenshot 2022-02-10 at 1 47 06 PM -- Find your language code [here](https://developers.google.com/admin-sdk/directory/v1/languages) -- Replace cell $AB$1 (rightmost, containing text `en`) with language code obtained above. -- Google will generate first version translation in column AB. Review. Make changes as you find appropriate for various items listed. Origin text in ENGLISH can be found in `Column B` of master spreadsheet. -- Create new [issue](https://github.com/nocodb/nocodb/issues/new?assignees=dstala&labels=i18n+translation&template=i18n-translation-request.md&title=%5Bi18n%5D+Language+support+extension-+%3Clanguage+code%3E) request with a link to your spreadsheet from Step-1 (for us to verify & update master spreadsheet). --- -## How to accept i18n contributions ? (for NocoDB maintainers) +# Engineering Contributions (for NocoDB developers & maintainers) -> _This is exclusive to NocoDB maintainers only_ +> _This is exclusive to NocoDB developers & maintainers only_ ### 1. Adding / Updating a string -- Open master [Spreadsheet](https://docs.google.com/spreadsheets/d/1kGp92yLwhs1l7lwwgeor3oN1dFl7JZWuQOa4WSeZ0TE/edit#gid=2076107172) -- For the string/ text under consideration, look-up in existing sheet if it exists already -- [New string already exists] Consider re-using it; align string key if required -- [New string need to be inserted] Insert a new record into appropriate categories as defined below -- Download spreadsheet as .csv (File > Download > Comma-seperated values (.csv, current sheet) -- Use noco-i18n-from-cli to generate new language JSON file -- Copy respective i18n/\*.json files to `nocodb/packages/nc-gui/lang` +### Add / update key-value + - [en] make changes directly to `en.json` & commit to `develop` + - [any other language] add changes using `crowdin` portal; procedure described below + +### Add a new language +#### GitHub changes +- Update enumeration in `enums.ts` [packages/nc-gui/lib/enums.ts] +- Map JSON path in `a.i18n.ts` [packages/nc-gui/plugins/a.i18n.ts] +- Update array in `6d_language_validation.js` [scripts/cypress/integration/common/6d_language_validation.js] +#### Crowdin changes [admin only] +- Open `NocoDB` project +- Click on `Language` on the home tab +- Select target language, `Update` + + +![Screenshot 2022-09-08 at 10 52 59 PM](https://user-images.githubusercontent.com/86527202/189186570-5c1c7cad-6d3f-4937-ab4d-fa7ebe022cb1.png) + + +![Screenshot 2022-09-08 at 10 54 04 PM](https://user-images.githubusercontent.com/86527202/189186632-0b9f5f55-0550-4d8f-a8ae-7e9b9076774e.png) + +--- ### 2. String Categories - **General**: simple & common tokens (save, cancel, submit, open, close, home, and such) diff --git a/packages/noco-docs/content/en/index.md b/packages/noco-docs/content/en/index.md index 42dc8cb9c6..860cb5d1cd 100644 --- a/packages/noco-docs/content/en/index.md +++ b/packages/noco-docs/content/en/index.md @@ -58,6 +58,6 @@ Most internet businesses equip themselves with either spreadsheet or a database ## Our Mission Our mission is to provide the most powerful no-code interface for databases which is open source to every single internet business in the world. This would not only democratise access to a powerful computing tool but also bring forth a billion+ people who will have radical tinkering-and-building abilities on internet. -# How can I contribute to NocoDB's development ? +## How can I contribute to NocoDB's development ? Please refer to [here](https://github.com/nocodb/nocodb/blob/develop/.github/CONTRIBUTING.md) for the contribution guidelines. \ No newline at end of file diff --git a/packages/noco-docs/content/en/setup-and-usages/audit.md b/packages/noco-docs/content/en/setup-and-usages/audit.md index 39b513c6c3..6d62edc44f 100644 --- a/packages/noco-docs/content/en/setup-and-usages/audit.md +++ b/packages/noco-docs/content/en/setup-and-usages/audit.md @@ -6,10 +6,10 @@ category: 'Product' menuTitle: 'Audit' --- -We are keeping all the user operation logs under Audit. Audits logs can be accessed by clicking `Team & Settings` from the left navigation drawer. +We are keeping all the user operation logs under Audit. To access it, click the down arrow button next to Project Name on the top left side, then select `Team & Settings`. -image +image Then, under SETTINGS, click `Audit`. -image +image \ No newline at end of file diff --git a/packages/noco-docs/content/en/setup-and-usages/code-snippets.md b/packages/noco-docs/content/en/setup-and-usages/code-snippets.md index 479f98b6b5..00e4172caf 100644 --- a/packages/noco-docs/content/en/setup-and-usages/code-snippets.md +++ b/packages/noco-docs/content/en/setup-and-usages/code-snippets.md @@ -8,14 +8,13 @@ menuTitle: 'Code Snippets' ## Overview -Open a Project, Select a Table and Click `Get API Snippet` on the bottom right area. +In the table toolbar, click Table name button and click `Get API Snippet`. -image +image A modal box will be shown with sample code snippet for List API. -![image](https://user-images.githubusercontent.com/35857179/166663478-3f802012-7bdc-4265-9ffe-6e51c4bcf4cd.png) - +image ## Supported Snippet diff --git a/packages/noco-docs/content/en/setup-and-usages/column-operations.md b/packages/noco-docs/content/en/setup-and-usages/column-operations.md index 1895daaee8..843001954d 100644 --- a/packages/noco-docs/content/en/setup-and-usages/column-operations.md +++ b/packages/noco-docs/content/en/setup-and-usages/column-operations.md @@ -8,20 +8,26 @@ menuTitle: "Column Operations" ## Fields - +Click `Fields` to control the visibility of a field. + +image + +By default, all system fields will be hid. However, you can tick `Show system fields` to make them visible. + +image ### Re-order Columns Column positions can be re-ordered. Open `Fields` menu, and re-order fields as needed by dragging and dropping the `drag icon`. - +image -#### Demo + - + -### Hide/ Unhide Columns +### Hide / Unhide Columns To hide / unhide columns, open `Fields` menu, tick checkbox to keep the column visible, untick checkbox to remove it from the view. @@ -29,11 +35,11 @@ To hide / unhide columns, open `Fields` menu, tick checkbox to keep the column v Tip: You can create different grid views with different fields shown in each view. - +image -#### Demo + - + ## Sort @@ -41,22 +47,29 @@ Tip: You can create different grid views with different fields shown in each vie Sorting allows you to order contents alphabetically (A → Z) / (Z → A) (OR) in ascending / descending order. NocoDB allows nested sorting. You can choose column fields & order in which to apply nested sorting. Lookup, Formula, Nested Data are also supported in Sorting. - +image - - -#### Demo +image + +image - + + + + ## Filter -Filters allow you to restrict/organize your data on the view as per your needs. NocoDB allows nested filters. You can choose multiple columns and conditions to apply filter. Between filters, you can opt for either `and` or `or` mode operation. Lookup, Formula, Nested Data are also supported in Filtering. +Filters allow you to restrict / organize your data on the view as per your needs. NocoDB allows nested filters. You can choose multiple columns and conditions to apply filter. Between filters, you can opt for either `and` or `or` mode operation. Lookup, Formula, Nested Data are also supported in Filtering. - +image + +image + +You can also group several filters together using Filter Group. - +image ### Supported filters diff --git a/packages/noco-docs/content/en/setup-and-usages/dashboard.md b/packages/noco-docs/content/en/setup-and-usages/dashboard.md index 21bcbd1aec..7adc4aeaae 100644 --- a/packages/noco-docs/content/en/setup-and-usages/dashboard.md +++ b/packages/noco-docs/content/en/setup-and-usages/dashboard.md @@ -8,60 +8,54 @@ menuTitle: 'Dashboard' ## Setup Your First Super Admin -Once you have started NocoDB, you can visit the dashboard via `example.com/dashboard`. - -Click `Let's Begin` button to sign up. - -![image](https://user-images.githubusercontent.com/35857179/163138119-be4314f9-22eb-4df6-b0af-b6990c563795.png) +Once you have started NocoDB, you can visit the dashboard via `example.com`. You will be redirected to `example.com/#/signup`. Enter your work email and your password. +image + Your password has at least 8 letters with one uppercase, one number and one special letter -![image](https://user-images.githubusercontent.com/35857179/163138460-59ddd93f-a8ef-4c02-8b7b-037a53cefd77.png) - ## Initialize Your First Project Once you have logged into NocoDB, you should see `My Projects`. -![image](https://user-images.githubusercontent.com/35857179/163135335-652470ee-f69e-4b12-8884-63e8056bfce3.png) +image -To create a project, you can click `New Project`. +To create a project, you can click `New Project`. You can choose create an empty project or a project connecting to an external database. -![image](https://user-images.githubusercontent.com/35857179/167252813-84876756-f6a1-488a-a185-cbb09f163c5b.png) +image ### Creating Empty Project -Click `Create`, you need to specify the project name and API type. +Click `Create Project`, you need to specify the project name. The data will be stored in `NC_DB`. If it is not specified, a local SQLite will be created and used. -A local SQLite will be used. +NC_DB is an environment variable used to store the meta data in the given database. -![image](https://user-images.githubusercontent.com/35857179/163135608-5e135a73-afcd-40bb-9d26-f2970dab7143.png) +image ### Connecting to External Database Click `Create By Connecting To An External Database`, you need to specify the project name, API type, and other database parameters. -Tip 1: If you are running NocoDB on Docker and your local DB is running on your host machine, your Host Address would be host.docker.internal instead of localhost. +Tip: If you are running NocoDB on Docker and your local DB is running on your host machine, your Host Address would be host.docker.internal instead of localhost. -![image](https://user-images.githubusercontent.com/35857179/163135736-d209061e-893d-4441-aaaa-ff22a1c82ceb.png) +image Currently it supports MySQL, Postgres, MSSQL and SQLite. -![image](https://user-images.githubusercontent.com/35857179/126597320-fd6b19a9-ed3e-4f4a-80b7-880a79a54a11.png) - You can also configure associated SSL & advanced parameters. -![image](https://user-images.githubusercontent.com/35857179/163135911-04e01016-0ffd-4f38-83a8-c667bd268759.png) +image -Tip 2: You can click Edit Connection JSON and modify SSL settings in "ssl". +Tip: You can click Edit Connection JSON and modify SSL settings in "ssl". ```json @@ -83,7 +77,7 @@ Tip 2: You can click Edit Connection JSON and modify SSL settings in "ssl". ``` -Tip 3: You can click Edit Connection JSON and specify the schema you want to use in "searchPath". +Tip: You can click Edit Connection JSON and specify the schema you want to use in "searchPath". ```json @@ -98,4 +92,4 @@ Tip 3: You can click Edit Connection JSON and specify the schema you want to use Click `Test Database Connection` to see if the connection can be established or not. NocoDB creates a new **empty database** with specified parameters if the database doesn't exist. -![image](https://user-images.githubusercontent.com/35857179/163136039-ad521d74-6996-4173-84ba-cfc55392c3b7.png) +image diff --git a/packages/noco-docs/content/en/setup-and-usages/formulas.md b/packages/noco-docs/content/en/setup-and-usages/formulas.md index be5dbaa939..9d6a351bba 100644 --- a/packages/noco-docs/content/en/setup-and-usages/formulas.md +++ b/packages/noco-docs/content/en/setup-and-usages/formulas.md @@ -8,7 +8,7 @@ menuTitle: "Formulas" ## Adding formula column -![Formula](https://user-images.githubusercontent.com/86527202/144246227-42c44df6-7e3e-4b2c-9bb9-a3c213bcad20.png) +image ### 1. Click on '+' (Add column) @@ -25,6 +25,12 @@ menuTitle: "Formulas" ### 5. Click on 'Save' +## Editing formula column + +Unlike other column types, formula cells cannot be modified by double-clicking since the value is generated based on the formula. Instead, the vaule can be changed by updating the formula in the column setting. + +image + ## Available Formula Features ### Numeric Functions diff --git a/packages/noco-docs/content/en/setup-and-usages/import-airtable-to-sql-database-within-a-minute-for-free.md b/packages/noco-docs/content/en/setup-and-usages/import-airtable-to-sql-database-within-a-minute-for-free.md index e4f2a77913..32e8bc4e40 100644 --- a/packages/noco-docs/content/en/setup-and-usages/import-airtable-to-sql-database-within-a-minute-for-free.md +++ b/packages/noco-docs/content/en/setup-and-usages/import-airtable-to-sql-database-within-a-minute-for-free.md @@ -45,12 +45,32 @@ See [here](https://support.airtable.com/hc/en-us/articles/205752117-Creating-a-b Prerequisites:
- A NocoDB Project
- Airtable Credentials
- + Below are 3 simple steps -1. Go to your Project and Click `Add / Import` and click `Airtable`. - ![image](https://user-images.githubusercontent.com/35857179/168772072-937b037b-32b3-4e5b-b982-5ee4b9a4959c.png) - ![image](https://user-images.githubusercontent.com/35857179/168773192-f3ef9d36-3329-4324-ae25-989b611f66bf.png) +1. Go to your Project, Open `Add / Import` menu and click `Airtable`. + +![Screenshot 2022-09-14 at 9 27 51 AM](https://user-images.githubusercontent.com/86527202/190057053-983126b3-287a-4bc4-a1d8-fa89da8f40f8.png) + + + 2. Input API key & Shared Base ID / URL (retrieved from `Get Airtable Credentials` above). - ![image](https://user-images.githubusercontent.com/35857179/168779663-5bb1dac8-01bd-43fb-8638-318a66a0f4bf.png) -3. Click `Import` and you will see the status. - ![image](https://user-images.githubusercontent.com/35857179/168779906-6163b23e-4bcc-4991-8a77-b2fa94e5dcf3.png) + + - <1> API Key + - <2> Share Base ID + - <3> Configuration option + - Import Data: disable this option to import only table & view schema's + - Import Secondary Views: disable this option to import only primary grid view per table + - Import Rollup Columns: disable this option to skip Rollup column import + - Import Lookup Columns: disable this option to skip Lookup column import + - Import Attachments Columns: disable this option to skip Attachment column import + - Import Formula Columns: disable this option to skip Formula (computation) column import + +![Screenshot 2022-09-14 at 9 30 14 AM](https://user-images.githubusercontent.com/86527202/190057133-92807b16-4f2b-4c58-8bae-a2cfe677ee62.png) + + +3. Click `Import` and you will see the status +4. Wait until `Go To Dashboard` button is activated on the modal. Import details are captured in log window. + +![Screenshot 2022-09-14 at 9 33 42 AM](https://user-images.githubusercontent.com/86527202/190057152-be9ec6cb-e414-465c-8967-d1ad40478ce1.png) + + diff --git a/packages/noco-docs/content/en/setup-and-usages/languages.md b/packages/noco-docs/content/en/setup-and-usages/languages.md index 5711e30b91..9365dbdeed 100644 --- a/packages/noco-docs/content/en/setup-and-usages/languages.md +++ b/packages/noco-docs/content/en/setup-and-usages/languages.md @@ -8,12 +8,12 @@ menuTitle: 'Languages' NocoDB supports multiple lanuages on dashboard. By default, English will be used. However, if you prefer to display in other languages, you can do the following steps to change the language. -Click the icon on top right tool bar +Open `Project Menu` (click on project name on left top to access Project menu) -![image](https://user-images.githubusercontent.com/35857179/161960398-a41f9f23-5786-4a1c-a57e-8c166a2785a5.png) +![Screenshot 2022-09-13 at 11 14 02 AM](https://user-images.githubusercontent.com/86527202/189819445-c1a64ebe-2f6d-41f2-97de-473c48945986.png) + -and select the one you prefer. Currently we support the following languages. +and select the one you prefer. -![image](https://user-images.githubusercontent.com/35857179/161960528-fb852ad5-8a12-4fbc-9ad1-7c285980603f.png) -If you want to help translate, please check out i18n. If you want to request a new language, please create an issue on Github. \ No newline at end of file +If you want to help translate, please check out i18n. If you want to request a new language, please create an issue on Github. diff --git a/packages/noco-docs/content/en/setup-and-usages/link-to-another-record.md b/packages/noco-docs/content/en/setup-and-usages/link-to-another-record.md index f1980ba5d6..c6801c082e 100644 --- a/packages/noco-docs/content/en/setup-and-usages/link-to-another-record.md +++ b/packages/noco-docs/content/en/setup-and-usages/link-to-another-record.md @@ -29,7 +29,7 @@ Workflow details are captured below ## Adding a relationship -![1](https://user-images.githubusercontent.com/86527202/144224170-43f4194f-83d4-4291-8c91-1f66ea1caeda.png) +image ### 1. Create column @@ -45,8 +45,8 @@ Select Column type as "LinkToAnotherRecord" from the drop-down menu ### 4. Choose relationship type -'Has Many': corresponds to the 'One-to-many' relationships -'Many To Many': corresponds to the 'Many-to-many' relationships +- 'Has Many' corresponds to the 'One-to-many' relationships +- 'Many To Many' corresponds to the 'Many-to-many' relationships ### 5. Select child table from drop down menu @@ -59,19 +59,22 @@ A new column will get created in both the parent table & child table ### 1. Open link record tab Click on the '+' icon in corresponding row - cell -![2truncate](https://user-images.githubusercontent.com/86527202/144224728-1cba50e3-323e-4578-be48-d2a205fb472c.png) +image ### 2. Select from the option displayed Use 'Filter box' to narrow down on search items You can opt to insert a new record as well, using "+ New Record" button -![3](https://user-images.githubusercontent.com/86527202/144224530-a258775f-1eea-4c79-88ed-a377d1e35a26.png) +image ### 3. Column mapping showing "Has Many" relationship -Country 'has many' City +Sheet1 'has many' Sheet2 + +image ### 4. Column mapping for "Belongs to" relationship [Automatically updated] -City 'belongs to' Country -![4](https://user-images.githubusercontent.com/86527202/144224542-d28be060-a077-468a-bdc4-b2e8a783d75f.png) +Sheet2 'belongs to' Sheet1 + +image \ No newline at end of file diff --git a/packages/noco-docs/content/en/setup-and-usages/lookup.md b/packages/noco-docs/content/en/setup-and-usages/lookup.md index f4748984a4..52075da925 100644 --- a/packages/noco-docs/content/en/setup-and-usages/lookup.md +++ b/packages/noco-docs/content/en/setup-and-usages/lookup.md @@ -8,61 +8,35 @@ menuTitle: "Lookup" ## Lookup -### Sample simple Organization structure - -- 5 departments (company departments), each department has a team name & associated team code. Vertical **has many** Employees - relationship has been defined - - - +### Example organization structure + +Consider an organization with +- 5 departments (company departments), each department has a team name & associated team code. Each `Team` **has many** `Employees` - relationship has been defined using `LinkToAnotherRecord` column - 5 employees working at different departments + + +![Screenshot 2022-09-09 at 12 57 32 PM](https://user-images.githubusercontent.com/86527202/189295738-a4197818-f7d7-4769-acad-13b6d05afe7e.png) + + - - -Now, we can explore how to extract team-code information in Employee table using **LOOKUP** columns - -### Adding a lookup column - -### 1. Add new column - -Click on '+' icon to the left of column headers in Employee table - - - -### 2. Feed column name - - - -### 3. Select column type as 'Lookup' - - - -### 4. Choose child table - -Table Verticals in our example - - -### 5. Select child column - - - -### 6. Click on 'Save' - - - -### 7. Required information is populated in the newly created column - - - -## Nested Lookup - -On top of the previous structure, let's introduce one more table - `Project` which contains `ProjectName` and each employee can be assigned with multiple projects. If we want to include the lookup column `TeamCode` from Employee in Project, we can create a nested lookup. - +Now, let's explore procedure to retrieve team-code information in Employee table using **LOOKUP** columns -We can apply the same steps to create the lookup column `TeamCode` in table `Project`. This time we choose the lookup column created previously in table `Employee` as a child table. +### Configuring a lookup column +#### 1. Add new column : Click on '+' icon to the left of column headers in Employee table +#### 2. Feed column name +#### 3. Select column type as 'Lookup' +#### 4. Choose child table +#### 5. Select child column +#### 6. Click on 'Save' - +![Screenshot 2022-09-09 at 12 21 13 PM](https://user-images.githubusercontent.com/86527202/189291720-642a6a96-0b3d-4eaa-886a-20d33a967644.png) -Click save. Then `TeamCode` is populated in table `Project`. - +Required information is now populated in the newly created column + +![Screenshot 2022-09-09 at 12 26 06 PM](https://user-images.githubusercontent.com/86527202/189291679-09503e32-9146-41fa-b28c-d900f2dc35a4.png) + + +## Additional notes +- Nested 'Lookup' supported: a Lookup field can have its child column datatype as Lookup (or Rollup). diff --git a/packages/noco-docs/content/en/setup-and-usages/meta-management.md b/packages/noco-docs/content/en/setup-and-usages/meta-management.md index 38eb3f518b..474e32dbd0 100644 --- a/packages/noco-docs/content/en/setup-and-usages/meta-management.md +++ b/packages/noco-docs/content/en/setup-and-usages/meta-management.md @@ -6,13 +6,15 @@ category: 'Product' menuTitle: 'Metadata' --- -Project Metadata can be found by clicking `Team & Settings` from the left navigation drawer +Project Metadata includes Database Metadata, UI Access Control and Miscellaneous. -image +To access it, click the down arrow button next to Project Name on the top left side, then select `Team & Settings`. + +image and clicking `Project Metadata`. -![image](https://user-images.githubusercontent.com/35857179/170427133-09faf93f-a41c-428b-b51c-fefe3fb45d9d.png) +image -### 2. Feed column name +#### 2. Feed column name -![2](https://user-images.githubusercontent.com/86527202/144236279-41904955-4990-4a23-bec6-b0953002eac6.png) + -### 3. Select Column type as 'Rollup' +#### 3. Select Column type as 'Rollup' -![3](https://user-images.githubusercontent.com/86527202/144236283-4596e3e1-3bf8-488f-bc9b-8ec1466a35c6.png) + -### 4. Choose Child Table +#### 4. Choose Child Table Table Employee in our example -![4](https://user-images.githubusercontent.com/86527202/144236284-301178d8-f452-4d1e-9dff-80dd9570c280.png) + -### 5. Choose on ​Child column +#### 5. Choose on ​Child column Pick appropriate column for aggreagation -![5](https://user-images.githubusercontent.com/86527202/144236286-28547d74-feb8-4ad8-a872-7ba809e5db1e.png) + -### 6. Select ​Aggregate function +#### 6. Select ​Aggregate function Aggregate function will be "count" in our case -![6](https://user-images.githubusercontent.com/86527202/144236288-34a567d5-a5e9-4a1e-b074-5ea633e799a3.png) + + +#### 7. Click on Save + + +![Screenshot 2022-09-09 at 1 03 49 PM](https://user-images.githubusercontent.com/86527202/189297619-4d5c815b-6c97-41fa-978e-9b645448e508.png) + -### 7. Click on Save + -![7](https://user-images.githubusercontent.com/86527202/144236289-5872529a-ba47-428d-979e-fdefb92a1039.png) +Column `Employee Count` is populated with appropriate information + +![Screenshot 2022-09-09 at 1 07 45 PM](https://user-images.githubusercontent.com/86527202/189297662-c7ff1e3e-eec7-4108-a089-6c945b90b867.png) -### 8. Column TeamCount is populated with appropriate information -![8](https://user-images.githubusercontent.com/86527202/144236291-52855f92-ad8b-4be1-aa98-b5cfdb1ee108.png) + diff --git a/packages/noco-docs/content/en/setup-and-usages/sync-schema.md b/packages/noco-docs/content/en/setup-and-usages/sync-schema.md index e1db6d6459..fd7c712e01 100644 --- a/packages/noco-docs/content/en/setup-and-usages/sync-schema.md +++ b/packages/noco-docs/content/en/setup-and-usages/sync-schema.md @@ -8,26 +8,28 @@ menuTitle: 'Sync Schema' ## How to sync schema changes to NocoDB -NocoDB allows you to sync schema changes if you have made changes outside NocoDB GUI. However, it has to be noted then you will have to bring your own schema migrations for moving from environment to others. +NocoDB allows you to sync schema changes if you have made changes outside NocoDB GUI. However, it has to be noted then you will have to bring your own schema migrations for moving from one environment to other. Below are the steps to sync schema changes. -### 1. From the menu bar, click `Team & Settings` +### 1. From the `Project menu`, click `Team & Settings` -image +image -### 2. Click `Project Metadata` under SETTINGS and click `Metadata` +### 2. Click `Project Metadata` under SETTINGS, access `Metadata` tab -![image](https://user-images.githubusercontent.com/35857179/170427133-09faf93f-a41c-428b-b51c-fefe3fb45d9d.png) +![Screenshot 2022-09-13 at 10 37 17 AM](https://user-images.githubusercontent.com/86527202/189814111-56036958-c6e4-4560-af1e-9443380db080.png) ### 3. Changes carried outside GUI, identified by NocoDB are listed under `Sync state` +- If changes made to the database are not visible, click `Reload` +- Identified schema changes are identified for each table in `red` +- `Sync now` button gets activated, if Schema changes are identified by NocoDB -![image](https://user-images.githubusercontent.com/35857179/161957119-f66f22ad-9d37-45ed-84ca-35c99726078c.png) +![Screenshot 2022-09-13 at 10 42 12 AM](https://user-images.githubusercontent.com/86527202/189814648-ca28f28d-b0ed-4652-a5da-e6472bfd9407.png) + ### 4. Click `Sync Now` to complete Schema sync procedure -image - #### Notes 1. Column rename operation will be treated like `column delete` & `column create` operation. diff --git a/packages/noco-docs/content/en/setup-and-usages/table-operations.md b/packages/noco-docs/content/en/setup-and-usages/table-operations.md index 730b0bc94f..644172e397 100644 --- a/packages/noco-docs/content/en/setup-and-usages/table-operations.md +++ b/packages/noco-docs/content/en/setup-and-usages/table-operations.md @@ -6,7 +6,7 @@ category: "Product" menuTitle: "Table Operations" --- -Once you have created a new NocoDB project you can open it, In the browser, the URL would be like `example.com/dashboard/#/nc/project_id`. +Once you have created a new NocoDB project you can open it, In the browser, the URL would be like `example.com/dashboard/#/nc/`. ## Table @@ -14,35 +14,48 @@ Once you have created a new NocoDB project you can open it, In the browser, the Now you can start creating new tables by simply clicking one of the following options. -- Click the plus button next to Table menu -- Click Add / Import, then click Add new table +- Click `Add new table` button +- Hover `Add new table` button in table menu, click three dots, use Quick Import to create +- Drag and drop CSV, JSON or Excel file to import -image +image A modal will be popped up. Input the corresponding info and enable or disable default columns and click `Submit` button. -![table_create_modal](https://user-images.githubusercontent.com/61551451/126772859-5a301c45-d830-4df2-a05a-43b15dd77728.png) +image + +Click Show more for advanced settings. Note: You can't disable the `id` column since NocoDB needs a primary column for every table. You can rename it after the creation. +image + After the successful submission, the table will be created and open as a new tab. -![table_created](https://user-images.githubusercontent.com/35857179/168411541-b0233cf1-4683-490b-bdec-f2546a2d9015.png) +image ### Table Rename Right click on Table name on left hand project-tree menu, select `Rename` -In modal popup, enter new table name and click `Submit` button - +image + +In modal popup, enter new table name and click `Submit` button + +image + ### Table Delete -The table can be deleted using the `delete` icon present in the toolbar within the table tab. +Right click on Table name on left hand project-tree menu, select `Delete` + +image + +Click Yes to confirm the table deletion -![image](https://user-images.githubusercontent.com/35857179/168411589-540f50d2-78e3-4d97-b17c-1b9fad9f90b7.png) +image ## Column @@ -50,34 +63,39 @@ The table can be deleted using the `delete` icon present in the toolbar within t Click the `+` icon on the right corner of the table. -![Pasted_Image_23_07_21__4_39_PM](https://user-images.githubusercontent.com/61551451/126773798-4470d632-69e0-4f5f-803b-e3597715fe22.png) +image -After the click, it will show a menu and you can enter the column name and choose the column type ([Abstract type](./abstract-types)). -Click `Save`button to create the new column. +After the click, it will show a menu and you can enter the column name and choose the column type. (See [Column Types](./column-types) for the full list). -![image](https://user-images.githubusercontent.com/61551451/126774157-ae9af236-e1ad-4a54-adb7-1b96775cae57.png) - -& we have new column created as part of our table -![Pasted_Image_23_07_21__4_43_PM](https://user-images.githubusercontent.com/61551451/126774276-e947f510-2fe1-4595-afc1-a31d2c35a69a.png) - -> For more about Abstract type [click here](./abstract-types). +image + +You can also click `Show more` for additional menu options. + +image + +Click `Save` button to create the new column. + +image ### Column Edit -To edit column properties, click/hover on down arrow, select `Edit` from the menu. + +To edit column properties, click the down arrow, select `Edit` from the menu. - +image -You will be able to edit column name & associated datatype using pop-up modal. -For additional menu options, click `Show more options` +You will be able to edit column name & associated datatype using pop-up modal. You can also click `Show more` for additional menu options. - - +image ### Column Delete -Column deletion can be done by using the `delete` option from the column header menu. +To delete a column, click the down arrow, select `Delete` from the menu. + +image -![Pasted_Image_23_07_21__6_49_PM](https://user-images.githubusercontent.com/61551451/126787679-562aaa22-14b3-4ff8-8057-b8219e057110.png) +Click `Yes` to confirm the column deletion. + +image ## Row @@ -86,17 +104,18 @@ For adding new values to the table we need new rows, new rows can be added in tw ### Row Add (Using Form) - Click the `+` icon in the toolbar of the table tab. - -- Now it will open a modal Form to enter the values, provide the values and press the save button. - + image +- Then you can enter the values and click `Save row`. + image - After saving it will be there on your table. - ![image](https://user-images.githubusercontent.com/61551451/126785340-e9b80ad0-ba06-4a22-8a01-876d829c9673.png) + image ### Row Add (Using Table Row at bottom of page) -- Click the bottom row of the table which contains `+` icon at the beginning. - -- Now it will add a new row in the table +- Click the bottom row of the table `+ Add new row`. + image +- A new empty row will be created + image ### Row Edit You can start editing by any of the following methods @@ -108,14 +127,18 @@ You can start editing by any of the following methods ### Row Delete Right-click on anywhere in the row and then from the context menu select `Delete Row` option. -Bulk delete is also possible by selecting multiple rows by using the checkbox in first column and then `Delete Selected Rows` options from the right click context menu. - +Bulk delete is also possible by selecting multiple rows by using the checkbox in first column and then `Delete Selected Rows` options from the right click context menu. + +image ## Quick Import -You can use Quick Import when you have data from external sources such as Airtable, CSV file or Microsoft Excel to an existing project by clicking `Add / Import` and choosing the corresponding options. +You can use Quick Import when you have data from external sources such as Airtable, CSV file or Microsoft Excel to an existing project by either + +- Hover `Add new table` button in table menu, click three dots, use Quick Import to create +- Drag and drop CSV, JSON or Excel file to import -![image](https://user-images.githubusercontent.com/35857179/168772072-937b037b-32b3-4e5b-b982-5ee4b9a4959c.png) +image ### Import Airtable into an existing project @@ -123,36 +146,38 @@ You can use Quick Import when you have data from external sources such as Airtab ### Import CSV data into an existing project -- Click `Add / Import` and click `CSV file` -- Drag & drop or select file to upload or specify Excel file URL - ![image](https://user-images.githubusercontent.com/35857179/168412051-ed988659-011d-455b-ba32-be0a2e1184b0.png) -- You can revise the table name, column name and column type. By default, the first column will be chosen as Primary Value and cannot be deleted. - ![image](https://user-images.githubusercontent.com/35857179/168412069-aea8a8fb-09ab-4412-95b7-963bdbe24cfc.png) -- Click `Import CSV` to start importing process. The table will be created and the data will be imported. - ![image](https://user-images.githubusercontent.com/35857179/168412172-9bb24ab9-da15-45cf-9b12-3af362fc604a.png) +- Hover `Add new table` button in table menu, click three dots, and click `CSV file` +- Drag & drop or select file to upload or specify CSV file URL + image +- Click `Import` + image +- You can revise the table name by double clicking it, column name and column type. By default, the first column will be chosen as Primary Value and cannot be deleted. + image +- Click `Import` to start importing process. The table will be created and the data will be imported. + image ### Import Excel data into an existing project -- Click `Add / Import` and click `Microsoft Excel` +- Hover `Add new table` button in table menu, click three dots, and click `Microsoft Excel` - Drag & drop or select file to upload or specify Excel file URL - ![image](https://user-images.githubusercontent.com/35857179/168412483-a12f7d90-1b91-48bb-96a7-2a16dc8c7b81.png) + image - You can revise the table name, column name and column type. By default, the first column will be chosen as Primary Value and cannot be deleted. Note: If your Excel file contains multiple sheets, each sheet will be stored in a separate table. - ![image](https://user-images.githubusercontent.com/35857179/168412465-e46b4fcf-ec1c-4d32-bb56-eb62516829f5.png) -- Click `Import Excel` to start importing process. The table(s) will be created and the data will be imported to the corresponding table(s). - ![image](https://user-images.githubusercontent.com/35857179/168413233-adfb85e2-8d52-46d8-a754-e2ec9f8d3234.png) + image +- Click `Import` to start importing process. The table(s) will be created and the data will be imported to the corresponding table(s). + image ## Export Data -You can export your data from a table as a CSV file by clicking `More` and `Download as CSV`. +You can export your data from a table as a CSV file by clicking the down arrow next to Table name and hover on `Download`. Currently only CSV and XLSX formats are supported for export. -![image](https://user-images.githubusercontent.com/35857179/163556138-2aa0a782-12e9-49c7-aadf-b7778e91557f.png) +image ## Import Data -You can import your data in CSV format to a table by clicking `More` and `Upload CSV`. +You can import your data in CSV format to a table by clicking the down arrow next to Table name and hover on `Upload`. Currently only CSV format is supported for upload. -![image](https://user-images.githubusercontent.com/35857179/163556175-116b12c2-ca2e-4b54-a65a-39250541d873.png) +image diff --git a/packages/noco-docs/content/en/setup-and-usages/team-and-auth.md b/packages/noco-docs/content/en/setup-and-usages/team-and-auth.md index 22cf8c33b7..fcb5879d47 100644 --- a/packages/noco-docs/content/en/setup-and-usages/team-and-auth.md +++ b/packages/noco-docs/content/en/setup-and-usages/team-and-auth.md @@ -6,16 +6,25 @@ category: 'Product' menuTitle: 'Team & Auth' --- -Team & Auth can be found by clicking `Team & Settings` from the left navigation drawer and clicking `Team & Auth`. +# Accessing Team & Auth +- Click on `Team & Settings` from the `Project Menu` +- Access `Team & Auth` under `Settings` + + +image -![image](https://user-images.githubusercontent.com/35857179/161902474-fd06678c-a171-4237-b171-dc028b3753de.png) -![image](https://user-images.githubusercontent.com/35857179/161902746-aa59b8e5-06d2-4c07-ac60-c82f92b42752.png) +![Screenshot 2022-09-13 at 10 52 55 AM](https://user-images.githubusercontent.com/86527202/189816444-1591fed2-52d5-4031-b462-f1ad2a72df20.png) + ## How to Add a User -1. Go to `Team & Auth`, click on `New User`. - ![image](https://user-images.githubusercontent.com/35857179/161903214-1e0f7ba0-6daf-4073-90c9-9d86a40c9f90.png) +1. Go to `Team & Auth`, click on `Invite Team` + + + ![Screenshot 2022-09-13 at 10 52 55 AM](https://user-images.githubusercontent.com/86527202/189817510-089371d9-1a47-40fa-9dad-0c7b0cea2de0.png) + + 2. Enter the user's `E-mail`. Select `User Role`, and Click `Invite`. @@ -23,14 +32,25 @@ Team & Auth can be found by clicking `Team & Settings` from the left navigation Tip: You can add multiple comma (,) seperated emails - ![image](https://user-images.githubusercontent.com/35857179/161903296-cd6ea0d5-193f-4e66-aa7a-4cfc468216af.png) +![Screenshot 2022-09-13 at 10 54 39 AM](https://user-images.githubusercontent.com/86527202/189817152-83fca866-7713-49ee-8068-d3eba1311353.png) + +If you do not have an SMTP sender configured, make sure to copy the invite link and manually send it to your collaborator. + +![Screenshot 2022-09-13 at 10 54 22 AM](https://user-images.githubusercontent.com/86527202/189817156-f3dab634-dc25-4f9b-8126-865187aae254.png) + + +## How to Update user permissions + +1. Use `Edit` <1> menu to assign a different role to existing user +2. Use `Delete` <2> menu to remove a user from accessing current project + +![Screenshot 2022-09-13 at 11 06 16 AM](https://user-images.githubusercontent.com/86527202/189818302-80a05245-9dc1-4364-b380-7bd698e5b9e0.png) - If you do not have an SMTP sender configured, make sure to copy the invite link and manually send it to your collaborator. - ![image](https://user-images.githubusercontent.com/35857179/161903764-1c875441-87f4-4b25-a864-441a23c96cea.png) +------ -## User Role Permissions +# User Role Permissions ### Advanced Options & Configurations |                                                     |     Owner    |     Creator     |     Editor    | Commenter |     Viewer    | diff --git a/packages/noco-docs/content/en/setup-and-usages/views.md b/packages/noco-docs/content/en/setup-and-usages/views.md index c003d4bd99..e04162c824 100644 --- a/packages/noco-docs/content/en/setup-and-usages/views.md +++ b/packages/noco-docs/content/en/setup-and-usages/views.md @@ -10,84 +10,100 @@ menuTitle: 'Views' In a table, you can use different views to display your data. You can show specific fields in a View. You can also apply Sorting or Filtering to the View. Each View is independent, which means the configuration applying to View 1 will not apply to View 2. -To navigate different views, we can select the target one in the view sidebar. By default, Grid View will be created for you after creating the table.You can create multiple views with the same type as you wish, as long as they have unique View names. +To navigate different views, we can select the target one in the view sidebar. By default, Grid View will be created for you after creating the table. You can create multiple views of a type, as long as they have unique View names. -![image](https://user-images.githubusercontent.com/35857179/163340916-d1101709-2051-4d0e-9d86-dd14eced49e9.png) +## View Menu Bar +To work with `Views`, use View menu-bar on the right hand side - +- <1> Toggle View menu-bar. +- <2> Displays created view-list for the selected table + - Currently active view is high-lighted +- <3> Add new view to the list + +![Screenshot 2022-09-09 at 2 56 15 PM](https://user-images.githubusercontent.com/86527202/189321194-303c4a8c-d9a1-4368-962c-c7596763efb6.png) + ## View Types ### Grid View Grid View, as a default type of view, allows you to display your data in a spreadsheet-like interface. - -![image](https://user-images.githubusercontent.com/35857179/163343433-f6594d6e-5874-45ae-b403-5774247659bb.png) + +![image](https://user-images.githubusercontent.com/86527202/189322133-04bddf2b-c885-49ca-aa8e-2a09ac755555.png) + ### Form View Form View allows you to arrange fields in a form to input data. + +https://user-images.githubusercontent.com/35857179/188585121-94d0260d-6dbd-4e34-9758-a1a3709fc416.png + -![image](https://user-images.githubusercontent.com/35857179/163355269-73d2a9d4-bafb-47c0-8c0d-d0e66503b47a.png) - -You can show and hide some fields using drag-and-drop fashion. +You can drag-drop columns from the form to form-field-menu-bar as requried. -![image](https://user-images.githubusercontent.com/35857179/163355377-6b365472-efae-4f73-a103-5dde7c1f8ea7.png) ### Gallery View Gallery View allows you to display images as thumbnails with other fields just like a gallery. - - - + +![image](https://user-images.githubusercontent.com/86527202/189322216-f8df0b69-5177-4ebc-be28-c11e3efb41a4.png) + + ## View Permission Types -We can apply permission to each View. By default, Collaborative Views will be used. To see or change the view type, check the first icon above the View sidebar. +We can apply permission to each View. By default, Collaborative Views will be used. To see or change the view type, expand `view-tool-bar-menu` as shown below. -![image](https://user-images.githubusercontent.com/35857179/163343598-fd81edea-f160-41ee-8bb2-3ef1eee5348d.png) +![Screenshot 2022-09-09 at 3 46 33 PM](https://user-images.githubusercontent.com/86527202/189328303-edbf35b5-f793-4e06-9dbf-89d045a38482.png) + + -### Collaborative Views - -Collaborative View allows you to work with your collaborators with edit permissions. - -![image](https://user-images.githubusercontent.com/35857179/163343959-7e2f43cb-1a1f-4f36-985c-ca91db262f98.png) +### Collaborative Views (default) +- Collaborators with edit permissions or higher can change the view configurations + ### Locked Views +- No one can edit view configurations until it is Unlocked +- All collaborators can only READ data from such views -Locked View allows you to lock the current View so that no one can edit the View including applying operations such as Sorting or Filtering. +### Personal Views +- Only you can edit the view configuration. +- Your personal views are hidden for other collaborators +- Are not available currently; will be enabled in future release + -![image](https://user-images.githubusercontent.com/35857179/163343845-b07f9d3f-5a83-4dfd-8d45-9cc59b3512c3.png) ## View Operations + +![Screenshot 2022-09-09 at 3 27 46 PM](https://user-images.githubusercontent.com/86527202/189325592-302054da-a755-4a92-a322-80aed184ca3b.png) -### Create a View -Click '+' in View sidebar. +### Create a View -![image](https://user-images.githubusercontent.com/35857179/163353610-ae85967c-91ac-404f-b3b3-bd122e09f492.png) +Click '+' in View-menu sidebar, as shown in <3>. ### Rename a View -Hover the target View, click the icon and enter the new name. +Double click on `view-name`, edit, . -![image](https://user-images.githubusercontent.com/35857179/163353802-1da52cec-ae17-4ced-8679-62d7180683ec.png) + ### Delete a View -Hover the target View and click the delete icon. +Hover the target View and click the delete icon, as shown in <2>. -You cannot delete the very first Grid View. +You cannot delete the very first Grid View (termed as `Default view`). -![image](https://user-images.githubusercontent.com/35857179/163359795-f4420402-b2a6-41d8-b48c-f0dea8b9abbe.png) + ### Duplicate a View -Hover the target View and click the icon and enter the new name. +Hover the target View and click the copy icon, as shown in <2>. -![image](https://user-images.githubusercontent.com/35857179/163353865-7275499e-c685-44f4-906c-ba08f0ee419e.png) + ### Reorder a View -Hover the target View and re-order it as needed by dragging and dropping the drag icon. +Hover the target View and re-order it as needed by drag-drop the drag icon, as shown in <1>. -![image](https://user-images.githubusercontent.com/35857179/163359674-c4aeff74-1cb4-498d-b79c-c6ddf84ad352.png) +