Commit graph

3053 commits

Author SHA1 Message Date
Kiran Ashok
26f9b0334d
fix: Loader position in text widget , migration fixes (#8793)
* fix :: loader position in text widget

* removing default value migration

* fixed :: fallback default value of border radius to 4px itself
2024-02-14 23:27:43 +05:30
Kavin Venkatachalam
4958bc581e Merge branch 'main' of https://github.com/ToolJet/ToolJet into appbuilder-1.5 2024-02-14 22:33:20 +05:30
Nakul Nagargade
63d7a0c33b
fix: Add scroll on hoverin text component (#8785)
* Add scroll on hover

* Add optional check

* Add firefox styles

* Hide horizantal scroll

* Fix scollbar width
2024-02-14 22:22:52 +05:30
Kiran Ashok
97de480bed
fix: Integration fixes for inputs ( Alignment issues ) (#8737)
* fix :: bottom resizer not showing

* fix :: issue with auto width not getting applied

* fix :: size diff updated btw dropdown and developed components

* remove default value migration

* update border color , fix for width resize during auto

* make label as a separate component

* updated text input

* updated every input to make it consistent

* make label as a separate component

* removed unwanted code

* fix :: added datacy

* padding fix

* check padding

* updating padding as 0px for none and 1px for default and other

* fixes for maigration and resizer alignment issue

* updates

* size fix

* lint fixes

* fix migration

* text loader fix

* migration for older text component alignment

* fix :: migration and number input arrows

* fix :: custom schema form

* fix :: custom schema for text

* migration for vertically aligning text

* migration update

* changed vertical alignment to center default

* asterisk fix , mozilla number input ui issue

* fix :: icon issue

* fix number input

* bugfix

* remove unwanted code

* fix :: asterisk
2024-02-14 18:14:35 +05:30
Arpit
3a40f87213
[hotfix] fixes: mobile view rendering of components (#8778)
* fixes: mobile view rendering of components

* fixes: current layout selection on mount

* fixes: fixes: mobile view rendering of components

* bumping version
2024-02-13 16:48:48 +05:30
Kavin Venkatachalam
e52296f495
Merge pull request #8772 from ToolJet/fix/rename_app
updating app state on renaming
2024-02-13 11:38:23 +05:30
Muhsin Shah C P
5129df6e90
app organization id decamalization issue (#8768) 2024-02-12 18:24:30 +05:30
Manish Kushare
7d250afacc
Inspector is not positioned properly in firefox (#8776) 2024-02-12 18:22:45 +05:30
Kritagya
f549c539a1 updating app state on renaming 2024-02-12 15:48:04 +05:30
Nakul Nagargade
a0c9011e6b
Add loader when deleting a event in inspector (#8741) 2024-02-12 10:04:54 +05:30
Nakul Nagargade
ed29add817
Fix react markdown applying margin bottom (#8761) 2024-02-09 19:34:18 +05:30
vjaris42
07a0164715
Fix: overlay of nav dropdown on pinned sidebar (#8758)
* fix: overlay of nav dropdown on pinned sidebar

* add changes to scss
2024-02-09 15:55:25 +05:30
Nakul Nagargade
4f26029bec
Fixes Border Radius and Box Shadow to sentence case (#8759) 2024-02-09 15:09:06 +05:30
Nakul Nagargade
cb09e12d84
Revert "feat : New dropdown revamp (#8160)" (#8756)
This reverts commit 1831b77f3b.
2024-02-09 14:46:53 +05:30
Johnson Cherian
6d15151a9d
fix: removed loader for preview when run button is clicked (#8740) 2024-02-08 14:08:00 +05:30
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
c8d0e3cc9e
Add data-cy to support dropdown automation (#8739) 2024-02-08 13:39:29 +05:30
Kiran Ashok
76ca8e577c
review fixes (#8714) 2024-02-08 11:25:46 +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
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
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
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
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
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
Arpit
f549976615
[hotfix] fixes: auto save is triggered on key press without any changes (#8639)
* fixes: auto save is triggered on key press without any changes

* bumped up the version

* fixes: runQuery should be able to fire fromcustom component (#8652)
2024-01-29 15:58:14 +05:30
Ajith KV
dffbc28c0f
Add data-cy for group duplication modal (#8644) 2024-01-29 12:28:10 +05:30
Manish Kushare
524b06c823
app could not save error on resizing column width fixed (#8635) 2024-01-29 11:54:37 +05:30
Ajith KV
ad23cf2471
Add data-cy for new componets (#8618) 2024-01-23 12:29:53 +05:30