Commit graph

2206 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
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
Akshay
ad4d81c5f4
Merge branch 'main' into release/templates-1.0 2024-01-05 19:19:01 +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
Jaswanth T R
302eacbcd6
Fixed Page name to be restricted to less than 50 characters (#7562) 2023-12-29 15:03:21 +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
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
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
Manish Kushare
7d795b6c84
filtering out null and undefined values from array fed to data (#8279) 2023-12-14 15:49:37 +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
e3e56e18c2
Fixed undo app name issue (#7451)
* Fixed undo app name issue

* removed useEffect

* calling the function after the component is mounted

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2023-12-11 15:14:13 +05:30
Syed Abdul Rahman
f1d35b0a49
Fixed empty error logs on debugger (#7437)
* Fixed empty error logs on debugger

* checking other falsy values

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2023-12-11 15:13:25 +05:30
Kiran Ashok
a7092c6580
Feat :: Reducing no of rerenders due to exposed variables (#7473)
* csa reducing rerenders

* perf optimisation : reducing rerenders for rest of the components

* cleanup

* fix :: child components exposed variables

* fix :: table breaking in subcontainer , review fixes

* fix :: modal bug

* fix :: clear text not working for textarea
2023-12-11 15:11:00 +05:30
Syed Abdul Rahman
ccc7a69f3d
Fixed page options clicks issue (#7395)
* Fixed page options clicks issue

* Fixed suggested changes

* Fixed suggested changes

* removed onClick event and added onMouseDown event

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
2023-12-11 15:10:25 +05:30
Manish Kushare
1a76cefd68
discarding the searched term when clicked on cross icon in search box element in the table (#8033) 2023-12-11 15:09:52 +05:30
Manish Kushare
30bdc77837
Made column header positioning consistent while dragging the header to change its order in table (#7856)
* drag positioning is mis matched while dragging column header

* column header position is not proper while dropping it to the destination when re-ordering its position : fixed

* making the width of dragging header to 60px to make user experience better because if  destination column width is smaller than the dragging column width , at such cases user experince is bad
2023-12-11 15:08:41 +05:30
Kiran Ashok
c2852525c5
Show listItem in suggestions and interpret it in event handler codehinter previews (#7516)
* feat :: add custom resolvable to suggestion list

* bugfix

* fix :: app breaking on using functions in codehinter
2023-12-11 15:06:03 +05:30
Kiran Ashok
3f67b07061
Feature :: Controlling form children through CSA (#7505)
* feat :: added option to control child widgets of form using csa

* fix :: update

* update

* removed logs

* bugfix
2023-12-08 18:00:11 +05:30
Kiran Ashok
b1d9820a75
make default border radius as 4px (#7446) 2023-12-08 17:57:00 +05:30
Manish Kushare
22fb0f1946
discard add new row csa not discarding new row from current state after clicking save button, fixed (#7439) 2023-12-08 17:56:03 +05:30
Manish Kushare
2ba20a2303
Show type error message in codehinter preview if any (#7462)
* show error message in codehinter preview if any

* check type error in run time

* on component will unmount stage , sets resolvedValue and resolvingError to null

* show border danger for invalid field values

* shifted function declaration up before calling it

* tooltip in general properties was always showing red-border : fixed

fixed: all props showing red border

* tooltip codehinter is empty string in the first render

* checking syntax error is any
2023-12-08 17:55:22 +05:30
Nakul Nagargade
c6ef28ad89
[Refactor]7380 - Improve performance by preventing states used as prop when not necessary (#7412)
* [Refactor]7380 - Improve performance by preventing states used as prop when not necessary

* Fix selected component being returned as undefined in sidebar inspector

* reduce Container re-render

* reduce Container re-render and bug fix

* Remove ununsed state

* initial commit

* Clean code

* Fix selecting component

* Refactor code

* Refactor code

* Resolve code comments

* Fix Subcontainer not being able to have drag ability for childrens

* Resolve code comments

* Fix cypress maximum state update issue

* Fixes editor render on canvas click, on hover and component click

* Fix extra renders on dragging components

* remove commit

* Remove console

* Fix editing version being undefined

* Fix

* Fix events being not updated

* Fix bugs

* Fix version not changing

* Remove console

* remove editor old
2023-12-08 15:35:30 +05:30
Midhun Kumar E
f2f078da0a
Merge branch 'develop' into appbuilder-1.4 2023-12-08 15:32:41 +05:30