Commit graph

8465 commits

Author SHA1 Message Date
Sherfin Shamsudeen
09cf603d0b Sync variables and page variables with autocomplete 2025-01-20 17:46:30 +05:30
Sherfin Shamsudeen
20c5de4140 Show params in suggestions 2025-01-20 17:31:38 +05:30
Sherfin Shamsudeen
87d5d0721c Show locally declared variables in suggestions 2025-01-20 16:07:07 +05:30
Sherfin Shamsudeen
199c4ec947 Initial code suggestions should always show primary state items 2025-01-20 15:16:38 +05:30
Sherfin Shamsudeen
d3102e6c07 Display suggestions even when backspace is pressed in codehinter 2025-01-15 18:21:01 +05:30
Sherfin Shamsudeen
1a2b59c244 Displayed suggestion labels should start from the depth of the typed in string 2025-01-15 15:14:13 +05:30
Sherfin Shamsudeen
f9a4a9962c Replace complex autosuggestions filtering function with simple one 2025-01-13 18:33:29 +05:30
Sherfin Shamsudeen
be3f73c099 Override codemirror autosuggestion filter on multiline code editor 2025-01-13 16:27:33 +05:30
Sherfin Shamsudeen
56c4e8591e Override codemirror autocomplete's default filtering 2025-01-09 18:29:01 +05:30
Johnson Cherian
97fb315019
Appbuilder sprint 5 merge main (#11573)
* statement timeout for postgresql mssql mysql can now be configured from env

* Enhance: Add clear all, cancel & apply functionality to TJDB filter-popup (#2344)

* Update filter inputs

* Update filter body

* Style fixes

* Handle invalid filters

* Fix bugs

* Feature: Add list all sheets and create new spreadsheet operation to GoogleSheets (#2370)

* Add create spreadsheet functionality

* Add list all sheets functionality

* Updated delete and batch-update methods

* Change interface to type

* Enhance: Add read documentation link with data source drop down in query builder (#2162)

* Add read-documentation link

* Change copywriting for datasources name

* Update new component for link

* Increase input width

Update redshift link

* Fix the datasource name issue

* Enhance: Improve error handling in Google-Sheets run query (#2286)

* Add error details

* Display error for incorrect JSON

* Throw error for empty spreadsheetid and operator

* Enhance: Error handling for PgSql, MySql and MsSql (#2389)

* Enhance error handling for pgsql

* Enhance error handling for mysql

* Remove console logs

* Enhance error handling for MsSql

* Refactor error handling for consistency

* Enhance: Rest api body to accept raw input instead of raw json. (#2249)

* Enhanced rest api body to accept raw input instead of raw json.

* Changed content type from application/json to text/json and changed copywrite to RAW.

* Changed rest api body toggle label from 'RAW' to 'Raw'.

* Added request label for static REST API data source.

* Fixed issue where GET query failed since body was undefined.

* Integrated json_body to add backward compatibility.

* Removed console logs.

* Added support for 'text/json' type in checkIfContentTypeIsJson function.

* Made changes according to new frontend architecture in v3.

* Fixed request URL field overflow issue.

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>

* Feature: Add SSL support to MongoDB datasource (#2430)

* Add TLS support inputs in frontend

* Add backend logic for TLS support

* Add TLS inputs types

* Update TLS label

* Change ssl_certificate to tls_certificate

* Update the file handling in tls

* Update connection logic

* Fix unlinking file issue

* Remove catch block for unlinking file

* Handle tls certs directly

* Feature: Stripe plugin UI fixes with OpenAPI endpoint as source (#2725)

* Fixed GET and DELETE request input renders and added all UX fixes (#9498)

* fixed get and delete request input renders and added all UX fixes

* Extracted Stripe plugin component as a separate component for Dynamic Form.

* Resolved PR review comments and fixed issue where rendering path input field crashed the app.

* Changed param name underline to dashed for tooltip and revamped input field clear button

* Fixed a few sonarlint issues.

* Removed the duplicate code by creating a separate function named RenderParameterFields.

* Refactored computeOperationSelectionOptions function to not nest functions more than 4 levels deep.

* Refactored RenderParameterFields function to reduce its Cognitive Complexity.

* Made span tag with the 'button' interactive role focusable.

* Inside switch case for codehinter in DynamicForm > getElementProps, Extracted nested ternary operation for theme into an independent statement.

* Added keyboard listener to the clear button.

* Removed opacity from select dropdown and operation from operation select dropdown UI.

* Fixed syntax error in clearButton function.

* Removed the package @nrwl/nx-linux-x64-gnu from marketplace dependencies.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>

* Made changes according to new app builder architecture in v3.

* Fixed import issue for codehintor

* Fixed issue where due to incorrect value, stripe queries crashed the entire app.

---------

Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>

* Enhance: Improve error handling in Airtable run query (#2234)

* Refactor error handling to streamline QueryError messages

* Handle 404 errors

* Enhance: Add AI-tag to datasources in marketplace page (#2597)

* Add AI-tag to datasources in marketplace page

* AI BANNER Tag

* margin

* Refactor tag rendering logic for marketplace page

* Refactor tag rendering for datasource page

* Refactor import and props

* Remove ai prefix and fix indentations

* Make custom hook for fetching plugins.json

* Add AI tag on installed page

* Marketplace page UI fix and add a plugin button fixes

* Add AI tag on datasource connection form

Change classname

* Fix svg flickering

* Fix svg chipping issue

* Push AI tag to extreme right

---------

Co-authored-by: Rudra <rudra21ultra@gmail.com>

* Fix: Api call for token generation in client-credentials grant type (#2785)

* fix: query kind for select source in rest api

* Fix: ToolJet database limit check API issue (#11416)

* bump to v3.0.5-ce

* Added data-cy for newly added components (#11435)

* Modified failed Platform cypress test cases for Tooljet V3 (#11486)

* Modify platform cypress test cases

* Added cypress test cases for user onboarding flow (#11499)

* Add data-cy for newly added components

* Add data-cy for onboarding page elements

* Modify failed test cases

* Adding more cases

* Modify onboarding test cases

* Modify user invite flow

* chnages on onboarding test scripts

* revert the changes

* revert the changes

* removed .only form profile file

* resolved review changes

---------

Co-authored-by: ajith-k-v <ajith.jaban@gmail.com>
Co-authored-by: Sri mani Teja s <mani@Sris-MacBook-Pro-4.local>

* fix: Fixes broken loading state for container

* update cypress workflow for subpath

* Add data-cy for workspace constants components (#11530)

* fix table down load event not showing up

* Hotfix: The build failed to include the reference file for custom validation of the ToolJet database schema. (#11490)

* tooljet database schema custom validation reference file was not included in the build

* fix: missed a dependency for copyfiles

* change version to 3.1.0

---------

Co-authored-by: Ganesh Kumar <ganesh8056234@gmail.com>
Co-authored-by: Parth <108089718+parthy007@users.noreply.github.com>
Co-authored-by: Devanshu Rastogi <devanshu.rastogi05@gmail.com>
Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: Mansukh Kaur <mansukhkaur@Mansukhs-MacBook-Pro.local>
Co-authored-by: Rudra <rudra21ultra@gmail.com>
Co-authored-by: Vijaykant Yadav <vjy239@gmail.com>
Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Ajith KV <ajith.jaban@gmail.com>
Co-authored-by: Adish M <44204658+adishM98@users.noreply.github.com>
Co-authored-by: Srimanitejas123 <mani@tooljet.com>
Co-authored-by: Sri mani Teja s <mani@Sris-MacBook-Pro-4.local>
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com>
Co-authored-by: Kartik Gupta <gupta.kartik18kg@gmail.com>
2024-12-10 12:21:34 +05:30
johnsoncherian
3bf422d3cc chore: bump version 2024-12-06 14:18:06 +05:30
Nithin David Thomas
558d66fed0
feat: Adds header for container widget (#11309) 2024-12-04 17:20:32 +05:30
vjaris42
00f4ee4370
[Feature]: Push event errors from page, components and query to debugger (#11428) 2024-12-04 16:18:33 +05:30
Devanshu Rastogi
3ebc1933cc
Enhance: Added 'Set Value' functionality and support for HTML with hyperlinks in Rich Text Editor component (#11406)
* Added HTML support for Placeholder and Default Value property. Added CSA for loading state.

* Exposed isDisabled, isVisible and isLoading variables. Also exposed setValue, setDisable, setVisibility and setLoading functions.

* Fixed issue where loading state functionality was not visible in the properties section on the initial render of rich text editor.
2024-12-04 14:40:57 +05:30
Kartik Gupta
5e9e9381e9
download event for table in server side pagination (#10330) 2024-12-04 13:59:29 +05:30
Devanshu Rastogi
af1dda8ec9
Feature: Added Radio button V2 component (#11408)
* Initial setup for Radio Button V2

* Made changes in Radio Button component and its properties.

* Added a loader.

* Added disabled states in Radio Button V2.

* Fixes

* CSA fixes

* fixes

* Fixed switch case label for Radio Button V2 and updated config files.

* Added Radio Button component in Inspector and refactored the component and config file.

* Refactored code for updating exposed variables and fixed default value for non dynamic options.

* Fixed sonarlint issue - Unexpected duplicate font-size.

* Made minor styling changes.

* Removed currentStateStore logic.

* Implemented single source of truth for changing value and resolved review comments.

* Changed font weight of options to 400.

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
2024-12-04 13:59:08 +05:30
Devanshu Rastogi
fef97269ae
Added loading state in pie chart. (#11404) 2024-12-04 13:58:41 +05:30
Nithin David Thomas
aa4cd1fc2e
chore: Exposes CSAs for Container widget (#11229)
* chore: Exposes CSAs for Container widget

* Introduces hook to expose variables

* Updates hook to expose variable after setting the state

* Update frontend/src/AppBuilder/_hooks/useExposeVariables.js

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Removes unwanted imports

* Exposing CSA to control component actions

* Moves CSA's to additional actions section

* Fixes wrong handle param

---------

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2024-12-04 13:56:38 +05:30
Nakul Nagargade
966c208333
Fix container and kanban can't be moved by dragging on the body of the component (#11355) 2024-12-04 13:54:43 +05:30
Nithin David Thomas
a609b3cd7a
chore: Set modal as the selected widget when clicked (#11363) 2024-12-04 13:54:08 +05:30
Devanshu Rastogi
f5cab90b5c
Fix: Content overflow issue in rich text editor (#11405)
* Fixed the content overflow issue in rich text editor.

* Fixed issue where content overflowed when height is resized below a certain height.
2024-12-04 13:53:28 +05:30
Devanshu Rastogi
05b25cfe82
Fixed value of value CSA when no default value is set and clear() action is used. (#11409) 2024-12-04 13:52:33 +05:30
Nakul Nagargade
c3b14dac27
feat: Introduce table styles property to set the casing of table column names (#11424)
* feat: Introduce table styles property to set the casing of table column names

* Update table default data keys

* Fix
2024-12-04 13:51:11 +05:30
Nakul Nagargade
022e554812
[feat] : Add support for clicking anywhere on the edge should select the component (#11425) 2024-12-04 13:49:06 +05:30
johnsoncherian
cd2350db46 chore: version bump 2024-11-25 12:04:17 +05:30
Johnson Cherian
70391b2c12
Merge pull request #11401 from ToolJet/main-merge-lts-3.0
Main merge lts 3.0
2024-11-25 11:57:26 +05:30
johnsoncherian
8e3986e0a1 Merge branch 'lts-3.0' into main-merge-lts-3.0 2024-11-25 11:49:53 +05:30
johnsoncherian
11b4368cc0 Merge branch 'main' of https://github.com/ToolJet/ToolJet 2024-11-25 11:48:10 +05:30
Midhun G S
167d1eb2db
Merge pull request #11370 from ToolJet/release/lts-3.0.3
Release LTS v3.0.3 - Platform
2024-11-22 12:41:00 +05:30
Midhun G S
94b8f466db
Merge branch 'lts-3.0' into release/lts-3.0.3 2024-11-21 20:14:55 +05:30
gsmithun4
1f73c11289 bump version 2024-11-21 20:14:08 +05:30
Adish M
04af065364
Merge pull request #11385 from ToolJet/fix/do-template-main
Fix DO template to main branch
2024-11-21 19:42:45 +05:30
Adish M
5a9f1b0f49 Fix DO template to main branch 2024-11-21 19:39:21 +05:30
Rudhra Deep Biswas
3f681c1bde
Integration and Workspace Constants Page UI Fixes (#11377)
* ui fixes ws constants and integration page

* ws const css
2024-11-21 19:06:33 +05:30
Rohan Lahori
be7d461816
CE Subpath pending issues (#11352)
* subpath fix

* subpath fix

* minor fix

* minor fix

* ee-cherrypicked
2024-11-21 12:26:22 +05:30
Johnson Cherian
eea5af776c
Merge pull request #11360 from ToolJet/fix-resolved-query-headers
Fix request, response, responseHeaders from resolved query not being part of  dependency graph
2024-11-21 11:56:38 +05:30
Nakul Nagargade
076ef68a26 Bump version 2024-11-21 11:23:25 +05:30
Nakul Nagargade
532499b815 Merge branch 'lts-3.0' into fix-resolved-query-headers 2024-11-21 11:21:51 +05:30
Nakul Nagargade
994e1a8c2f Add support for CSA setValue in codeeditor widget 2024-11-21 10:56:20 +05:30
Rohan Lahori
d29d0c730e
Local data source discontinued changes (#11344)
* basic setup changes

* minor changes

* minor ui fix

* remove parameter check and minor refactoring

* bugfix

* variable changes

* css changes

* removed consoles

* removed consoles

* pr review changes

* documentation link changes

* minor css changes
2024-11-20 14:58:58 +05:30
gsmithun4
caaae7ae74 bump version 2024-11-20 14:56:57 +05:30
Adish M
57f75626d1
Fix/tjdb render preview lts 3.0 (#11368)
* Fix for TJDB in render preview app lts-3.0 branch

* removed marketplace env
2024-11-20 13:43:28 +05:30
Nakul Nagargade
1cebfe039a fix 2024-11-19 17:50:31 +05:30
Nakul Nagargade
8a3f89a19c Add request, response,responseHeaders outside of metadata 2024-11-19 16:55:47 +05:30
Nakul Nagargade
6a2b76c5b2 Fix request, response, responseHeaders from resolved query not being part of dependency graph 2024-11-19 12:10:33 +05:30
Johnson Cherian
995a73254c
Merge pull request #11336 from ToolJet/release/v3.0.2-lts
Release v3.0.2 lts
2024-11-18 19:07:34 +05:30
Johnson Cherian
d3b4bc8726
Merge pull request #11337 from ToolJet/fix/form-submit-btn-and-ast-in-be
form button to submit mapping issue on version creation and import ex…
2024-11-18 18:44:57 +05:30
Johnson Cherian
844b3e909c
Merge pull request #11235 from ToolJet/fix/public-page-setting
Fix: page settings on public app
2024-11-18 18:44:30 +05:30
Kartik Gupta
022e475b6d use string manipulation instead of regex 2024-11-18 18:44:14 +05:30
Kartik Gupta
bb928f2031 fix bug breaking hash map 2024-11-18 18:44:14 +05:30