Commit graph

2997 commits

Author SHA1 Message Date
Sherfin Shamsudeen
24de8e9aa5
Allow custom id for dynamically generated columns (#8525) 2024-02-06 10:40:11 +05:30
Sherfin Shamsudeen
4a21eeb9f6
feat: Add transformations feature to table columns (#8287)
* Add transformations feature to table columns

* Make table transformations listen to current state

* Move column transformation to below "key" in column properties

* Properly exposed currentData and currentPageData of table alongwith transformations
2024-02-06 10:38:44 +05:30
Manish Kushare
30386b3191
Fix : All fx code blocks are getting active when fxActive is true for a table column (#8664)
* bug fixed - all fx code blocks are getting active when fxActive is true

* removed consoles

* added error handling mechanism for fxActiveFields

created a function to improve readability of onFxPress callback function
2024-02-06 10:37:13 +05:30
Sherfin Shamsudeen
a840304629
feat: Getter functions for query data and variables (#8241)
* Introduce getVariable and getPageVariable actions

* Introduce getData, getRawData and getLoadingState for queries
2024-02-06 10:36:26 +05:30
Midhun Kumar E
d36cc44920
test: Add automation for text-input revamp. (#8671)
* init textinput revamp

* updated styles panel

* bugfix

* updates

* fix :: accordion

* fix :: styling

* add box shadow , additional property,tooltip

* fix conditional render for styles

* feat :: fixed order of each property and styles

* feat :: styling input

* bugfix

* feat :: add option to add icon

* add option to add icon

* adding option to toggle visibility

* updated password input with new design

* chnaging component location

* bugfix

* style fixes

* fix :: added loader

* updated :: few detailing

* few bugfixes

* fix :: for form widget label

* fixes

* added option to add icon color

* including label field for password input

* fix for label

* fix

* test fix backward compatibility for height

* updates

* revert

* adding key for distinguishing older and newer widgets

* testing

* test

* test

* update

* update

* migration testing

* limit vertical resizing in textinput

* testing

* throw test

* test

* adding check for label length

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* ui fixes

* fix height compatibility

* feat :: csa for all inputs and exposed variables

* backward compatibility fixes and validation fixes

* fixes :: textinput positioning of loader and icon

* fix :: password input

* cleanup and fixes

* fixes

* cleanup

* fixes

* review fixes

* review fixes

* typo fix

* fix padding

* review fixes styles component panel

* fix naming

* fix padding

* fix :: icons position

* updates

* cleanup

* updates events , csa

* backward compatibility

* clean

* feat :: change validation from properties

* ui fixes

* icon name

* removed 'px' text from tooltip

* fixes placeholder

* few updates :: removing label in form

* ui in form

* update :: number input validation behaviour

* testing fixes

* added side handlers

* removing unwanted fx

* disabling fx for padding field

* ordering change

* fix

* label issue + restricted side handler

* fix :: box shadow bug

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* fix :: for modal ooen bug during onfocus event

* test slider

* Add common utils

* Modify helpers

* Add text input spec

* Add utils for field validation

* Minor spec updates

* Fix for password  basic automation cases

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2024-02-06 10:27:31 +05:30
Kavin Venkatachalam
4d07cea818 Merge branch 'appbuilder-1.5' of https://github.com/ToolJet/ToolJet into appbuilder-1.5 2024-01-19 14:27:47 +05:30
Nakul Nagargade
1141f710ba
Add null check in modal when clicked outside (#8582) 2024-01-17 09:58:47 +05:30
Akshay Sasidharan
4cc167c87d fix duplicate template modal for blank page 2024-01-12 17:04:29 +05:30
Arpit
f408f52268
[hotfix]: Prevent Autosave on Client Updates Received via Websockets for MultiEditing (#8549)
* Prevent Autosave on Client Updates Received via Websockets for MultiEditing

* bumped up the version 2.27.6
2024-01-11 16:34:42 +05:30
Muhsin Shah C P
9f72aa72a6
fixed lint errors (#8532) 2024-01-09 14:17:29 +05:30
Midhun Kumar E
291a955fec
Added automation to verify Copy-Paste and duplication of components (#8522)
* Update data-cy

* Add utils

* Add spec

* Remove unused imports
2024-01-08 16:20:39 +05:30
Arpit
7ceeb8e018
[hotfix] fixes: ordering of event execution & Table switch (#8509)
* fixes: ordering of event execution

* Fix switch group not updating default value

* bumped up the version

* bumped up the version 2.27.4

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2024-01-08 14:50:35 +05:30
Akshay
ad4d81c5f4
Merge branch 'main' into release/templates-1.0 2024-01-05 19:19:01 +05:30
Abhinaba Adhikari
491908ebb6
Add new templates and remove old templates (#8490)
* bugfix: airtable plugin support for personal access token (#8295)

* fix: airtable plugin support for personal access token

* fix: review comments fixed

* Add new templates and remove old templates

* Change onboarding page templates and fix CSS

* Change Job application tracker template images

* Implement dark mode for onbarding page templates

* Fix templates with query issues

* fix template creation

* Remove redundant datasource options from templates

---------

Co-authored-by: Ganesh Kumar <40178541+ganesh8056@users.noreply.github.com>
Co-authored-by: Akshay <akshaysasidharan93@gmail.com>
2024-01-05 17:46:52 +05:30
Manish Kushare
2783466be2
[Hotfix]: Action button event is not getting triggered (#8480)
* hotfix : action button event is not getting triggered

* removing .then for setExposedvariables and setExposedVariable

* bump version

* Revert "bump version"

This reverts commit 5e9df4825f.

* bump version

* adding .then to onComponentOptionChanged  function in global filters

* making on search event fire upon searching

* fixed lint issues
2024-01-04 11:53:04 +05:30
Ayush Jha
7f2af4268d
fix: #8433 Change labels to sentence case for Kanban component (#8450)
Co-authored-by: ayushjha119 <ayush.jha.it23@heritageit.edu.in>
2023-12-29 22:51:40 +05:30
Qayyum Siddiqui
3d0b40daee
Fix : Added handleKeyPress function to handle enter key event. (#7724)
* Added handleKeyPress function to handle enter key event.

* 7196 - Added handleKeyPress function to handle enter key event

* Added handleKeyPress function to handle enter key event.
2023-12-29 16:40:28 +05:30
Jaswanth T R
302eacbcd6
Fixed Page name to be restricted to less than 50 characters (#7562) 2023-12-29 15:03:21 +05:30
Muhsin Shah C P
955d48a761
fix: resolved edit workspace issue (#8426) 2023-12-28 20:27:23 +05:30
Arpit
b91029a008
[hotfix] CE fixes (#8395)
* events should be synced for multi-edit

* remove console

* removes db constrainsts for layouts and handles corrupeted apps created from prev migrations

* Revert "removes db constrainsts for layouts and handles corrupeted apps created from prev migrations"

This reverts commit 10a307118b.

* removing constrainsts fro CE

* bumped the patched version ~ 2.26.3

* fixes: import/export general styles for components

* fixes: viewer crash on adding plugin as gds due to accessing camalised data

* fixes: plugin queries gds

* preserve duplicate search params on restapi

* preserve duplicate params in query manager params fields

* fixes: edge cases where undo of some components crashes thew widget

---------

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2023-12-28 15:16:50 +05:30
lukas-mar
bef4f10f54
Delete message for component changed (#8399) 2023-12-28 12:04:55 +05:30
Harsimran-19
a46972d297
Updated TreeSelect Component in widgetConfig.js (#8035)
Co-authored-by: Harsimran-19 <harsimran1869@gmail.com>
2023-12-27 17:24:53 +05:30
vjaris42
4b8f794a74
Fixes UI and test connection issues (#8377)
* fixes: testconnection bugs

* fixes

* revert: package-lock

* add: new line

* url redirect fix
2023-12-22 17:16:10 +05:30
gsmithun4
a1adc45997 Merge branch 'main' into platform-rebase/v10.x 2023-12-21 11:59:23 +05:30
Muhsin Shah C P
53d119680f
[chore] Node-module vulnerabilities (#8226)
* started working on node upgrade to 18.18.2

* testing ci

* updated ci node version

* updated action code

* deleted all package-lock.json files

* deleted and ovverrided some packages

* deleted and fixed server & frontend vulnerabilities

* updated firestore version

* fix: ws type issue

* fix: upgraded lerna version

* regenerated package-lock.json files again

* regenerated marketplace lock file

* updated node version in other ci and docker files

* update: lock file plugin side

* updated the npm version in docker & ci files

* removed unused imports from events file

* removed dependency-review action

* updated some packages

* tried to go with current node-module of jest. had to upgrade

* fix: deprecated function usage - ts-jest

* fix: server directory lint issues

* fixed login page issue after router-dom upgrade

* updated import/no-unresolved rule to ignore import errors of  react-loading-skeleton, react-spring packages

* fix: cypress node version & package-lock issue

* regenerated cli package-lock.json

* fix: new webpack version might cause runtime issues (had issues with enterprise). lets use old version only

* fix: form-data docker issue

* removed comment
2023-12-21 11:55:35 +05:30
Arpit
4865318136
[Hotfix] cloning/duplicating component from widget inspector header actions menu (#8354)
* add support to clone/duplicate components from widget inspector header action buttons

* bumped the patched version ~ 2.26.2
2023-12-20 13:10:50 +05:30
Muhsin Shah C P
7a33ca6df2
fix: added 401 check (#8351) 2023-12-20 10:18:36 +05:30
Anantshree Chandola
b556c06d21
Fix for handling 'go to app' event for previously added unreleased apps and new apps (#8169)
* fix go to app event for unreleased apps

* updates
2023-12-19 20:06:23 +05:30
Muhsin Shah C P
7fa8494807
added missing line (#8349) 2023-12-19 18:28:37 +05:30
vjaris42
379d400db8
Revamp Global Data sources (#8274)
* changes: listing of data sources

* add: plugins to ds list

* review fixes

* fixes

* fix: placeholder values for encrypted fields

* fixes

* review changes
2023-12-19 18:17:34 +05:30
Muhsin Shah C P
06952836df
Fixed websocket unavailable issue when the user tries to release the version before the connection is established (#8305) 2023-12-19 10:36:47 +05:30
vjaris42
a7785d78de
Save button on Datasource changes not enabled (#8171)
* fixes: disabled state of ds changes on header values

* add check for editor headers
2023-12-19 10:34:53 +05:30
Anantshree Chandola
4b884d515b
Fix MariaDB connection issues (#8235)
* Add default connection limit for mariadb test connection in backend

* map connectionLimit to connection_limit

* remove log

* remove comments

* fix: mariadbPool causes server crash in case of unknown db

* fix: prev details getting replicated in next selected ds
2023-12-19 10:32:49 +05:30
Muhsin Shah C P
27a0099e89
[fix] Sometimes the workspace modal CTA is in disabled state even if the values are correct (#8299)
* fix: sometimes the workspace modal CTA is in disabled state even if the values are accepted

* fix: erorr message
2023-12-19 10:28:53 +05:30
Muhsin Shah C P
50323bf3fb
[fix] Rendering all apps inside a folder after the app rename. (#8133)
* fix: rendering all apps inside a folder after app rename

* fix: Breadcrumbs path not contains query params
2023-12-19 10:27:32 +05:30
Muhsin Shah C P
7fea778756
[Imp] Auto-removing query params from redirect urls (While login to the application) (#8128)
* add: added query params to logout urls

* add: added support for sso login

* fix: page handle not updated after rename
2023-12-19 10:26:27 +05:30
Arpit
911d152176
[Hotfix] Table component column generations issues (#8309)
* fixes: on column deletion, the array is replaced with prev data instead of latest update from client

* fixes: table crash on viewer editor as there are duplicte columns while create component definition
2023-12-14 15:50:07 +05:30
Manish Kushare
7d795b6c84
filtering out null and undefined values from array fed to data (#8279) 2023-12-14 15:49:37 +05:30
Manish Kushare
b09799a335
bug fixed (#8302) 2023-12-13 14:29:38 +05:30
Nakul Nagargade
34a8d1e172
Add Safety check in RealtimeAvatar (#8281)
* Add safety checks

* Add optional chaining to prevent reading undefined data

* Add sentry's error boundary

* Add sentry's error boundary

* Add sentry tag for segrating component error type
2023-12-12 17:45:54 +05:30
Kiran Ashok
f6f1d301d5
bugfixes form child csa and form listing twice in inspector (#8283) 2023-12-12 09:55:25 +05:30
Kavin Venkatachalam
6cc57e704b Merge branch 'main' of https://github.com/ToolJet/ToolJet into appbuilder-1.4 2023-12-11 15:54:08 +05:30
Kiran Ashok
ca47e14c13
Bugfix :: Resolving Issue with comments not displaying during walkthrough (#8153)
* bugfix :: walthrough for comments missing

* removed datasources step
2023-12-11 15:53:50 +05:30
Manish Kushare
fbb350cba9
bug fixed : selectedRow is getting discarded upon changing the dark theme (#8167) 2023-12-11 15:19:13 +05:30
Syed Abdul Rahman
9c317d4283
Fixed Number Input Field Issue. (#7415)
* Fixed Number Input Field Issue

* Fixed Number Input Field Issue

* Fixed Number Input Field Issue

* fixed not showing the value 0 in control component

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2023-12-11 15:17:30 +05:30
Manish Kushare
c94a085951
removing cell max cell width style to allow cell to take maximum available width (#8001) 2023-12-11 15:16:58 +05:30
Syed Abdul Rahman
c897274371
Fixed form component position (#7490)
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2023-12-11 15:16:03 +05:30
Kiran Ashok
7c9b6f31da
Bugfix :: Listview pagination not showing correct pagination details (#8081)
* fix :: issue regarding listview pagination not showing correct paggination details

* Add placeholder div for listview
2023-12-11 15:15:41 +05:30
Manish Kushare
964ac313d0
Query preview is updating whenever a query is run (#7442)
* preview the query upon clicking run button as well

* reverting back prev changes

* preview query is updating whenever query is executed

* avoiding unwanted changes

* update preview query only when query is executed by run button

* Update the executeRunQueryFromRunButton to shouldSetPreviewData

* setting previewData to null if already present and clicked on run button again

* setting preview data to empty string on click of preview button

* when query fails, set preview loading to false and set preview data with error data

* When queryPreviewData is null, display empty string to avoid displaying null on the preview panel
2023-12-11 15:15:12 +05:30
Syed Abdul Rahman
750dae00dd
removed fade animation on app cards (#7487)
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2023-12-11 15:14:49 +05:30