* add onChange event and its handler
* add handler for slider change as well
* fix lint
* added onChange fire event when slider value is changed
Co-authored-by: manishkushare <[email protected]>
* Added Background Color to Text Input
* Added Default Value for Background Color
* added default value and make background of text input consistent with the dark theme
Co-authored-by: manishkushare <[email protected]>
Co-authored-by: Kavin Venkatachalam <[email protected]>
* fix: added background styles for number input
* fix: removed additional f from the background color property
* fix: added backgroundColor property from styles
* fixes: default bg color for dark mode
Co-authored-by: arpitnath <[email protected]>
Co-authored-by: Kavin Venkatachalam <[email protected]>
* #issue4174
* #issue-4174
* #issue-4174
* bug fixed : event is getting fired on reloading the component
* bug fixed : event getting fired on changing default value of the color picker from the inspector widget
Co-authored-by: manishkushare <[email protected]>
* Small fixes for Server-side filter button (#4571)
* fixes: show/hide server side filter toggle button when with resp to show filter button toggle
Co-authored-by: arpitnath <[email protected]>
Co-authored-by: Sherfin Shamsudeen <[email protected]>
* Number input text color
* Default value and missing commit
* Update widgetConfig.js
* Update NumberInput.jsx
* Update NumberInput.jsx
* Update NumberInput.jsx
Co-authored-by: Midhun G S <[email protected]>
* toggle button added for time selection and date selection in date picker widget, related to #3576
* Added validation for toggle values
Added validation for toggle values for enableTime and enableDate
* 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
* fixes: button bg color
* fixes: loader color
* container default bg color
* listview bg color
* fixes darkmode fro text widget
* default color for star rating
* fix :: resizing columns lead to sorting bugfix
* table width set to 100% always
* fix :: if filter is applied- download filtered data only
* add option to change number of results per page - client side pagination
* style fix
* removing space
* added option to show total records in serverside pagination , disableing navigation buttons
* number type
* name update
* updating position and conditional adding of new properties
* fix :: name change , only visible on clientside pagination
* fix :: removing scrollbar table
* updated with for borderless table
* fix :: removing scrollbar on 100 % width
* fix :: sort bug
* remove rowsper page on server side pagination
* update fix:: enable next and prev buttons - pagination
* fix :: name change , default set to true for server side pagination buttons
* Have enablePrevButton and enableNextButton fallback to true
Co-authored-by: Sherfin Shamsudeen <[email protected]>
* fix :: resizing columns lead to sorting bugfix
* table width set to 100% always
* fix :: if filter is applied- download filtered data only
* add option to change number of results per page - client side pagination
* style fix
* removing space
* number type
* fix :: name change , only visible on clientside pagination
* fix :: removing scrollbar table
* updated with for borderless table
* fix :: removing scrollbar on 100 % width
* fix :: sort bug
* remove rowsper page on server side pagination
* Enhancement :: table events :: onHover (#4104)
* adding over event
* added event to utils
* changed to mouseover
* fix :: limiting multiple hover triggers
* fix case :: when row is hovered and cursor moved out and in to same row , trigger event
* attaching ref to mouseover event
* restricting hover only if hover event is added
* using check for events
* code bugfix
* optimize
* fix :: filter download
* revert :: lock files frontend
* Remove unnecessary setting of columnSizes in table inpector
* Rough implementation of autogeneration of table columns
* Use custom mapping for autogeneration of table columns
* Use setTimeout to prevent race conditions while storing autogenerated columns
* Autogenerate columns only on new tables
* Do not generate columns that were deleted previously
* Autogenerate columns only in edit mode
* Re-render Inspector whenever app definition is updated
* Refactor table column auto-generation
* Remove unnecessary console.log
* Add Number data type support for table column auto-generation
* Remove unnecessary console.log
* Ensure that column key is stored in deletion history if it is available
* init
* adds server side filtering ability
* clean up
* fixes: on clearing filters, the event should triggered with latest update
* fixes: handle multi-filters
* debounce the fireEvent
* exposed active filters
* adds onFilterChanged event
* default value for filters should be an empty array
* remove column id from exposed filter variables
* 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
* added loading, disable, hidden states in the properties
* added onfocus and unfocus events
* added new csa
* added text color prop
* changed placeholder text
* bug fixed
* changed the type of action for visibility,loading and disable to toggle
* changed the default text color to black
* cleanup code
* reverting change - moving register action back to it's original space, out of useeffect
* removed unwanted loading action
* bug fix: app was crashing due to added array dependencies for blur and focus actions
* Created Icon Widget
* Installed tabler icons
* Updated visibility logic for icon widget
* Added doc for icon widget
* Updated hidden field & moved hidden logic to cx
* Dark theme for icon widget & updated visibility
* Moved visibility logic to useEffect
* Updated visibility CSA label
* Removed resolveWidgetFieldValuekey usage in the Icon widget
* Moved register action to useEffect
* Removed registerActions on useEffect
* Add setIconVisibility to dependency array of registerAction
Co-authored-by: Sherfin Shamsudeen <[email protected]>
* Created Link Widget
* Added empty line at the end in theme file
* Fixed overflow issue in Link widget
* Updated visibility in the link widget
* Added doc for link widget
* Updated link widget doc
* Set fxActive on by default for visibility
* Fixed variable typo in link widget
* Updated hidden property
* Updated visibility logic for link widget
* Moved visibility to styles section
* Moved register action to useEffect
* Removed registerActions on useEffect
* Removed dependencies in registerAction function as it is breaking inspector
* updated link doc
* Add clickRef of link component as dependency of registerAction
Co-authored-by: Shubhendra <[email protected]>
Co-authored-by: Sherfin Shamsudeen <[email protected]>
* 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
* init
* fixes: config-handler clickEvents
* fixes: position attributes for open state modal config handler
* modal body scrollable
* adds loadingState
* adds onOpen and onClose events for modal
* adds visibility property
* open general and layout Options by default
* adds styling options for modal header and body
* adds style options for show button and conditional rendering of button styles
* refactor conditional rendering styles
* clean up
* fixes typos
* remove footer
* modal size
* handles dark theme
* update naming convention for modal: trigger button
* modal size:updates
* updates modal close icon
* adds comments for conditionally rendering style options
* only vertical scrolling inside modals
* clean up
* custom UI for widget config handle for modal
* backfil
* resolves: event should not fire on mount
* modal improvements doc
* hide modal on clicking outside for viewer mode
* Remove unnecessary modification of modal property schema
Co-authored-by: Shubhendra <[email protected]>
Co-authored-by: Sherfin Shamsudeen <[email protected]>
* refactor Text widget
* refactored text widget
* bug fixed
* changed the type of action for visibility to toggle
* changed the default value of background color to transparent
* made event menu open by default in widget inspector
* made the suggested changes
* bug fixed : app was crashing due to visibility
* made changes to improve readability
* Updated the table UI
* made the search bar in sync with current applied theme in the application
* updated the UI of the table widget
* adjust x axis in the footer
* made the search text vertically center
* Load text color using new api in Table
* Load action buttons data using new api in table
* Revert usage of new api for table actions
* Use new api to load most properties and styles
* Move logic for loading styles and propeties to another file
* Table: Move loading of actions to separate file
* Move functions to expose data to codehinter to Box.jsx
* Table: Get loadingState from new api
* Table: Use reducer for storing table column properties
* Table: minor refactoring on reducer
* Table: Replace the use of internal state variable componentState
* Abstract out Filter as a separate component
* Move table column definitions to a separate file
* Move action column definition to a separate file
* Move IndeterminateCheckbox to a separate file
* Completely remove any requirement of loading from definition inside loadPropertiesAndStyles
* Reduce the use of reducer dispatch calls in Table.jsx
* Remove the usage of __TjDoNotResolve__
* Load actions without new API
* Update migration to make columnSizes follow default format
* Fix migration to restructure table column sizes data
* Do not update columnSizes property if incoming value is empty
* Remove unnecessary code
* Remove unnecessary linting
* Remove unnecessary reducer action
* Remove unnecessary code
* Merge table changeSet data into table details reducer instead of filter reducer
* Make compact and spacious cell sizing work for table
* Remove custom handling of onRowClicked for Table
* Fix issues with table visibility, border radius and disabled state
* Resolve the issue with invalid date crashing the table
* fixes:widget crash is only for those tables which do not have any actions associated with it yet. (#4078)
* Remove unnecessary code
Co-authored-by: Manish Kushare <[email protected]>
Co-authored-by: Arpit <[email protected]>
* bug fixed : file picker is not consistent with the dark theme
* bug fixed : Map widget is not consistent with the dark theme
* bug fixed : Steps widget is not consistent with the dark theme
* bug fixed : Multi select widget label is not consistent with the dark theme
* bug fixed : search bar in widget manager and label params in Code Hinter is not consistent with the dark theme
* removed unwanted comma in the chart inspector
* bug fix : app dropdown inside go to app in event manager is not consistent with the dark theme
* bug fixed : search select dropdown is not consistent with the dark theme in table inspector
* bug fixed : Organization and Profile avatar in HomePage is not consistent with the dark theme
* bug fixed : search box in the homepage is not consistent with the dark theme
* bug fixed : select dropdown input placeholder is not consistent with the dark theme
* bug fixed :Text area in the Modal to Share the app link is not consistent with the dark theme
* bug fixed : p tag in pagination in the homepage is not consistent with the dark theme
* replaced undefined to false as default value of darkMode if not defined
* bug fixed : multiselect input placeholder is not consistent with the dark theme
* removed duplicate code from custom.scss and changed rgb to hex in theme.scss
* added transparent as default value in background prop
* reverting back the changes
* bug fixed : background color field in Image widget inspector is compressed by default
* removing changes made in Color.jsx
* removing unwanted changes made in Color.jsx