Commit graph

5830 commits

Author SHA1 Message Date
Midhun Kumar E
c7bffcbc80
data-cy: Add data-cy for component revamp (#8686)
* Add basic automation cases

* Add data-cy for common elements and input components
2024-02-08 13:41:13 +05:30
Midhun Kumar E
594ee108f9
Add basic automation cases (#8697) 2024-02-08 13:40:08 +05:30
Midhun Kumar E
c8d0e3cc9e
Add data-cy to support dropdown automation (#8739) 2024-02-08 13:39:29 +05:30
Midhun Kumar E
e95d7d65bb
Add automation for editor titles (#8577) 2024-02-08 13:39:12 +05:30
Akshay Sasidharan
a2b891d692 Merge branch 'develop' into release/marketplace-1.6 2024-02-08 12:34:12 +05:30
Nakul Nagargade
0a6b2ba543 Merge branch 'appbuilder-1.5' of https://github.com/ToolJet/ToolJet into appbuilder-1.5 2024-02-08 12:21:44 +05:30
Nakul Nagargade
de938b53d4 Upgrade sentry packages 2024-02-08 12:21:31 +05:30
Midhun Kumar E
59e22b6aed
Add automation for dropdown -specefic cases (#8738) 2024-02-08 11:49:58 +05:30
Adish M
2ce825eac9
Merge pull request #8736 from ToolJet/docs/setupv
[docs]version fixes in setup guides
2024-02-08 11:40:31 +05:30
Shubhendra
9f9fd0daec [docs]version fixes in setup guides 2024-02-08 11:38:34 +05:30
Kiran Ashok
76ca8e577c
review fixes (#8714) 2024-02-08 11:25:46 +05:30
Kavin Venkatachalam
b4f051c39f
Merge pull request #8735 from ToolJet/main
Merge main back to develop (v2.28.2)
2024-02-08 10:53:35 +05:30
Nakul Nagargade
1421b53dd7
Fixes sentry issues (#8734) 2024-02-08 10:50:36 +05:30
Kavin Venkatachalam
f975f54dd3 Merge branch 'appbuilder-1.5' of https://github.com/ToolJet/ToolJet into appbuilder-1.5 2024-02-08 10:41:52 +05:30
Kavin Venkatachalam
5ac73d4b72 Merge branch 'main' of https://github.com/ToolJet/ToolJet into appbuilder-1.5 2024-02-08 10:41:24 +05:30
Nakul Nagargade
1831b77f3b
feat : New dropdown revamp (#8160)
* init textinput revamp

* updated styles panel

* bugfix

* updates

* fix :: accordion

* fix :: styling

* add box shadow , additional property,tooltip

* fix conditional render for styles

* redesign cell of dropdown column type

* redesign down arrow in the value container

* making down arrow display none when select element is focused

* feat :: fixed order of each property and styles

* feat :: styling input

* bugfix

* migration to move visibility and disabled state from properties to styles in appdefinition

* Migration changes

* Fix exposed variables

* Fix styles and add extra properties

* Merge fixes

* Add support for onHover show fx btn

* Fixes

* Migration move box shadow from general styles to styles

* Resolve  merge issues

* Add padding and fix background color not working

* 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

* initial commit

* fix :: added loader

* redesign select column type in table

* stopping event propagation upon clicking menu list to avoid row selection

* Revamp options UI

* updated :: few detailing

* few bugfixes

* fix :: for form widget label

* Add Dropdown styles

* Fix box shadow not changing

* bug fixes

* Fix styles

* Fix param updated not updating app def correctly when called twice

* fix checkmark

* fix merge issue

* fixes

* added option to add icon color

* Hide loading state when dynamic options are not enabled

* 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

* Add deprecated tooltip for exposed variable tooltip

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* Add scroll property

* 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

* Update default size

* fix :: password input

* Fix styling in toggle item

* Fix toogleItem padding

* Fix depreacted tag styling

* Fix scroll

* Fix autoWidth

* cleanup and fixes

* Add new option capability

* fixes

* cleanup

* Fix bugs

* fix height

* fixes

* Fixes

* Remove commented code

* Fix validation error

* 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

* Fix

* feat :: change validation from properties

* ui fixes

* icon name

* hide scroll when style scroll property is disabled

* Add icon colour

* Fixes

* Fixes

* fix

* 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

* Resolve code comments

* fix

* label issue + restricted side handler

* Resolve code comments

* Fix

* fix :: box shadow bug

* fixes after merge

* Fix tooltip

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* Resolve code comments

* fix :: for modal ooen bug during onfocus event

* test slider

* Resolve code comments

* fix :: bugs regarding state update in checbox , slider , slider bug

* update slider with radix slider

* bugfix

* fix auto widh bug

* updae margin

* few fixes renamed style ppts

* stylefix

* Fix QA comments

* Border color in form keep blank

* Fix padding issue

* Add empty string as or condition.

* Fixes

* fixes

* console commit remove after

* fixes

* fix

* Fixes

* Fix QA comments

* fix :: config handled not getting focused on hover of the component

* Fix QA comments

* typo

* Fixes

* Fix QA bugs

* CSA names fix

* Fix cases CSA actions

* changing to running

* Fix bugs

* Fix bugs

* Fix tooltips

* Fix tooltips

* Fix loader styles

* Fixes

* Fix merge conflict issue

* fix QA bugs

* Fixes

* Fixes

* fix

* Remove validation

* expose input value for search text

* Fixes

* Remove table changes

* migration: Move visibility and disabled states from style to properties (#8638)

* Move visibility and disabled states from style to properties

* Add tooltip in general

* Adding batching

* Fix migration

* Remove unnecassary comments

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
2024-02-08 09:30:40 +05:30
Kiran Ashok
5a3ec54459
fix: Modal crashing , fixes in form with custom schema (#8719)
* fix :: for modal crashing , custom form showing labels for input

* removing validation as there is no fx

* alignment and fixing resize issue in form with custom schema

* fix : center modal
2024-02-08 08:54:13 +05:30
Kavin Venkatachalam
53ad5fd60f
feat: Added a scrollbar on pages menu in viewer (#8715)
* Added a scrollbar on pages menu in viewer

* Add overflow

* Fix last page not visible

---------

Co-authored-by: Nakul Nagargade <nakul@tooljet.com>
2024-02-08 08:50:14 +05:30
vjaris42
23da76d1cc
added: checks for oauth credentials (#8722) 2024-02-07 17:34:38 +05:30
gsmithun4
4c1eb5f71c bump version 2024-02-07 17:33:49 +05:30
Arpit
c13610df1c
fix: query details are not available in the current state before the query is run (#8717)
* Restored query details to current state.

* use getCurrentState instead of getting the entire state of the current state store, as we dont want to expose the actions
2024-02-07 14:45:48 +05:30
Arpit
c2e45273ce
[hotfix] : import/export api not picking display preferences of widgets (#8673)
* fixes: importing apps should pick up options from exported display preferences

* bumped up the version
2024-02-07 13:22:29 +05:30
Kavin Venkatachalam
755bd6cd4b
feat: Small revamp on Chart component (#8683)
* Added onClick event to chart component

* Updated event name

* Resolved review comments

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* Resolved review comments

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>

* Add CSA to clear out clickedDataPoint of chart

* Exposed chart titles

* Removed the double click delay

* Reverted the title change

* Added bgColor & double click event

* Added border radius for chart component

* Added support of object values in JSON schema

---------

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2024-02-07 13:22:13 +05:30
Nakul Nagargade
533dc3c161
feat: Text component revamp (#8097)
* 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

* migration to move visibility and disabled state from properties to styles in appdefinition

* Migration changes

* Fix exposed variables

* Fix styles and add extra properties

* Merge fixes

* Add support for onHover show fx btn

* Fixes

* Migration move box shadow from general styles to styles

* Resolve  merge issues

* Add padding and fix background color not working

* 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

* fix merge issue

* 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

* Add deprecated tooltip for exposed variable tooltip

* fixing edge cases

* removing resize

* backward compatibility height

* backward compatibility

* number input review fixes

* added exposed items

* fixing csa

* Add scroll property

* 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

* Update default size

* fix :: password input

* Fix styling in toggle item

* Fix toogleItem padding

* Fix depreacted tag styling

* Fix scroll

* 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

* Fix

* feat :: change validation from properties

* ui fixes

* icon name

* hide scroll when style scroll property is disabled

* Fixes

* 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

* Resolve code comments

* fix

* label issue + restricted side handler

* Resolve code comments

* Fix

* fix :: box shadow bug

* Fix tooltip

* on change event doesnt propagate exposed vars correctly

* adding debounce for slider value change

* fix :: for modal ooen bug during onfocus event

* test slider

* fix :: bugs regarding state update in checbox , slider , slider bug

* update slider with radix slider

* bugfix

* fix auto widh bug

* updae margin

* few fixes renamed style ppts

* stylefix

* Fix QA comments

* Border color in form keep blank

* Add empty string as or condition.

* fix :: config handled not getting focused on hover of the component

* Fix QA comments

* typo

* Fixes

* Fix QA bugs

* CSA names fix

* Fix cases CSA actions

* Fix tooltips

* Fix loader styles

* Fix merge conflict issue

* fix

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2024-02-07 12:40:55 +05:30
Nakul Nagargade
d1f76ac865
fix: Maintained pages order in viewer same as editor (#8701)
* Fixes pages not as per same order as in editor.

* Fix
2024-02-07 12:00:24 +05:30
Manish Kushare
d11bbadb07
fix: In mobile view components are not showing up for the launched apps (#8705)
* Fixed : components are not visible in the launched app mobile view

* refactored the code

* removing unwanted code change
2024-02-06 16:32:19 +05:30
Ajith KV
4ee2744331
Modified platfrom cypress test cases (#8709)
* Modify platfrom cypress test cases

* Modify manage groups test case
2024-02-06 16:16:06 +05:30
Kavin Venkatachalam
e686da1e55 Merge branch 'appbuilder-1.5' of https://github.com/ToolJet/ToolJet into appbuilder-1.5 2024-02-06 15:20:28 +05:30
Kavin Venkatachalam
1b040c4ec8 Merge branch 'main' of https://github.com/ToolJet/ToolJet into appbuilder-1.5 2024-02-06 14:58:13 +05:30
Adish M
06889f7862
Merge pull request #8710 from ToolJet/update-cypress-env
Added marketplace env var in cypress action
2024-02-06 14:55:47 +05:30
Nakul Nagargade
d0e22a9f54
feat: Preview App header revamp (#8384)
* Preview App header revamp

* Fixes as per new design

* fixes

* Fix

* commit

* Add mobile mode in viewer

* Add on banner click redirecting to tooljet website

* fixes

* Hide scrollbar in viewer mobile

* Change text to built with

* Design feedback

* Fix design feedback

* Resolve code comments

* Remove consoles

* Remove file

* Resolve code comments

* fix

* Fix on launching from dashboard preview settings still available

* Fix tooltip placement

* Fix QA bugs

* Added mobile preview mode
2024-02-06 14:51:47 +05:30
ajith-k-v
3262059041 Add marketplace env var in cypress action 2024-02-06 14:51:44 +05:30
Manish Kushare
dc89ba45b3
feat: CSA to select and deselect all rows in the table component (#8674)
* Added csa to select rows in bulk

* empty dependency array

* added csa to deselect all rows

* Avoided using of two different use effects for selecting and deselecting all rows

* added property to dependency array
2024-02-06 14:08:22 +05:30
Manish Kushare
84a42ce20e
feat: enable or disable row selection on click of cell using property (#8581)
* enable or disable row selection on click of cell using prop

* Changed allowRowSelectionOnClick property name to selectRowOnCellEdit

* Not showing fx button for selectRowOnCellEdit property

* avoiding event getting propagated for action button when select row on edit cell is false

* code refactor - removing unwanted code

* code refactor - removing unwanted code
2024-02-06 14:06:49 +05:30
Sherfin Shamsudeen
213b94b803
Feat: query parameters for all queries (#8347)
* Extend parameter support to all query types

* Use query manager state for RestAPI options

* Put parameter list on query manager header

* Make parameter list adapt to available space in header

* Update codehinter preview when parameters are updated

* Update styling of query parameters towards design

* Support parameters in all queries if builder has added it

* Avoid using query parameters argument for other internal data relay

* Rename parameters to userSuppliedParameters

* Resolve the bug that caused codehinter schema validation to not work

* ui fixes

* review fix

* Do not show number of parameters

* import current state instead of store in codehinter

* Import using @ prefix in codehinter

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

* Remove unnecessary css comment

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

* Resolve import error in query manager

* design fixes

* fix :: colors

* fix :: pill color

* review fixes

* fix bg color

---------

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2024-02-06 14:02:36 +05:30
Nakul Nagargade
c1c3f85641
feat: Add setFilters and clearFilters CSA in table (#8637)
* Add setFilters and clearFilters CSA in table

* Remove console log

* Add this CSA in component actions

* Resolve code comments
2024-02-06 11:51:41 +05:30
Kiran Ashok
80506decb4
feat: Textinput , Passwordinput , Numberinput revamp (#8079)
* 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

* fix :: bugs regarding state update in checbox , slider , slider bug

* update slider with radix slider

* bugfix

* fix auto widh bug

* updae margin

* few fixes renamed style ppts

* stylefix

* fix :: config handled not getting focused on hover of the component

* typo

* fix :: side dragging got disabled

* changing everything to sentence case

* removing unwanted exposed vars

* expose labels

* typo

* fix mandatory position

* fix :: for warning icon for deprecated csa's

* fix :: when switching layouts box size is not updated
2024-02-06 11:42:05 +05:30
Nakul Nagargade
cee7327453
Add loader when creating and updating events (#8588) 2024-02-06 11:28:43 +05:30
Nakul Nagargade
49e56f521c
Fire row click event on checkbox click in table (#8616) 2024-02-06 11:24:38 +05:30
Kiran Ashok
1a3ed80ac1
fix: Only one of the events trigger when multiple events with debounce is created (#8163)
* fix :: events with multiple debounce not triggering

* check and remove debounvce key if not required

* update as uuid

* revert

* revert
2024-02-06 10:42:13 +05:30
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
Adish M
4783cfda01
Merge pull request #8694 from ToolJet/update-cypress-env
Added marketplace env var in cypress action
2024-02-03 15:35:03 +05:30
ajith-k-v
67a0b3b2c9 Add marketplace env var in cypress action 2024-02-03 14:47:40 +05:30
Arpit
c643a8128f
fixes: app versioning with kannban children and import export apps (#8407) 2024-02-01 11:38:44 +05:30
Shubhendra Singh Chauhan
ed428ff8ee
[docs] how-to:print data from multiple tabs (#8576)
* [docs]how-to:print data from multiple tabs

* [docs] how-to: print multi tabs data

* typo fix

* changes after review
2024-01-31 13:49:56 +05:30
Shubhendra Singh Chauhan
8827e9eb8a
[docs]how-to: setup log file generation(rsyslog) (#8661) 2024-01-30 18:02:10 +05:30