From 579548cd0361d01026f18766839cf045b74bff45 Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Mon, 23 Sep 2024 15:20:49 +0530 Subject: [PATCH 01/22] Fix anchor tag in 1.x.x --- .../version-1.x.x/data-sources/appwrite.md | 2 +- .../version-1.x.x/data-sources/bigquery.md | 2 +- .../version-1.x.x/data-sources/google.sheets.md | 10 +++++----- .../version-1.x.x/widgets/kanban-board.md | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/versioned_docs/version-1.x.x/data-sources/appwrite.md b/docs/versioned_docs/version-1.x.x/data-sources/appwrite.md index d3c7b42d41..e26f3869a4 100644 --- a/docs/versioned_docs/version-1.x.x/data-sources/appwrite.md +++ b/docs/versioned_docs/version-1.x.x/data-sources/appwrite.md @@ -43,7 +43,7 @@ Query results can be transformed using Transformations. Read our **Transformatio 1. **[List documents](#list-documents)** 2. **[Get document](#get-document)** -3. **[Create document](#create-document)** +3. **[Create document](#add-document-to-collection)** 4. **[Update document](#update-document)** 5. **[Delete document](#delete-document)** 6. **[Bulk update using document id](#bulk-update-using-document-id)** diff --git a/docs/versioned_docs/version-1.x.x/data-sources/bigquery.md b/docs/versioned_docs/version-1.x.x/data-sources/bigquery.md index e3e29b8d4c..4cbd4dd27b 100644 --- a/docs/versioned_docs/version-1.x.x/data-sources/bigquery.md +++ b/docs/versioned_docs/version-1.x.x/data-sources/bigquery.md @@ -58,7 +58,7 @@ Query results can be transformed using transformations. Read our transformations ## Supported operations -- [List Datasets](#list-datatsets) +- [List Datasets](#list-datasets) - [List Tables](#list-tables) diff --git a/docs/versioned_docs/version-1.x.x/data-sources/google.sheets.md b/docs/versioned_docs/version-1.x.x/data-sources/google.sheets.md index 2f8edae304..db2acf7e10 100644 --- a/docs/versioned_docs/version-1.x.x/data-sources/google.sheets.md +++ b/docs/versioned_docs/version-1.x.x/data-sources/google.sheets.md @@ -36,11 +36,11 @@ You can create a Google Sheets data source with one of either of the two permiss Using Google sheets data source you can perform several operations from your applications like: - 1. **[Read data from a sheet](/docs/data-sources/google.sheets#read-data-from-a-sheet)** - 2. **[Append data to a sheet](/docs/data-sources/google.sheets#append-data-to-a-sheet)** - 3. **[Update single row of a sheet](/docs/data-sources/google.sheets#update-single-row-of-a-sheet)** - 4. **[Delete row from a sheet](/docs/data-sources/google.sheets#delete-row-from-a-sheet)** - 5. **[Get spreadsheet info](/docs/data-sources/google.sheets#get-spreadsheet-info)** + 1. **[Read data from a sheet](#read-data-from-a-sheet)** + 2. **[Append data to a sheet](#append-data-to-a-sheet)** + 3. **[Update single row of a sheet](#update-single-row-of-a-sheet)** + 4. **[Delete row from a sheet](#delete-row-from-a-sheet)** + 5. **[Get spreadsheet info](#get-spreadsheet-info)** ### Read data from a sheet diff --git a/docs/versioned_docs/version-1.x.x/widgets/kanban-board.md b/docs/versioned_docs/version-1.x.x/widgets/kanban-board.md index 5489b4330d..c5cf7b23ab 100644 --- a/docs/versioned_docs/version-1.x.x/widgets/kanban-board.md +++ b/docs/versioned_docs/version-1.x.x/widgets/kanban-board.md @@ -17,11 +17,11 @@ Kanban widget allows you to visually organize and prioritize your tasks with a t To add an event, click on the widget handle to open the widget properties on the right sidebar. Go to the **Events** section and click on **Add handler**. -- **[Card added](#card-added)** -- **[Card removed](#card-removed)** -- **[Card moved](#card-moved)** -- **[Card selected](#card-selected)** -- **[Card updated](#card-updated)** +- **Card added** +- **Card removed** +- **Card moved** +- **Card selected** +- **Card updated** Just like any other event on ToolJet, you can set multiple handlers for any of the above mentioned events. From c7efaa9a77ef7ecee01808c2330142dc4826ca7a Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Mon, 23 Sep 2024 15:38:17 +0530 Subject: [PATCH 02/22] fix broken anchor in 2.68.0 --- .../version-2.68.0/widgets/table.md | 34 +++++++++---------- .../version-2.68.0/widgets/table/columns.md | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/versioned_docs/version-2.68.0/widgets/table.md b/docs/versioned_docs/version-2.68.0/widgets/table.md index e17e584d16..85ac21924d 100644 --- a/docs/versioned_docs/version-2.68.0/widgets/table.md +++ b/docs/versioned_docs/version-2.68.0/widgets/table.md @@ -25,11 +25,11 @@ The table data can be filtered using the Filter data option on its top-left. You - **less than** - **less than or equal to** -You also have the option to **[hide the filter button](/docs/widgets/table#show-filter-button)** in the table properties. +You also have the option to **hide the filter button** in the table properties. ### Search -At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **[show/hide the search box](/docs/widgets/table#show-search-box)** from the table from the table properties. +At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **show/hide the search box** from the table from the table properties. :::tip You can use the `Tab` key to navigate through cells on the table. @@ -37,11 +37,11 @@ You can use the `Tab` key to navigate through cells on the table. ### Pagination -The table component supports both **[client-side pagination](/docs/widgets/table#client-side-pagination)** and **[server-side pagination](/docs/widgets/table#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **[hide the pagination buttons](/docs/widgets/table#show-pagination-buttons)** in the table properties. +The table component supports both **[client-side pagination](/docs/widgets/table#client-side-pagination)** and **[server-side pagination](/docs/widgets/table#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **hide the pagination buttons** in the table properties. ### Add New Rows -Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](/docs/widgets/table#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs//widgets/table#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. +Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. :::info At present, it is not possible to include columns of type Image when adding a new row to the table. @@ -60,7 +60,7 @@ The name of the downloaded file will be in the following format:
`Tablename_DD-MM-YYYY_HH-mm.filetype`

Example: Customers_25-03-2022_16-10.csv -You have the option to **[hide the download button](/docs/widgets/table#show-download-button)** in the table properties. +You have the option to **[hide the download button](#show-download-button)** in the table properties. :::tip You can utilize **[Component Specific Actions](#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. @@ -68,11 +68,11 @@ You can utilize **[Component Specific Actions](#component-specific-actions-csa)* ### Hide Columns -You can choose which columns to show or hide in the table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the table properties. +You can choose which columns to show or hide in the table using this option. You also have the option to **hide the column selector button** in the table properties. ### Sorting -You can sort the table data in ascending or descending order by clicking on the column header. You can also **[disable the sorting](/docs/widgets/table#disable-sorting)** from the table properties. +You can sort the table data in ascending or descending order by clicking on the column header. You can also **disable the sorting** from the table properties. ## Table Data @@ -405,16 +405,16 @@ If the data of a cell is changed, "save changes" button will be shown at the bot ## Events -- **[Row hovered](#row-hovered)** -- **[Row clicked](#row-clicked)** -- **[Save changes](#save-changes)** -- **[Cancel changes](#cancel-changes)** -- **[Page changed](#page-changed)** -- **[Search](#search)** -- **[Sort applied](#sort-applied)** -- **[Cell value changed](#cell-value-changed)** -- **[Filter changed](#filter-changed)** -- **[Add new rows](#add-new-rows)** +- **Row hovered** +- **Row clicked** +- **Save changes** +- **Cancel changes** +- **Page changed** +- **Search** +- **Sort applied** +- **Cell value changed** +- **Filter changed** +- **Add new rows** ### Allow Selection diff --git a/docs/versioned_docs/version-2.68.0/widgets/table/columns.md b/docs/versioned_docs/version-2.68.0/widgets/table/columns.md index 347208e5f7..832ad1cde6 100644 --- a/docs/versioned_docs/version-2.68.0/widgets/table/columns.md +++ b/docs/versioned_docs/version-2.68.0/widgets/table/columns.md @@ -464,7 +464,7 @@ On hovering on a column, you can see a delete icon on the right which can be use ### Hide columns -You can choose which columns to show or hide in the Table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the Table properties. +You can choose which columns to show or hide in the Table using this option. You also have the option to **hide the column selector button** in the Table properties. ## Make all columns editable From b87292d352ccfdba7e7c307d330740baf410b1cc Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Mon, 23 Sep 2024 15:44:00 +0530 Subject: [PATCH 03/22] Fix broken anchor in Next --- docs/docs/widgets/table.md | 34 +++++++++++++++--------------- docs/docs/widgets/table/columns.md | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/docs/widgets/table.md b/docs/docs/widgets/table.md index e17e584d16..f6d5fdde37 100644 --- a/docs/docs/widgets/table.md +++ b/docs/docs/widgets/table.md @@ -25,11 +25,11 @@ The table data can be filtered using the Filter data option on its top-left. You - **less than** - **less than or equal to** -You also have the option to **[hide the filter button](/docs/widgets/table#show-filter-button)** in the table properties. +You also have the option to **hide the filter button** in the table properties. ### Search -At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **[show/hide the search box](/docs/widgets/table#show-search-box)** from the table from the table properties. +At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **show/hide the search box** from the table from the table properties. :::tip You can use the `Tab` key to navigate through cells on the table. @@ -37,11 +37,11 @@ You can use the `Tab` key to navigate through cells on the table. ### Pagination -The table component supports both **[client-side pagination](/docs/widgets/table#client-side-pagination)** and **[server-side pagination](/docs/widgets/table#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **[hide the pagination buttons](/docs/widgets/table#show-pagination-buttons)** in the table properties. +The table component supports both **[client-side pagination](#client-side-pagination)** and **[server-side pagination](#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **hide the pagination buttons** in the table properties. ### Add New Rows -Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](/docs/widgets/table#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs//widgets/table#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. +Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. :::info At present, it is not possible to include columns of type Image when adding a new row to the table. @@ -60,7 +60,7 @@ The name of the downloaded file will be in the following format:
`Tablename_DD-MM-YYYY_HH-mm.filetype`

Example: Customers_25-03-2022_16-10.csv -You have the option to **[hide the download button](/docs/widgets/table#show-download-button)** in the table properties. +You have the option to **[hide the download button](#show-download-button)** in the table properties. :::tip You can utilize **[Component Specific Actions](#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. @@ -68,11 +68,11 @@ You can utilize **[Component Specific Actions](#component-specific-actions-csa)* ### Hide Columns -You can choose which columns to show or hide in the table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the table properties. +You can choose which columns to show or hide in the table using this option. You also have the option to **hide the column selector button** in the table properties. ### Sorting -You can sort the table data in ascending or descending order by clicking on the column header. You can also **[disable the sorting](/docs/widgets/table#disable-sorting)** from the table properties. +You can sort the table data in ascending or descending order by clicking on the column header. You can also **disable the sorting** from the table properties. ## Table Data @@ -405,16 +405,16 @@ If the data of a cell is changed, "save changes" button will be shown at the bot ## Events -- **[Row hovered](#row-hovered)** -- **[Row clicked](#row-clicked)** -- **[Save changes](#save-changes)** -- **[Cancel changes](#cancel-changes)** -- **[Page changed](#page-changed)** -- **[Search](#search)** -- **[Sort applied](#sort-applied)** -- **[Cell value changed](#cell-value-changed)** -- **[Filter changed](#filter-changed)** -- **[Add new rows](#add-new-rows)** +- **Row hovered** +- **Row clicked** +- **Save changes** +- **Cancel changes** +- **Page changed** +- **Search** +- **Sort applied** +- **Cell value changed** +- **Filter changed** +- **Add new rows** ### Allow Selection diff --git a/docs/docs/widgets/table/columns.md b/docs/docs/widgets/table/columns.md index 347208e5f7..832ad1cde6 100644 --- a/docs/docs/widgets/table/columns.md +++ b/docs/docs/widgets/table/columns.md @@ -464,7 +464,7 @@ On hovering on a column, you can see a delete icon on the right which can be use ### Hide columns -You can choose which columns to show or hide in the Table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the Table properties. +You can choose which columns to show or hide in the Table using this option. You also have the option to **hide the column selector button** in the Table properties. ## Make all columns editable From f54799bfd05e14854e610b9d1ec6d77e213a702d Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Mon, 23 Sep 2024 15:56:00 +0530 Subject: [PATCH 04/22] Fix broken anchor in 2.50.0 --- .../version-2.50.0-LTS/widgets/table.md | 34 +++++++++---------- .../widgets/table/columns.md | 2 +- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md b/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md index e17e584d16..236dce3d2f 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md +++ b/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md @@ -25,11 +25,11 @@ The table data can be filtered using the Filter data option on its top-left. You - **less than** - **less than or equal to** -You also have the option to **[hide the filter button](/docs/widgets/table#show-filter-button)** in the table properties. +You also have the option to **hide the filter button** in the table properties. ### Search -At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **[show/hide the search box](/docs/widgets/table#show-search-box)** from the table from the table properties. +At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **show/hide the search box** from the table from the table properties. :::tip You can use the `Tab` key to navigate through cells on the table. @@ -37,11 +37,11 @@ You can use the `Tab` key to navigate through cells on the table. ### Pagination -The table component supports both **[client-side pagination](/docs/widgets/table#client-side-pagination)** and **[server-side pagination](/docs/widgets/table#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **[hide the pagination buttons](/docs/widgets/table#show-pagination-buttons)** in the table properties. +The table component supports both **[client-side pagination](#client-side-pagination)** and **[server-side pagination](#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **hide the pagination buttons** in the table properties. ### Add New Rows -Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](/docs/widgets/table#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs//widgets/table#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. +Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs/widgets/table#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. :::info At present, it is not possible to include columns of type Image when adding a new row to the table. @@ -60,7 +60,7 @@ The name of the downloaded file will be in the following format:
`Tablename_DD-MM-YYYY_HH-mm.filetype`

Example: Customers_25-03-2022_16-10.csv -You have the option to **[hide the download button](/docs/widgets/table#show-download-button)** in the table properties. +You have the option to **[hide the download button](#show-download-button)** in the table properties. :::tip You can utilize **[Component Specific Actions](#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. @@ -68,11 +68,11 @@ You can utilize **[Component Specific Actions](#component-specific-actions-csa)* ### Hide Columns -You can choose which columns to show or hide in the table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the table properties. +You can choose which columns to show or hide in the table using this option. You also have the option to **hide the column selector button** in the table properties. ### Sorting -You can sort the table data in ascending or descending order by clicking on the column header. You can also **[disable the sorting](/docs/widgets/table#disable-sorting)** from the table properties. +You can sort the table data in ascending or descending order by clicking on the column header. You can also **disable the sorting** from the table properties. ## Table Data @@ -405,16 +405,16 @@ If the data of a cell is changed, "save changes" button will be shown at the bot ## Events -- **[Row hovered](#row-hovered)** -- **[Row clicked](#row-clicked)** -- **[Save changes](#save-changes)** -- **[Cancel changes](#cancel-changes)** -- **[Page changed](#page-changed)** -- **[Search](#search)** -- **[Sort applied](#sort-applied)** -- **[Cell value changed](#cell-value-changed)** -- **[Filter changed](#filter-changed)** -- **[Add new rows](#add-new-rows)** +- **Row hovered** +- **Row clicked** +- **Save changes** +- **Cancel changes** +- **Page changed** +- **Search** +- **Sort applied** +- **Cell value changed** +- **Filter changed** +- **Add new rows** ### Allow Selection diff --git a/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md b/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md index 347208e5f7..832ad1cde6 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md +++ b/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md @@ -464,7 +464,7 @@ On hovering on a column, you can see a delete icon on the right which can be use ### Hide columns -You can choose which columns to show or hide in the Table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the Table properties. +You can choose which columns to show or hide in the Table using this option. You also have the option to **hide the column selector button** in the Table properties. ## Make all columns editable From 57f9c962f584e19bafecbb25e17a079de41cff0f Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Wed, 20 Nov 2024 14:40:03 +0530 Subject: [PATCH 05/22] Fixed all the internal broken links --- docs/docs/how-to/access-users-location.md | 2 +- docs/docs/how-to/use-custom-parameters.md | 2 +- docs/docs/marketplace/plugins/pinecone.md | 2 +- docs/docs/project-overview/release-notes.md | 2 +- docs/docs/tooljet-db/database-editor.md | 2 +- docs/docs/tooljet-db/tooljet-database.md | 2 +- docs/docs/widgets/table.md | 36 +++++++++---------- docs/docs/widgets/table/columns.md | 2 +- .../how-to/access-users-location.md | 2 +- .../how-to/use-custom-parameters.md | 2 +- .../version-2.50.0-LTS/setup/digitalocean.md | 4 +-- .../version-2.50.0-LTS/setup/ecs.md | 2 +- .../setup/google-cloud-run.md | 4 +-- .../tooljet-db/tooljet-database.md | 2 +- .../version-2.50.0-LTS/widgets/table.md | 36 +++++++++---------- .../widgets/table/columns.md | 2 +- .../how-to/access-users-location.md | 2 +- .../how-to/use-custom-parameters.md | 2 +- .../marketplace/plugins/pinecone.md | 2 +- .../project-overview/release-notes.md | 2 +- .../tooljet-db/database-editor.md | 2 +- .../version-3.0.0-LTS/widgets/table.md | 36 +++++++++---------- .../widgets/table/columns.md | 2 +- 23 files changed, 76 insertions(+), 76 deletions(-) diff --git a/docs/docs/how-to/access-users-location.md b/docs/docs/how-to/access-users-location.md index c97ecd5a1b..1341dea5ef 100644 --- a/docs/docs/how-to/access-users-location.md +++ b/docs/docs/how-to/access-users-location.md @@ -17,7 +17,7 @@ To uphold user privacy, the Geolocation API requests permission before locating How to: Access User's Location -2. In the app editor, navigate to the query panel at the bottom and create a **[RunJS query](/docs/data-sources/run-js/#runjs-query-examples)** by selecting **Run JavaScript Code** as the datasource: +2. In the app editor, navigate to the query panel at the bottom and create a **[RunJS query](/docs/data-sources/run-js/#runjs-example-queries)** by selecting **Run JavaScript Code** as the datasource:
How to: Access User's Location
diff --git a/docs/docs/how-to/use-custom-parameters.md b/docs/docs/how-to/use-custom-parameters.md index a0b0bd9c20..369bb32ef4 100644 --- a/docs/docs/how-to/use-custom-parameters.md +++ b/docs/docs/how-to/use-custom-parameters.md @@ -91,7 +91,7 @@ In this example, we will demonstrate how to use custom parameters in a query by 3. **Execute the REST API query and observe the new row created in the ToolJetDB table.** -**Note:** You can also use parameters in JavaScript queries. Learn more about [JS Query Parameter](/docs/data-sources/run-js/#js-parameters). +**Note:** You can also use parameters in JavaScript queries. Learn more about [JS Query Parameter](/docs/data-sources/run-js/#parameters-in-run-javascript-code).
How to: use custom parameters diff --git a/docs/docs/marketplace/plugins/pinecone.md b/docs/docs/marketplace/plugins/pinecone.md index 34e052f81c..13bbe81ad5 100644 --- a/docs/docs/marketplace/plugins/pinecone.md +++ b/docs/docs/marketplace/plugins/pinecone.md @@ -24,7 +24,7 @@ For connecting to Pinecone, the following credential is required: - **[List Vector IDs](#list-vector-ids)** - **[Fetch Vectors](#fetch-vectors)** - **[Upsert Vectors](#upsert-vectors)** -- **[Update Vector](#update-vector)** +- **[Update Vector](#update-a-vector)** - **[Delete Vectors](#delete-vectors)** - **[Query Vectors](#query-vectors)** diff --git a/docs/docs/project-overview/release-notes.md b/docs/docs/project-overview/release-notes.md index 8b740bd3bd..723307a7f0 100644 --- a/docs/docs/project-overview/release-notes.md +++ b/docs/docs/project-overview/release-notes.md @@ -30,7 +30,7 @@ This document outlines the key improvements introduced in ToolJet 3.0, a major u ## ToolJet Database (TJ DB) -1. **[Custom primary key](/docs/tooljet-db/database-editor/#primary-key)** and **[foreign key support](/docs/tooljet-db/database-editor/#foreign-key)** +1. **[Custom primary key](/docs/tooljet-db/constraints/primary-key)** and **[foreign key support](/docs/tooljet-db/constraints/foreign-key)** 2. Support for more data types for advanced use cases 3. **[SQL mode](/docs/tooljet-db/querying-tooljet-db#sql-editor)** for complex querying 4. Bulk upload using CSV diff --git a/docs/docs/tooljet-db/database-editor.md b/docs/docs/tooljet-db/database-editor.md index e730e8d5da..02aa87cfcb 100644 --- a/docs/docs/tooljet-db/database-editor.md +++ b/docs/docs/tooljet-db/database-editor.md @@ -32,7 +32,7 @@ To create a new table in the ToolJet Database: | **Column name** | Enter a unique name for the column. | | **Data type** | Select the appropriate data type for the column from the dropdown menu. For more information on available data types, see the [Supported Data Types](/docs/tooljet-db/data-types#supported-data-types) section. | | **Default value (optional)** | Specify any default value to be assigned to the column. If left blank, the column will allow null values. | -| **Primary Key** | Check this box to designate the column as the [Primary Key](#primary-key). Multiple columns can be selected, creating a composite primary key. | +| **Primary Key** | Check this box to designate the column as the [Primary Key](/docs/tooljet-db/constraints/primary-key). Multiple columns can be selected, creating a composite primary key. | | **NULL/NOT NULL toggle** | Use this toggle to determine whether the column should allow null values or require a value. By default, null values are permitted. | | **Unique toggle** | Click the kebab menu and toggle the **Unique** option to add a unique constraint to the column, ensuring all values are distinct. By default, duplicate values are allowed. | | **Foreign Key** | Click the **+ Add Relation** button to establish a foreign key relationship, linking this column to a primary key or unique constraint column(s) in another table. | diff --git a/docs/docs/tooljet-db/tooljet-database.md b/docs/docs/tooljet-db/tooljet-database.md index 54e03a81ea..53b9a2281c 100644 --- a/docs/docs/tooljet-db/tooljet-database.md +++ b/docs/docs/tooljet-db/tooljet-database.md @@ -17,7 +17,7 @@ Requires: - PostgREST server - Additional configuration for ToolJet server -This feature is only enabled if [`ENABLE_TOOLJET_DB`](/docs/setup/env-vars#enable-tooljet-database--optional-) is set to `true`. +This feature is only enabled if [`ENABLE_TOOLJET_DB`](/docs/setup/env-vars#enable-tooljet-database-required) is set to `true`.
diff --git a/docs/docs/widgets/table.md b/docs/docs/widgets/table.md index b34d2368d5..e8f5ab618c 100644 --- a/docs/docs/widgets/table.md +++ b/docs/docs/widgets/table.md @@ -25,11 +25,11 @@ The table data can be filtered using the Filter data option on its top-left. You - **less than** - **less than or equal to** -You also have the option to **hide the filter button** in the table properties. +You also have the option to **[hide the filter button](/docs/widgets/table/table-properties#enable-filtering)** in the table properties. ### Search -At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **show/hide the search box** from the table from the table properties. +At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **[show/hide the search box](/docs/widgets/table/table-properties#show-search)** from the table from the table properties. :::tip You can use the `Tab` key to navigate through cells on the table. @@ -37,11 +37,11 @@ You can use the `Tab` key to navigate through cells on the table. ### Pagination -The table component supports both **[client-side pagination](#client-side-pagination)** and **[server-side pagination](#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **hide the pagination buttons** in the table properties. +The table component supports both **[client-side pagination](/docs/widgets/table/table-properties#pagination)** and **[server-side pagination](/docs/widgets/table/serverside-operations/pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **[hide the pagination buttons](/docs/widgets/table/table-properties#pagination)** in the table properties. ### Add New Rows -Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. +Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](/docs/widgets/table/table-csa-and-variables#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs/widgets/table/table-properties#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. :::info At present, it is not possible to include columns of type Image when adding a new row to the table. @@ -60,19 +60,19 @@ The name of the downloaded file will be in the following format:
`Tablename_DD-MM-YYYY_HH-mm.filetype`

Example: Customers_25-03-2022_16-10.csv -You have the option to **[hide the download button](#show-download-button)** in the table properties. +You have the option to **[hide the download button](/docs/widgets/table/table-properties#show-download-button)** in the table properties. :::tip -You can utilize **[Component Specific Actions](#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. +You can utilize **[Component Specific Actions](/docs/widgets/table/table-csa-and-variables#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. ::: ### Hide Columns -You can choose which columns to show or hide in the table using this option. You also have the option to **hide the column selector button** in the table properties. +You can choose which columns to show or hide in the table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table/table-columns)** in the table properties. ### Sorting -You can sort the table data in ascending or descending order by clicking on the column header. You can also **disable the sorting** from the table properties. +You can sort the table data in ascending or descending order by clicking on the column header. You can also **[disable the sorting](/docs/widgets/table/table-properties#enable-column-sorting)** from the table properties. ## Table Data @@ -405,16 +405,16 @@ If the data of a cell is changed, "save changes" button will be shown at the bot ## Events -- **Row hovered** -- **Row clicked** -- **Save changes** -- **Cancel changes** -- **Page changed** -- **Search** -- **Sort applied** -- **Cell value changed** -- **Filter changed** -- **Add new rows** +- **[Row hovered](/docs/widgets/table/table-properties#row-hovered)** +- **[Row clicked](/docs/widgets/table/table-properties#row-clicked)** +- **[Save changes](/docs/widgets/table/table-properties#save-changes)** +- **[Cancel changes](/docs/widgets/table/table-properties#cancel-changes)** +- **[Page changed](/docs/widgets/table/table-properties#page-changed)** +- **[Search](/docs/widgets/table/table-properties#search)** +- **[Sort applied](/docs/widgets/table/table-properties#sort-applied)** +- **[Cell value changed](/docs/widgets/table/table-properties#cell-value-changed)** +- **[Filter changed](/docs/widgets/table/table-properties#filter-changed)** +- **[Add new rows](/docs/widgets/table/table-properties#add-new-rows)** ### Allow Selection diff --git a/docs/docs/widgets/table/columns.md b/docs/docs/widgets/table/columns.md index 832ad1cde6..610f653e65 100644 --- a/docs/docs/widgets/table/columns.md +++ b/docs/docs/widgets/table/columns.md @@ -464,7 +464,7 @@ On hovering on a column, you can see a delete icon on the right which can be use ### Hide columns -You can choose which columns to show or hide in the Table using this option. You also have the option to **hide the column selector button** in the Table properties. +You can choose which columns to show or hide in the Table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table/table-properties#hide-column-selector-button)** in the Table properties. ## Make all columns editable diff --git a/docs/versioned_docs/version-2.50.0-LTS/how-to/access-users-location.md b/docs/versioned_docs/version-2.50.0-LTS/how-to/access-users-location.md index c97ecd5a1b..1341dea5ef 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/how-to/access-users-location.md +++ b/docs/versioned_docs/version-2.50.0-LTS/how-to/access-users-location.md @@ -17,7 +17,7 @@ To uphold user privacy, the Geolocation API requests permission before locating How to: Access User's Location
-2. In the app editor, navigate to the query panel at the bottom and create a **[RunJS query](/docs/data-sources/run-js/#runjs-query-examples)** by selecting **Run JavaScript Code** as the datasource: +2. In the app editor, navigate to the query panel at the bottom and create a **[RunJS query](/docs/data-sources/run-js/#runjs-example-queries)** by selecting **Run JavaScript Code** as the datasource:
How to: Access User's Location
diff --git a/docs/versioned_docs/version-2.50.0-LTS/how-to/use-custom-parameters.md b/docs/versioned_docs/version-2.50.0-LTS/how-to/use-custom-parameters.md index a0b0bd9c20..369bb32ef4 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/how-to/use-custom-parameters.md +++ b/docs/versioned_docs/version-2.50.0-LTS/how-to/use-custom-parameters.md @@ -91,7 +91,7 @@ In this example, we will demonstrate how to use custom parameters in a query by 3. **Execute the REST API query and observe the new row created in the ToolJetDB table.** -**Note:** You can also use parameters in JavaScript queries. Learn more about [JS Query Parameter](/docs/data-sources/run-js/#js-parameters). +**Note:** You can also use parameters in JavaScript queries. Learn more about [JS Query Parameter](/docs/data-sources/run-js/#parameters-in-run-javascript-code).
How to: use custom parameters diff --git a/docs/versioned_docs/version-2.50.0-LTS/setup/digitalocean.md b/docs/versioned_docs/version-2.50.0-LTS/setup/digitalocean.md index b983e69421..8b4583647f 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/setup/digitalocean.md +++ b/docs/versioned_docs/version-2.50.0-LTS/setup/digitalocean.md @@ -92,13 +92,13 @@ You can learn more about this feature [here](/docs/tooljet-db/tooljet-database). Follow the steps below to deploy ToolJet Database on DigitalOcean: -1. If you are using dev database within ToolJet deployment, upgrade it to managed database. You could also add a separate database, if you intent use a different database, please refer the [environment variables](/docs/setup/env-vars#enable-tooljet-database--optional-) for additional env variables. +1. If you are using dev database within ToolJet deployment, upgrade it to managed database. You could also add a separate database, if you intent use a different database, please refer the [environment variables](/docs/setup/env-vars) for additional env variables. 2. Create a new app for PostgREST server. You can opt for docker hub to deploy PostgREST image of version `10.1.x`. ToolJet - Deploy on DigitalOcean - PostgREST resource -3. Update the [environment variables](/docs/setup/env-vars#postgrest-server-optional) for PostgREST and expose the HTTP port `3000`. +3. Update the [environment variables](/docs/setup/env-vars) for PostgREST and expose the HTTP port `3000`. ToolJet - Deploy on DigitalOcean - PostgREST environment variables diff --git a/docs/versioned_docs/version-2.50.0-LTS/setup/ecs.md b/docs/versioned_docs/version-2.50.0-LTS/setup/ecs.md index 657f8f4bc4..3ef04e50fb 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/setup/ecs.md +++ b/docs/versioned_docs/version-2.50.0-LTS/setup/ecs.md @@ -133,7 +133,7 @@ Follow the steps below to deploy PostgREST on a ECS cluster.
- Under environmental variable please add corresponding PostgREST env variables. You can also refer [env variable](/docs/setup/env-vars/#postgrest-server-optional). + Under environmental variable please add corresponding PostgREST env variables. You can also refer [env variable](/docs/setup/env-vars).
diff --git a/docs/versioned_docs/version-2.50.0-LTS/setup/google-cloud-run.md b/docs/versioned_docs/version-2.50.0-LTS/setup/google-cloud-run.md index f9d555802f..a2985f2e3d 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/setup/google-cloud-run.md +++ b/docs/versioned_docs/version-2.50.0-LTS/setup/google-cloud-run.md @@ -113,7 +113,7 @@ To use ToolJet Database, you'd have to set up and deploy PostgREST server which port-and-capacity-postgrest
-5. Under environmental variable please add corresponding ToolJet database env variables. You can also refer [env variable](/docs/setup/env-vars/#enable-tooljet-database--optional-). +5. Under environmental variable please add corresponding ToolJet database env variables. You can also refer [env variable](/docs/setup/env-vars). 6. Please go to connection tab. Under Cloud SQL instance please select the PostgreSQL database which you have set-up for ToolJet application or the separate PostgreSQL database created respective to ToolJet Database from the drop-down option. @@ -131,7 +131,7 @@ Once the Service is created and live, to make the Cloud Service URL public. Ple -7. Additional Environmental variable to be added to ToolJet application or ToolJet Server connect to PostgREST server. You can also refer env variable [**here**](./env-vars/#enable-tooljet-database--optional-) +7. Additional Environmental variable to be added to ToolJet application or ToolJet Server connect to PostgREST server. You can also refer env variable [**here**](/docs/setup/env-vars)
diff --git a/docs/versioned_docs/version-2.50.0-LTS/tooljet-db/tooljet-database.md b/docs/versioned_docs/version-2.50.0-LTS/tooljet-db/tooljet-database.md index d0860f5db6..37dff4df22 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/tooljet-db/tooljet-database.md +++ b/docs/versioned_docs/version-2.50.0-LTS/tooljet-db/tooljet-database.md @@ -17,7 +17,7 @@ Requires: - PostgREST server - Additional configuration for ToolJet server -This feature is only enabled if [`ENABLE_TOOLJET_DB`](/docs/setup/env-vars#enable-tooljet-database--optional-) is set to `true`. +This feature is only enabled if [`ENABLE_TOOLJET_DB`](/docs/setup/env-vars) is set to `true`.
diff --git a/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md b/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md index 1261b5b7c1..e8f5ab618c 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md +++ b/docs/versioned_docs/version-2.50.0-LTS/widgets/table.md @@ -25,11 +25,11 @@ The table data can be filtered using the Filter data option on its top-left. You - **less than** - **less than or equal to** -You also have the option to **hide the filter button** in the table properties. +You also have the option to **[hide the filter button](/docs/widgets/table/table-properties#enable-filtering)** in the table properties. ### Search -At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **show/hide the search box** from the table from the table properties. +At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **[show/hide the search box](/docs/widgets/table/table-properties#show-search)** from the table from the table properties. :::tip You can use the `Tab` key to navigate through cells on the table. @@ -37,11 +37,11 @@ You can use the `Tab` key to navigate through cells on the table. ### Pagination -The table component supports both **[client-side pagination](#client-side-pagination)** and **[server-side pagination](#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **hide the pagination buttons** in the table properties. +The table component supports both **[client-side pagination](/docs/widgets/table/table-properties#pagination)** and **[server-side pagination](/docs/widgets/table/serverside-operations/pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **[hide the pagination buttons](/docs/widgets/table/table-properties#pagination)** in the table properties. ### Add New Rows -Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs/widgets/table#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. +Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](/docs/widgets/table/table-csa-and-variables#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs/widgets/table/table-properties#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. :::info At present, it is not possible to include columns of type Image when adding a new row to the table. @@ -60,19 +60,19 @@ The name of the downloaded file will be in the following format:
`Tablename_DD-MM-YYYY_HH-mm.filetype`

Example: Customers_25-03-2022_16-10.csv -You have the option to **[hide the download button](#show-download-button)** in the table properties. +You have the option to **[hide the download button](/docs/widgets/table/table-properties#show-download-button)** in the table properties. :::tip -You can utilize **[Component Specific Actions](#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. +You can utilize **[Component Specific Actions](/docs/widgets/table/table-csa-and-variables#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. ::: ### Hide Columns -You can choose which columns to show or hide in the table using this option. You also have the option to **hide the column selector button** in the table properties. +You can choose which columns to show or hide in the table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table/table-columns)** in the table properties. ### Sorting -You can sort the table data in ascending or descending order by clicking on the column header. You can also **disable the sorting** from the table properties. +You can sort the table data in ascending or descending order by clicking on the column header. You can also **[disable the sorting](/docs/widgets/table/table-properties#enable-column-sorting)** from the table properties. ## Table Data @@ -405,16 +405,16 @@ If the data of a cell is changed, "save changes" button will be shown at the bot ## Events -- **Row hovered** -- **Row clicked** -- **Save changes** -- **Cancel changes** -- **Page changed** -- **Search** -- **Sort applied** -- **Cell value changed** -- **Filter changed** -- **Add new rows** +- **[Row hovered](/docs/widgets/table/table-properties#row-hovered)** +- **[Row clicked](/docs/widgets/table/table-properties#row-clicked)** +- **[Save changes](/docs/widgets/table/table-properties#save-changes)** +- **[Cancel changes](/docs/widgets/table/table-properties#cancel-changes)** +- **[Page changed](/docs/widgets/table/table-properties#page-changed)** +- **[Search](/docs/widgets/table/table-properties#search)** +- **[Sort applied](/docs/widgets/table/table-properties#sort-applied)** +- **[Cell value changed](/docs/widgets/table/table-properties#cell-value-changed)** +- **[Filter changed](/docs/widgets/table/table-properties#filter-changed)** +- **[Add new rows](/docs/widgets/table/table-properties#add-new-rows)** ### Allow Selection diff --git a/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md b/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md index 832ad1cde6..610f653e65 100644 --- a/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md +++ b/docs/versioned_docs/version-2.50.0-LTS/widgets/table/columns.md @@ -464,7 +464,7 @@ On hovering on a column, you can see a delete icon on the right which can be use ### Hide columns -You can choose which columns to show or hide in the Table using this option. You also have the option to **hide the column selector button** in the Table properties. +You can choose which columns to show or hide in the Table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table/table-properties#hide-column-selector-button)** in the Table properties. ## Make all columns editable diff --git a/docs/versioned_docs/version-3.0.0-LTS/how-to/access-users-location.md b/docs/versioned_docs/version-3.0.0-LTS/how-to/access-users-location.md index c97ecd5a1b..1341dea5ef 100644 --- a/docs/versioned_docs/version-3.0.0-LTS/how-to/access-users-location.md +++ b/docs/versioned_docs/version-3.0.0-LTS/how-to/access-users-location.md @@ -17,7 +17,7 @@ To uphold user privacy, the Geolocation API requests permission before locating How to: Access User's Location
-2. In the app editor, navigate to the query panel at the bottom and create a **[RunJS query](/docs/data-sources/run-js/#runjs-query-examples)** by selecting **Run JavaScript Code** as the datasource: +2. In the app editor, navigate to the query panel at the bottom and create a **[RunJS query](/docs/data-sources/run-js/#runjs-example-queries)** by selecting **Run JavaScript Code** as the datasource:
How to: Access User's Location
diff --git a/docs/versioned_docs/version-3.0.0-LTS/how-to/use-custom-parameters.md b/docs/versioned_docs/version-3.0.0-LTS/how-to/use-custom-parameters.md index a0b0bd9c20..369bb32ef4 100644 --- a/docs/versioned_docs/version-3.0.0-LTS/how-to/use-custom-parameters.md +++ b/docs/versioned_docs/version-3.0.0-LTS/how-to/use-custom-parameters.md @@ -91,7 +91,7 @@ In this example, we will demonstrate how to use custom parameters in a query by 3. **Execute the REST API query and observe the new row created in the ToolJetDB table.** -**Note:** You can also use parameters in JavaScript queries. Learn more about [JS Query Parameter](/docs/data-sources/run-js/#js-parameters). +**Note:** You can also use parameters in JavaScript queries. Learn more about [JS Query Parameter](/docs/data-sources/run-js/#parameters-in-run-javascript-code).
How to: use custom parameters diff --git a/docs/versioned_docs/version-3.0.0-LTS/marketplace/plugins/pinecone.md b/docs/versioned_docs/version-3.0.0-LTS/marketplace/plugins/pinecone.md index f0e5299f20..89cab5a1cb 100644 --- a/docs/versioned_docs/version-3.0.0-LTS/marketplace/plugins/pinecone.md +++ b/docs/versioned_docs/version-3.0.0-LTS/marketplace/plugins/pinecone.md @@ -24,7 +24,7 @@ For connecting to Pinecone, the following credential is required: - **[List Vector IDs](#list-vector-ids)** - **[Fetch Vectors](#fetch-vectors)** - **[Upsert Vectors](#upsert-vectors)** -- **[Update Vector](#update-vector)** +- **[Update Vector](#update-a-vector)** - **[Delete Vectors](#delete-vectors)** - **[Query Vectors](#query-vectors)** diff --git a/docs/versioned_docs/version-3.0.0-LTS/project-overview/release-notes.md b/docs/versioned_docs/version-3.0.0-LTS/project-overview/release-notes.md index 8b740bd3bd..723307a7f0 100644 --- a/docs/versioned_docs/version-3.0.0-LTS/project-overview/release-notes.md +++ b/docs/versioned_docs/version-3.0.0-LTS/project-overview/release-notes.md @@ -30,7 +30,7 @@ This document outlines the key improvements introduced in ToolJet 3.0, a major u ## ToolJet Database (TJ DB) -1. **[Custom primary key](/docs/tooljet-db/database-editor/#primary-key)** and **[foreign key support](/docs/tooljet-db/database-editor/#foreign-key)** +1. **[Custom primary key](/docs/tooljet-db/constraints/primary-key)** and **[foreign key support](/docs/tooljet-db/constraints/foreign-key)** 2. Support for more data types for advanced use cases 3. **[SQL mode](/docs/tooljet-db/querying-tooljet-db#sql-editor)** for complex querying 4. Bulk upload using CSV diff --git a/docs/versioned_docs/version-3.0.0-LTS/tooljet-db/database-editor.md b/docs/versioned_docs/version-3.0.0-LTS/tooljet-db/database-editor.md index 43b0dd11fe..55da4b2288 100644 --- a/docs/versioned_docs/version-3.0.0-LTS/tooljet-db/database-editor.md +++ b/docs/versioned_docs/version-3.0.0-LTS/tooljet-db/database-editor.md @@ -32,7 +32,7 @@ To create a new table in the ToolJet Database: | **Column name** | Enter a unique name for the column. | | **Data type** | Select the appropriate data type for the column from the dropdown menu. For more information on available data types, see the [Supported Data Types](/docs/tooljet-db/data-types#supported-data-types) section. | | **Default value (optional)** | Specify any default value to be assigned to the column. If left blank, the column will allow null values. | -| **Primary Key** | Check this box to designate the column as the [Primary Key](#primary-key). Multiple columns can be selected, creating a composite primary key. | +| **Primary Key** | Check this box to designate the column as the [Primary Key](/docs/tooljet-db/constraints/primary-key). Multiple columns can be selected, creating a composite primary key. | | **NULL/NOT NULL toggle** | Use this toggle to determine whether the column should allow null values or require a value. By default, null values are permitted. | | **Unique toggle** | Click the kebab menu and toggle the **Unique** option to add a unique constraint to the column, ensuring all values are distinct. By default, duplicate values are allowed. | | **Foreign Key** | Click the **+ Add Relation** button to establish a foreign key relationship, linking this column to a primary key or unique constraint column(s) in another table. | diff --git a/docs/versioned_docs/version-3.0.0-LTS/widgets/table.md b/docs/versioned_docs/version-3.0.0-LTS/widgets/table.md index e17e584d16..304cf8b18c 100644 --- a/docs/versioned_docs/version-3.0.0-LTS/widgets/table.md +++ b/docs/versioned_docs/version-3.0.0-LTS/widgets/table.md @@ -25,11 +25,11 @@ The table data can be filtered using the Filter data option on its top-left. You - **less than** - **less than or equal to** -You also have the option to **[hide the filter button](/docs/widgets/table#show-filter-button)** in the table properties. +You also have the option to **[hide the filter button](/docs/widgets/table/table-properties#enable-filtering)** in the table properties. ### Search -At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **[show/hide the search box](/docs/widgets/table#show-search-box)** from the table from the table properties. +At the top-right corner of the table component, there is a search box that allows users to input keywords and search for rows within the table data. You can also **[show/hide the search box](/docs/widgets/table/table-properties#show-search)** from the table from the table properties. :::tip You can use the `Tab` key to navigate through cells on the table. @@ -37,11 +37,11 @@ You can use the `Tab` key to navigate through cells on the table. ### Pagination -The table component supports both **[client-side pagination](/docs/widgets/table#client-side-pagination)** and **[server-side pagination](/docs/widgets/table#server-side-pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **[hide the pagination buttons](/docs/widgets/table#show-pagination-buttons)** in the table properties. +The table component supports both **[client-side pagination](/docs/widgets/table/table-properties#pagination)** and **[server-side pagination](/docs/widgets/table/serverside-operations/pagination)**. The `<<` and `>>` button skips to the first and last page respectively. The `<` and `>` button takes the user to the previous and next page respectively. You can also **[hide the pagination buttons](/docs/widgets/table/table-properties#pagination)** in the table properties. ### Add New Rows -Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](/docs/widgets/table#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs//widgets/table#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. +Upon clicking this button, a popup modal will show, providing users with the ability to insert new rows. Initially, the modal will contain a single row, with columns mirroring those found in the table. If users input data into this row, it will be stored within the **[`newRows` variable](/docs/widgets/table/table-csa-and-variables#exposed-variables)** associated with the table. Clicking on the **Discard** button will clear the data within this variable. However, if the users close the popup without any action (neither saving nor discarding), the data will persist, accompanied by a green indicator on the **Add new row** button. The table incorporates an **[Add new rows event handler](/docs/widgets/table/table-properties#add-new-rows)**, which can be employed to execute queries that store the data into the data source upon clicking the **Save** button. :::info At present, it is not possible to include columns of type Image when adding a new row to the table. @@ -60,19 +60,19 @@ The name of the downloaded file will be in the following format:
`Tablename_DD-MM-YYYY_HH-mm.filetype`

Example: Customers_25-03-2022_16-10.csv -You have the option to **[hide the download button](/docs/widgets/table#show-download-button)** in the table properties. +You have the option to **[hide the download button](/docs/widgets/table/table-properties#show-download-button)** in the table properties. :::tip -You can utilize **[Component Specific Actions](#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. +You can utilize **[Component Specific Actions](/docs/widgets/table/table-csa-and-variables#component-specific-actions-csa)** to retrieve the table data in the mentioned formats from the event handlers across the application. ::: ### Hide Columns -You can choose which columns to show or hide in the table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the table properties. +You can choose which columns to show or hide in the table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table/table-columns)** in the table properties. ### Sorting -You can sort the table data in ascending or descending order by clicking on the column header. You can also **[disable the sorting](/docs/widgets/table#disable-sorting)** from the table properties. +You can sort the table data in ascending or descending order by clicking on the column header. You can also **[disable the sorting](/docs/widgets/table/table-properties#enable-column-sorting)** from the table properties. ## Table Data @@ -405,16 +405,16 @@ If the data of a cell is changed, "save changes" button will be shown at the bot ## Events -- **[Row hovered](#row-hovered)** -- **[Row clicked](#row-clicked)** -- **[Save changes](#save-changes)** -- **[Cancel changes](#cancel-changes)** -- **[Page changed](#page-changed)** -- **[Search](#search)** -- **[Sort applied](#sort-applied)** -- **[Cell value changed](#cell-value-changed)** -- **[Filter changed](#filter-changed)** -- **[Add new rows](#add-new-rows)** +- **[Row hovered](/docs/widgets/table/table-properties#row-hovered)** +- **[Row clicked](/docs/widgets/table/table-properties#row-clicked)** +- **[Save changes](/docs/widgets/table/table-properties#save-changes)** +- **[Cancel changes](/docs/widgets/table/table-properties#cancel-changes)** +- **[Page changed](/docs/widgets/table/table-properties#page-changed)** +- **[Search](/docs/widgets/table/table-properties#search)** +- **[Sort applied](/docs/widgets/table/table-properties#sort-applied)** +- **[Cell value changed](/docs/widgets/table/table-properties#cell-value-changed)** +- **[Filter changed](/docs/widgets/table/table-properties#filter-changed)** +- **[Add new rows](/docs/widgets/table/table-properties#add-new-rows)** ### Allow Selection diff --git a/docs/versioned_docs/version-3.0.0-LTS/widgets/table/columns.md b/docs/versioned_docs/version-3.0.0-LTS/widgets/table/columns.md index 347208e5f7..610f653e65 100644 --- a/docs/versioned_docs/version-3.0.0-LTS/widgets/table/columns.md +++ b/docs/versioned_docs/version-3.0.0-LTS/widgets/table/columns.md @@ -464,7 +464,7 @@ On hovering on a column, you can see a delete icon on the right which can be use ### Hide columns -You can choose which columns to show or hide in the Table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table#show-column-selector-button)** in the Table properties. +You can choose which columns to show or hide in the Table using this option. You also have the option to **[hide the column selector button](/docs/widgets/table/table-properties#hide-column-selector-button)** in the Table properties. ## Make all columns editable From 81a5ee19a74b6b1de72eed7554c16cc6e295b725 Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Tue, 26 Nov 2024 16:17:57 +0530 Subject: [PATCH 06/22] Revert changes in Table.jsx --- frontend/src/Editor/Components/Table/Table.jsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/Editor/Components/Table/Table.jsx b/frontend/src/Editor/Components/Table/Table.jsx index 6558e529a0..dc3f331269 100644 --- a/frontend/src/Editor/Components/Table/Table.jsx +++ b/frontend/src/Editor/Components/Table/Table.jsx @@ -187,7 +187,7 @@ export function Table({ const [hoverAdded, setHoverAdded] = useState(false); const [generatedColumn, setGeneratedColumn] = useState([]); const [isCellValueChanged, setIsCellValueChanged] = useState(false); - const [tableButtonHoveredId, setTableButtonHoveredId] = useState(''); + const [ tableButtonHoveredId, setTableButtonHoveredId ] = useState(""); const mergeToTableDetails = (payload) => dispatch(reducerActions.mergeToTableDetails(payload)); const mergeToFilterDetails = (payload) => dispatch(reducerActions.mergeToFilterDetails(payload)); @@ -1108,7 +1108,7 @@ export function Table({ setTableButtonHoveredId(id); }} onMouseLeave={(event) => { - setTableButtonHoveredId(''); + setTableButtonHoveredId(""); }} ref={tableRef} > @@ -1787,7 +1787,7 @@ export function Table({ )} {!loadingState && showAddNewRowButton && ( <> - + @@ -1827,7 +1827,7 @@ export function Table({ fill={`var(--icons-default)`} iconWidth="16" size="md" - data-tooltip-id={tableButtonHoveredId === id ? `tooltip-for-download-${id}` : ''} + data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-download-${id}` : ""} data-tooltip-content="Download" onClick={(e) => { if (document.activeElement === e.currentTarget) { @@ -1861,7 +1861,7 @@ export function Table({ e.currentTarget.blur(); } }} - data-tooltip-id={tableButtonHoveredId === id ? `tooltip-for-manage-columns-${id}` : ''} + data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-manage-columns-${id}` : ""} data-tooltip-content="Manage columns" > From fe90d249f24107db5c0a7d5cc46539caaf68086c Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Tue, 26 Nov 2024 16:20:09 +0530 Subject: [PATCH 07/22] revert changes from Table.jsx --- frontend/src/Editor/Components/Table/Table.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/Editor/Components/Table/Table.jsx b/frontend/src/Editor/Components/Table/Table.jsx index dc3f331269..2b0eef3299 100644 --- a/frontend/src/Editor/Components/Table/Table.jsx +++ b/frontend/src/Editor/Components/Table/Table.jsx @@ -1787,7 +1787,7 @@ export function Table({ )} {!loadingState && showAddNewRowButton && ( <> - + @@ -1827,7 +1827,7 @@ export function Table({ fill={`var(--icons-default)`} iconWidth="16" size="md" - data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-download-${id}` : ""} + data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-download-${id}` : "" } data-tooltip-content="Download" onClick={(e) => { if (document.activeElement === e.currentTarget) { @@ -1861,7 +1861,7 @@ export function Table({ e.currentTarget.blur(); } }} - data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-manage-columns-${id}` : ""} + data-tooltip-id={ tableButtonHoveredId === id ? `tooltip-for-manage-columns-${id}` : "" } data-tooltip-content="Manage columns" > From 57da84b02d414ded5cd4252ad6a4bed8ecec9337 Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Tue, 26 Nov 2024 16:26:26 +0530 Subject: [PATCH 08/22] Update Tabs.jsx --- frontend/src/Editor/Components/Tabs.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/Editor/Components/Tabs.jsx b/frontend/src/Editor/Components/Tabs.jsx index 49cd179c9e..c65deab6c8 100644 --- a/frontend/src/Editor/Components/Tabs.jsx +++ b/frontend/src/Editor/Components/Tabs.jsx @@ -95,11 +95,11 @@ export const Tabs = function Tabs({ useEffect(() => { const exposedVariables = { setTab: async function (id) { - if (id !== undefined) { - const tabId = Number(id); + if (id !== undefined) { + const tabId = Number(id); setCurrentTab(tabId); setExposedVariable('currentTab', tabId); - fireEvent('onTabSwitch'); + fireEvent('onTabSwitch') } }, currentTab: currentTab, From 59c30e9cbd3bb5b886070483af68f4b9cfa6f641 Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Tue, 26 Nov 2024 16:27:29 +0530 Subject: [PATCH 09/22] revert changes from Inspector.jsx --- frontend/src/Editor/Inspector/Inspector.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/Editor/Inspector/Inspector.jsx b/frontend/src/Editor/Inspector/Inspector.jsx index 26f9222910..55701a2af2 100644 --- a/frontend/src/Editor/Inspector/Inspector.jsx +++ b/frontend/src/Editor/Inspector/Inspector.jsx @@ -462,8 +462,8 @@ export const Inspector = ({ componentMeta.displayName === 'Toggle Switch (Legacy)' ? 'Toggle (Legacy)' : componentMeta.displayName === 'Toggle Switch' - ? 'Toggle Switch' - : componentMeta.component, + ? 'Toggle Switch' + : componentMeta.component, })} From 60107bbfcdbeb499213ec4dc03db3e7a6c28a63a Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Tue, 26 Nov 2024 16:28:21 +0530 Subject: [PATCH 10/22] revert changes from SidebarInspector.jsx --- frontend/src/Editor/LeftSidebar/SidebarInspector.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx b/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx index 4f9763e432..2b391478cd 100644 --- a/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx +++ b/frontend/src/Editor/LeftSidebar/SidebarInspector.jsx @@ -110,9 +110,8 @@ export const LeftSidebarInspector = ({ if (!_.isEmpty(component) && component.name === key) { return { iconName: key, - iconPath: `assets/images/icons/widgets/${ - component.component.toLowerCase() === 'radiobutton' ? 'radio-button' : component.component.toLowerCase() - }.svg`, + iconPath: `assets/images/icons/widgets/${component.component.toLowerCase() === 'radiobutton' ? 'radio-button' : component.component.toLowerCase() + }.svg`, className: 'component-icon', }; } From 5c622a9ebf16fa3689338ff46bf914adff1cd2aa Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Fri, 17 Jan 2025 18:35:07 +0530 Subject: [PATCH 11/22] revert cypress-platform.yml --- .github/workflows/cypress-platform.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/cypress-platform.yml b/.github/workflows/cypress-platform.yml index 05dd212dc0..7254e07ec7 100644 --- a/.github/workflows/cypress-platform.yml +++ b/.github/workflows/cypress-platform.yml @@ -151,6 +151,12 @@ jobs: - name: use mybuilder buildx run: docker buildx use mybuilder + - name: Docker Login + uses: docker/login-action@v2 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Build docker image run: docker buildx build --platform=linux/amd64 -f docker/production.Dockerfile . -t tooljet/tj-osv:cypressplaform From 38ac8fcde56c3fd5b7e4b032338ea70513dbc7df Mon Sep 17 00:00:00 2001 From: Pratik Agrawal Date: Fri, 17 Jan 2025 18:38:16 +0530 Subject: [PATCH 12/22] Revert EditVersionModal.jsx --- frontend/src/Editor/AppVersionsManager/EditVersionModal.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/Editor/AppVersionsManager/EditVersionModal.jsx b/frontend/src/Editor/AppVersionsManager/EditVersionModal.jsx index 1ba1a30994..e1e3c5c37d 100644 --- a/frontend/src/Editor/AppVersionsManager/EditVersionModal.jsx +++ b/frontend/src/Editor/AppVersionsManager/EditVersionModal.jsx @@ -1,9 +1,9 @@ -import React, { useState } from 'react'; +import { useEnvironmentsAndVersionsStore } from '@/_stores/environmentsAndVersionsStore'; import AlertDialog from '@/_ui/AlertDialog'; +import React, { useState } from 'react'; import { toast } from 'react-hot-toast'; import { useTranslation } from 'react-i18next'; import { shallow } from 'zustand/shallow'; -import { useEnvironmentsAndVersionsStore } from '@/_stores/environmentsAndVersionsStore'; export const EditVersion = ({ appId, setShowEditAppVersion, showEditAppVersion }) => { const [isEditingVersion, setIsEditingVersion] = useState(false); @@ -87,6 +87,7 @@ export const EditVersion = ({ appId, setShowEditAppVersion, showEditAppVersion } {t('globals.cancel', 'Cancel')} @@ -146,8 +186,7 @@ export default function AppCard({