Commit graph

24 commits

Author SHA1 Message Date
Kiran Ashok
c677c964cb
hotfix: Remove restricted height in inputs (#8908)
* fix : when 2 inputs are placed adjacent it should touch each other

* fix : cleanup

* fix : alignment issue in inputs

* fix : alignment issue

* typo

* fix : height for previous components

* fix

* making default text intend to -1px

* fix

* removed resize dependency

* fix
2024-02-26 17:06:39 +05:30
Midhun Kumar E
14f714529e
Add and fix data-cy (#8872) 2024-02-20 21:28:24 +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
Kiran Ashok
76ca8e577c
review fixes (#8714) 2024-02-08 11:25:46 +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
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
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
c651b5b510 Resolved merge conflicts and version bump 2023-09-04 13:42:50 +05:30
Kiran Ashok
aabe7bb492
Feature :: Exposing CSA for child widgets of form and listview (#7142)
* feat :: exposing child widget of form and listview  , removing register action

* feat :: exposing only components and not child items

* fix :: removing value of funcation info

* lint fixes

* reverted

* test commit :: lint fix

* fix :: initial render showing all components

* fix :: data and children values are same

* kanban breaking fix

* fix for exposed variable not being accessible in initial render

* comments

* fix :: all components showing up in inspector during initial render for form and listview widget

* reduce rerenders in button due to exposed vars

* combining useeffects for lesser rerenders

* fix showing of child widgets of list and form in inspector during intial render

* fix :: ui break

* combining useeffects in form

* test commit :: reducing rerenders fromsetexposed variable called multipole time

* fix :: reduce rerenders by combining multiple setExosedvariable calls

* Revert "fix :: reduce rerenders by combining multiple setExosedvariable calls"

This reverts commit 78c9e46944.

* bugfix

* bugfix :: events not firing

* fixes and revertions

* fix :: perf checking for parent in box in case of form and listview

* fix :: initial render bug

* fix :: removed csa functions from listview data key

* fix bugs , actions not working

* fix :: dependencies

* fix :: testing bugs

* tabs:: event firing bug

* fix :: multiselect not firing event

* bugfix ::  multiselect csa not triggering

* fix :: kanban csa

* fix :: table csa , kanban move card

* fix :: bug filepicker csa
2023-09-01 13:55:03 +05:30
Rahul Waghmare
18d8358fbc
bug:fixed / PasswordInput Component Not Adapting to Dark Mode (#7035)
* Bug fixed Password input box dark mode issue

* CSS fixed added support to apply style from widget inspector
2023-08-11 10:40:45 +05:30
Kiran Ashok
402c8878f5
Bugfix :: Validation errors should only be shown once the user has made a change (#7067)
* fix :: show validation error only when user has interacted with the widget

* showing error in textinput only when user unfocuses input

* updating password widget

* show invalid border only on interaction :: password input
2023-08-09 09:09:18 +05:30
Kiran Ashok
4267027465
Bugfix :: Box shadow is getting applied to the surrounding box (#6802)
* feat :: temp commit added box shadow for freq used components

* fix :: box shadow for all components

* cleanup

* review :: changes , sending boz shadow with styles

* fix :: apply box shadow to the item instead of container

* fix :: daterange picker shadows
2023-06-29 15:14:05 +05:30
Midhun Kumar E
633edc7271
Added data-cy for all the components. (#5385)
* Add dataCy Prop

* Add data-cy for all the components

* Add data-cy for all the custom component
2023-01-24 17:22:35 +05:30
Arpit
c2af1f52e3
eslint fixes for frontend (#4706) 2022-11-03 19:34:37 +05:30
Mohammed Bajuaifer
daeada1b00
Add onChange event to passwordInput (#4218)
* closes #4173

* fix lint errors

* fix lint

* Update frontend/src/Editor/Components/PasswordInput.jsx

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

* Update PasswordInput.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-11-03 17:02:38 +05:30
Srisuma Atluri
ff00f744ba
Adds background color property to password input editor (#4190)
* adds background color to password input editor

* fix lint and add default

* add ,

* adds default color #fff

* add default value for background color in config

* delete space

* adds default in definitions obj

* fix lint
2022-10-26 10:05:23 +05:30
Ajith KV
9c3ad28013
Add happy path spec for password input widget (#4112)
* Add data-cy for password input widget

* Add spec and constants

* Add review changes

* Modify spec with new utlis functions

* Add review changes
2022-10-14 17:16:09 +05:30
Arpit
0a8a01e002
[Bugfix] fixes app freeze, when password widget drops inside a listview (#4018)
* fixes app freeze, when password widget drops inside a listview

* fix:darkmode
2022-09-12 12:34:27 +05:30
Manish Kushare
1cf6b3340f
bug fixed : Password Input widget is not consistent with the dark theme (#3992) 2022-09-12 09:18:46 +05:30
Kiran Ashok
c836d861cf
Border radius style for input widgets (#1972)
* updating File picker
Text input
Text area
DateRangePicker
Datepicker
PasswordInput
NumberInput
TextInput
codeEditor, to include border radius style option

* change to number input

* theme file updated to remove override for border radius

* change to number input

* text input updated with border radius style

* updated with border radius

* date range picker border radius removed

* removing overiding class
2022-01-29 07:06:08 +05:30
Arpit
bf4ac12a7b
lint fixes (#1686) 2021-12-30 17:27:02 +05:30
Arpit
da670a8310
new implementation/password-input (#1483)
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-14 16:48:25 +05:30
navaneeth
4641342038 Fixes width of iframe, code editor & password input 2021-12-07 20:51:20 +05:30
Arpit
cb78a73105
Password input widget (#1172)
* password input widget

* revert: textinput default value
2021-10-21 21:53:11 +05:30