Commit graph

535 commits

Author SHA1 Message Date
Sherfin Shamsudeen
65cc6b562e
Feature/tabs tabs (#3235)
* Fix

* Fix

* Fix

* Fix

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-06-09 11:45:48 +05:30
Kiran Ashok
5664803194
Feature :: event firing on tab selection in Tabs widget (#3193)
* tabs event

* completed event firing on selection tab

* pr changes :: renaming event

* updated event
2022-06-08 12:20:51 +05:30
Manish Kushare
675e87157b
added default prop in checkbox widget (#3063)
* added default prop in checkbox widget

* removed unwanted code

* changing defaultValue prop display name to Default Status

* added value key in exposedVariables prop

* Fixed :  the issue where checkbox is getting filled instead of checked

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-06-02 13:08:47 +05:30
Kavin Venkatachalam
ed43ca844a
[Feature]: Added universal props for widgets with Tooltip (#3096)
* Added universal props for widget

* Fixed lint issues

* Updated export name

* Fixed lint errors

* Updated genral variable name

* Updated file name in doc
2022-06-02 11:51:52 +05:30
Kiran Ashok
9b557d11b9
Feature :: Button group widget (#2977)
* button group initial

* updates

* updating value logic

* updating all selection and normal styles

* bugfixes and icon change

* cleanup

* fixing button width

* changing non dynamic styles to theme

* updating padding

* PR changes :: updating with same margin for label

* pr changes :: updating default bg colour for selected

* exposing selected items

* fixing alignment to column

* fixing issue with default active

* updating transition

* initial selected element

* initial selection

* updating with documentation

* intermediate update fixing labels

* fixing multiple edge cases

* cleanup

* updating label

* fixing pending pr issues :: changing default selected as array

* multislection toggle fix

* fixing label padding
2022-06-01 13:50:02 +05:30
Manish Kushare
cacce68713
Added default table type prop to table-bordererd in component.js (#3161)
* added default table type prop to table-bordererd in component.js

* shifted back  to previous logic
2022-06-01 06:36:34 +05:30
Kavin Venkatachalam
7a419796e3
PDF url null check added (#3142) 2022-05-30 14:06:10 +05:30
Arpit
9da311c68f
[Improvement] Filepicker widget : The file picker should reject files with existing file names. (#3046)
* fixes: multiple files with same file name can be uploaded

* removes unwanted logs

* compare file paths for validating existing selected files

* disable picker if max count is reched

* fixes loading spinner postions

* max file count for single selection

* disables the dropzone on max count only when multiple is true

* show max count msg for dnd file to the dropzone

* clean up

* check already selectedFile count with max file count on adding new files

* reverts accepted file data for singly selected files

* Remove validation for existing files on filepicker

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-05-25 17:05:32 +05:30
Manish Kushare
6b6cb5fc32
[Improvement] : Filepicker widget (#3021)
* solve the bug- now only 1 message is shown for exceeding max file count

* added edge case to only show unique error message

* persisting previous accepted files upon rejecting a file

* fixes: retain existing selected files on rejection

* cleanup

* fixes: dropzone active even with listed selected files

* handles rejected files sizes for error msgs

* on dialogue box closed, should list files if exits

* fixes: show list of files if exits when files are rejected

* fixes: show list of files if exits when files are rejected

* fixes reject message for file sizes

* clean up

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2022-05-24 15:49:33 +05:30
Manish Kushare
57da2b640c
added default value in the toggle widget (#3059)
* added default value in the toggle widget

* make sure existing apps do not get crashed if they don't have default value prop

* removed unwanted code

* changing defaultValue prop display name to Default Status

* added value key in exposedVariables prop
2022-05-24 03:45:03 +05:30
Kavin Venkatachalam
d6b941227e
Updated cursor on hovering image widget (#3080) 2022-05-24 03:37:51 +05:30
Ajith KV
2db14dd9f5
Cypress test for button widget (#2989)
* Added cypress test for button widget

* Added custom commands

* Updated common selectors

* data-cy attributes for the elements

* Updated the login end point

* Updated new login end point

* Added data-cy attribute for autosave indicator

* Updated login end point

* Updated test for auto save indicator

* Updated custom commands for skipping instruction modal
2022-05-16 15:39:10 +05:30
Kiran Ashok
e0e8b6f50b
Feature :: Image widget enhancements (#3007)
* adding loadingstate and object fit style

* adding zoom functionality

* pan image function

* fixing pan for image

* pan and drag fix image

* library install

* pr changes:: hover button , object fit made dropdown

* fix for old apps

* updated docs
2022-05-16 14:40:44 +05:30
Manish Kushare
145f4d81db
solved border radius & alignment issue after selecting file (#3032) 2022-05-16 14:32:10 +05:30
lewisyng
dc16faa0b2
Fixes typo in file picker widget (#3048) 2022-05-12 06:52:26 +05:30
Kavin Venkatachalam
b16a74dcf1
[Feature]: PDF Widget (#3035)
* Created PDF Widget

* Added color to page number to support dark mode
2022-05-11 18:51:10 +05:30
Kavin Venkatachalam
7c30a830db
[Feature]: Custom Component Widget (#2960)
* Created custom component widget

* Updated the custom component key

* Added doc for custom component

* Update iframe.html

* Installed HTML parse in dependencies

* Updated script source

* Added scripts to CSP

* Added Skypack to CSP

* Fixed Run Query issue in Viewer
2022-05-10 15:09:09 +05:30
Manish Kushare
acd9ae26cf
Made timeline scrollable on shrinking the height or width (#3013) 2022-05-09 18:55:31 +05:30
Muhsin Shah C P
197f313f66
[Feature] Added textSize style to the text widget (#2948)
* Added textSize style to text widget

* Added new migration

* Edited the migration file
2022-05-09 13:35:02 +05:30
Manish Kushare
03f400bf52
Added loading state for statistics widget (#2882)
* added loading state in Statistics Widget

* removed unwanted uses of hooks and destructured loadingState from the properties
2022-05-08 05:10:51 +05:30
Kavin Venkatachalam
e32819e57b
Fixed default value issue in dropdown widget (#2988) 2022-05-06 18:11:26 +05:30
Manish Kushare
817e367fdd
New widget: vertical divider (#2971)
* created VerticalDivider widget

* updated widget icon

* changed the width of the widget container, placed the vertical separator at the center of the widget
2022-05-05 20:03:12 +05:30
Manish Kushare
c6aa14ce72
Exposed variable of timer is set to default value after reset (#2950) 2022-05-04 08:11:27 +05:30
Arpit
7126beb14a
[chore] fixes eslint warning and errors (#2917)
* chore: lint warning and error fixes

* reverts changes to daterangepicker.jsx
2022-04-28 15:03:05 +05:30
Manish Kushare
9eed9b1134
Fixes text widget not showing zero and false (#2877)
* fixed Text Widget not showing zero and false

* made the required changes
2022-04-26 19:34:39 +05:30
Muhsin Shah C P
efeef4d0db
Resolved tabs highlight color issue (#2900) 2022-04-26 19:30:36 +05:30
Olaleye Blessing
1ee27bb004
bugfix :: disable cursor when pagination icons are disabled (#2867) 2022-04-21 15:35:46 +05:30
Kiran Ashok
dae2cc3379
[ enhancement ] :: added on select event (#2707)
* added on select event

* docs updated
2022-04-21 15:31:57 +05:30
Kiran Ashok
772c3bd56a
Bugfix :: datepicker widget shows current date when default date is set as empty (#2875)
* fixing default date bug

* Set arbitrary default date for datepicker, and empty default exluded dates

* If set date is invalid, ensure exposed value is undefined on Datepicker

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-04-21 14:18:51 +05:30
Arpit
9b285dacf5
[Bugfix]: Allow firing onSearch event of Table widget irrespective of server-side search is set to true or false. (#2660)
* resolves onsearch event for cliendside search

* removes un-used props
2022-04-18 23:39:41 +05:30
Kiran Ashok
5c3d8ffa71
[ Feature ]:: Datepicker exlcudedates addition (#2751)
* adding excluded dates property

* updates :: writing date parse function

* update parser

* logic update

* logic updated

* reimplemented logic for excluded dates

* typos updated

* pr changes

* pr changes

* cleanup

* docs updated

* default value changed

* cleanup
2022-04-18 23:12:50 +05:30
Muhsin Shah C P
f98c087e99
[Bug-fix] Date picker dropdown breaks table row (#2803)
* Solved a style issue

* Solved the date picker issue

* Solved table date picker ui issue
2022-04-18 23:02:58 +05:30
Kiran Ashok
58893c5139
[ Feature ] :: svg widget (#2806)
* svg icon

* svg component

* cleanup

* name updated

* name updated

* fixing overflow issue

* dafault image
2022-04-18 19:08:50 +05:30
Sherfin Shamsudeen
18ee640496 Merge branch 'main' into develop 2022-04-15 19:09:06 +05:30
Kiran Ashok
ec0bd7d2f4
fix for button loading state bug (#2823) 2022-04-14 14:41:30 +05:30
Mathías Donoso
8826c9f5ce
Updated widget names that were lowercase (#2817) 2022-04-14 09:27:19 +05:30
Kavin Venkatachalam
986472fef3
Hide tabs in Tab widget (#2784) 2022-04-11 16:59:17 +05:30
Kavin Venkatachalam
26203cfaf9
[Docs] Timeline widget reference (#2786)
* Doc for timeline widget

* Fixed a spelling mistake
2022-04-11 16:53:18 +05:30
Kavin Venkatachalam
769be2530c
[Feature] Plotly JSON: Added layout support to the chart widget (#2732)
* Added layout support to the chart

* Check CLA

Co-authored-by: Kavin Venkatachalam <kavin@Kavins-MacBook-Pro-2.local>
2022-04-08 19:45:18 +05:30
Kavin Venkatachalam
8ef1160615
[Feature] Timeline Widget (#2755)
* Added timeline widget

* Added dark mode support & ability to hide date

Co-authored-by: Kavin Venkatachalam <kavin@Kavins-MacBook-Pro-2.local>
2022-04-08 17:20:52 +05:30
Sherfin Shamsudeen
a9b6d00306 Merge branch 'main' into develop 2022-04-08 16:08:53 +05:30
Sherfin Shamsudeen
0c29f1a9f4
Fire onSelect when multiselect items are selected (#2771) 2022-04-08 16:07:07 +05:30
Manish Kushare
65ac215753
Hides custom validation when visibility of dropdown widget is set to false (#2765) 2022-04-07 18:35:48 +05:30
Felipe Carvajal
d13ba9cdc0
Feature/update timer behaviour (#2597)
* update: when countdown reaches 0 start button is disabled

* add: default values for Timer component

* add: default selection on paramUpdate if element updated is a select and component has default values setted

* refactor: add paramName to defaultvalue to not hardcode value name to update

* add: default values for Timer component and fix with proj lint rules
2022-04-07 16:15:14 +05:30
Arpit
b092226c49
fixes The selectedRow and selectedRowId is still populated with the previous data. (#2653) 2022-04-06 14:20:13 +05:30
Arpit
e64a273b0d
resolves crash for table cell types expecting input type array (#2665) 2022-04-06 14:13:43 +05:30
Abhinaba Adhikari
ea09f81db3
Set custom Button Loader color (#2292) 2022-04-05 16:57:22 +05:30
Kiran Ashok
b42659146a
[ Bugfix ] :: Date range picker width and height not growing with bounding box (#2628)
* fixing daterange picker width and height

* css update

* adding end and start default dates

* removing unwanted code
2022-03-31 16:03:56 +05:30
Kiran Ashok
4429cde723
fixing app freeze issue while giving empty array as default value (#2515) 2022-03-31 15:27:24 +05:30
Kiran Ashok
a034cb4338
Bugfix: when "make editable" toggle is false , edit option for column types (multiselect,select,datepicker) should be disabled (#2329)
* edit check included in datepicker , select and multiselect

* cleanup
2022-03-31 15:09:04 +05:30