* Fix:Show popover in calnder in editor mode when clicked outside the editor
* Fix:Show popover in calnder in editor mode when clicked outside the editor, replace variable
* Fix:Show popover in calnder in editor mode when clicked outside the editor
* Fix:Show popover in calnder in editor mode when clicked outside the editor, replace variable
* Merge develop.
* Fix:Show popover in calnder in editor mode when clicked outside the editor, replace variable
* bug fixed
---------
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
* Created form widget
* Fixed the same name issue in defaultChildren
* Dynamically added buttons to the form inspector
* Added data to exposed variable and handled button click
* Added Reset functionality, CSA to the form widget
* Added Form widget icon
* form component docs
Co-authored-by: Shubhendra <withshubh@gmail.com>
* chore: apply primary-color in more places, ensure svg use currentColor too
* fix: remove hard-coded colors to use defaults
* fix: those images were intruducing noise when switch to dark-mode
* fix: setup colors for rc-slider
* fix: empty all predefined-colors to use defaults
* Use primary-rgb-darker
* moved disbale and visible state to properties tab from styles and made fx default for each
* added hover event
* added loading,visible, and disable csa props and handled them in widget
* made General and layout menus open by default in widget inspector
* added migration for visibility and disabled prop
* removed unwanted visible prop in the properties object
* made fxActive true in migration file
* added loadingState active fx in migration
* refactored widget
* refactored button widget
* bug fixed
* bug fixed
* bug fixes
* replaced onMouseMove with onMouseOver event
* changed the type of action for loading, visibility and disable to toggle
* moved all register action inside useEffect
* removed register action function from useEffect and made the requested changes
* fixed visibility bug
* avoiding extra render
* made changes for better readability
* removed unused import
* Add and modify data-cy attribute for elements
* Modify faker file for random rgba hex code
* Add methods specific for button widget
* Add and modify common selector and text file
* Add and modify common widget methods
* Modify button text file
* Modify button widget happy path file
* Remove button selector file
* Modify multiselect widget happy with new methods
* Modify verify box shadow css method
* Add and modify common selector file
* Modify button text file
* add and modify specific methods for button widget
* Add and modify custom commands
* Add and modify common widget methods
* Add app preview and modify button widget happy path
* Add and modify data-cy attribute for elements
* Modify multiselect widget happy with new methods
* Modify data-cy attributes
* Add review changes
* Add data-cy attribute
* Add review changes
Co-authored-by: arpitnath <arpitnath42@gmail.com>
* Build architecture for component specific actions
* Resolve references component action variables
* Add architecture to read component action params from widgetConfig.js
* Add Set table page to component specific actions
* List only components with actions for control component action
* Make component specific actions async
* fx button styles
* fx in action types
* Improve zIndex for component action param select
* fix for select component width
* adding margin to remove height toggle during fx
* Updated SelectSearch with Select
* Added component specific action to Text widget
* Fixed bug on showing the component with actions
* fix :: fx should align neatly inside the empty space designated for it,If type is not specified, codehinter full width
* removing bug :: popover closes on select
* height toggle bug
* Ensure that action is cleared when a different component is selected
* bugfix :: select width issue
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
* 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
* text-input widget
* button widget
* fix text input widget
* number input widget
* checkbox widget
* refactor checkbox
* radio btn widget
* dropdown widget
* refactor textinput and number input
* updated state variable
* Remove usage of component and currentState prop in dropdown
* Reset dropdown value whenever option set is changed
* Make text input respond to changed in its default value property
* Radio button component fix
* default value for number input: fixed
* Fix validation on Text Input component
* Use useState hook to manage value of text input component
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* github actions for PR and push to develop branch
* test workflow
* move to workflows folder
* add setup node action
* modify build
* specify npm version
* config unit test
* specify host postgres
* specify container to run on
* add postgresql dependency
* add specify ws adapter for test
* add e2e test
* fix linting
* only log errors on tests
* update eslint config
* fix linting
* run e2e test in silent mode
* fix library app spec
* dont send email on test env
* fix org scope
* mock env vars
* remove reset modules
* force colors
* explicitly close db connection
* add eslint rule for floating promises
* update workflow
* fix floating promise
* fix lint
* update workflow
* run on all push and pulls
* update lint check files
* simplify workflow
* increase js heap size on env
* separate lint and build
Co-authored-by: arpitnath <arpitnath42@gmail.com>
* Better canvas
* Better canvas
* Better canvas
* Fix for resize
* Fix for drag
* Fix for drag
* Fix for drag
* Adjust width of components by # of grid lines
* Adjust components to comply with gridline based width
* Fix the width of rigth sidebar
* Fix for subcontainer resize issue
* Fix for dropped widget width (sc)
* Fix subcontainer drag width
* Fix grid for sub container
* Fix viewer
* Fix
* Fix
* Use RnD for dragging within canvas
* bounds for subcontainers
* fix for subcontainers
* Fix for mouseover issue
* Fix
* Fix widget widths
* Fixes chart
* Fixes qr scanner and divider
* Remove scaleValue
* Mmerge fix
* Mmerge fix
* Fix for ormconfig
* Fixes for comments
* Add comment where the user clicked
* Disable dragging on viewer
* Max width for canvas
* Fix for widget click events
* Fix for radio button
* Rebase widget width and left offset for responsive canvas
* Fix
* Fix the width of file picker
* Fix for calendar widget
* Disable zoom selector
* Fixes comment positions
* css fixes
* Fix
* Recompute width and offset of subcontainer widgets based on its parent's width
* Calculate container width separately for modal children while migrating to responsive
* Refactor migration to responsive canvas whereinwhich all mutations are done only after all required changes are computed
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* Make widget properties available as a prop to component
This commit also make the front-end app resolve widget properties
based on current state and definition, before passing in the final
resolved properties to the component
* Resolve unnecessary console.log and comments
* Provide styles as prop to component
* Give existing values precedence over definition values
* Serve properties and variables as separate props to components
* Remove the usage of separate directory for Box.jsx
* Remove unnecessary lint change
* Introduce fireEvent method to fire events
* Introduce validate function to validate a widgets value
* Rename "variables" to "exposedVariables"
* Add documentation for props and functions being passed to widgets
* Delete "id" from set of exposed variables presented to the widget
* Do not resolve exposed variables before passing to widget
* widgets can be disabled
* removed whitespace
* move to styles definitions
* default values fixed with nullish operator
* proper data attributes
* generic resolver function for widget value
* renamed the style property
* Add support for editing and deleting components inside container
* Dont allow config handle click event to propagate
* Supply removeComponent method for Container component