* added component specific action
* remove the type from params of the action object
* changed action and handle name
* fire event on select
* If the value is not a part of the set of available options, then the exposed value should be undefined
* fixed the logic to set exposed variable to undefined for invalid option
* removed console's
* expose and use updateRegisteredAction to update action whenever dependencies change
* Add support for dependencies in registerAction callback
If dependencies are provided, the registerAction callback will update
the action whenever the dependencies are updates. This is similar to
how useEffect works.
* Remove unnecesary code
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* added component-specific action to set and clear value
* updating exposed variable
* updated docs
* update the docs
* set exposed variable to empty string upon clear action using controlled components
* onChange event is fired for the actions
* 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>
* Feature : Color picker
* added border to the widget,handled theme changes, positioned color picker
* updated widget icon
* Bug fixed : color picker pop-up vanishes, if we don't manoeuvre the cursor surgically.
* changed default color type to color
* fixed bug: app getting crashed for undefined default value, if default value is not valid hex color code, widget will show invalid color instead of crashing
* removed highlighting invalid color with redcolor, for invalid color set exposed values to undefined
* added HTML widget
* removed console
* removed injecting css to the html page
* Shorten the div of default code for HTML widget
* Updated widget icon from tabler icons
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
* added instruction text property in file pciker to make user unable to provide custom instructions
* Added default instruction text
* made the changes to make sure existing app do not crashes because of instructionText prop
* Solve issue - existing file pickers wont display anything if we don't default to the default instruction text
* changes in operation.json file
* migration script for adding instructionText prop
* removed unwanted operations.json file
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
* init kanban board widget
* kanban board
* reverts to beautifully
* kanban UI updates and dnd fixes
* bugfix: when dropped outside the col, should return back to it inital position
* updates min-width of the column
* container and widget styles
* style fixes: column container onDrag
* adds button for new group
* fixes new card overflow
* add btn for adding cards
* groups and cards updated
* add property definition
* improves draggable card position while drag is active
* handle delete group/col
* handle col/group title updates
* handles editing card title
* style fixes for input cursor
* cleanup
* card popover with codehinter fields
* minor card fixes
* updates exposed variable
* simplify boardData into cols and cards
* adds width and min-width style definations
* build board from queries
* handle draggable rbd-id
* removes add group card and delete group option
* fixes typos
* show empty state message
* fixes typos
* removes card extra border color
* fixes column typi and cards updates issue
* adds enableAddCard property defination
* adds accent color options
* default style accent color
* accent color fix
* revets popover with hinter
* fixes card drag and drop
* removes hook
* fixes: state synced with property defination updates(col and cards data)
* fixes: on re-arranging the card via dnd, update the card content
* handles if card columnId is updated
* adds card container layer
* clean up
* dark theme
* fixes card onDrop issue
* renamed the exposed variable data --> lists
* adds custom resolvers to the popover
* handle widget crash when non iterables are passed
* updates default card and col value
* fixes dnd issues for dynamic card values
* refactor: cleanup
* handles empty and undefined cardData
* fixes Height of widget is changing when popover thing is displayed.
* fixes: updating card data in widget inspector
* fixes: updating column data in widget inspector
* fixes adding cards for newly created groups/columns
* clean up
* Add kanban event onCardAdded and expose lastAddedCard
* Add onCardRemoved action and expsed lastRemovedCard variable
* Add events and variables for card movement and selection
* Add card edit feature for kanban widget
* Rename lastAddedRemoved to lastRemovedCard in kanban
* Rename lists to columns on kanban board
* Set max height of kanban column to respond to widget height
* Have "Add description" link if there is no description for Kanban cards
* kanban docs
* Change text from "add +" to "Add card" on kanban
* Validate card data before update
* Add tip about card id type on kanban documentation
* Add default min width and width for kanban
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
Co-authored-by: Shubhendra <withshubh@gmail.com>
* 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>
* 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>