Commit graph

703 commits

Author SHA1 Message Date
Santosh Bhandari
0c895e2e4e
feat: Add customizable border color for text input component (#4191)
* feat: Add customizable border color for text input component

* Update widgetConfig.js

* chore: Fix linter issues
2022-10-26 10:45:43 +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
jerempy
b2adb70e7d
Fixes rich text editor select heading re-direct to dashboard (#4487)
* Update DraftEditor.jsx

fixes the re-directing on changing header type

* switch elem back to a

for styling. still fixed after dropping the href
2022-10-24 23:31:16 +05:30
Arpit
065494c0ef
fixes: scroll issue for subcontainer layer for modal (#4410)
* fixes: scroll issue for subcontainer layer for modal

* fixes: container crash

* clean up
2022-10-21 13:51:32 +05:30
Manish Kushare
325e44cbdb
bug fixed : selecting badge is breaking the table (#4416) 2022-10-19 07:44:03 +05:30
Mike
89f56410bd
On Change added to NumberInput (#4198)
* On Change added to NumberInput

* fixes lint errors

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2022-10-18 12:58:30 +05:30
adripo
8b672f89c2
Adds default highlight color (#4498) 2022-10-18 09:41:36 +05:30
Manish Kushare
397b138d62
bug fixed : table widget is not consistent with the dark theme (#3987)
* bug fixed : table widget is not consistent with the dark theme

* bug fixed : dropdown in filter is not consistent with the dark theme

* fixed dark theme for dropdown and multiselect column in table

* making generateColumns re-render with change in applied theme

* made badge and multibadge consistent withthe dark theme

* made text column consistent with the dark theme
2022-10-18 08:47:06 +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
2a8d77fc8e
[Bugfix] show or hide pagination footer only if client or server side pagination is enabled (#4430)
* show or hide pagination footer only if client or server side pagination is enabled

* Display pagination only if serverside or client side pagination is turned on

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-10-14 13:50:23 +05:30
Arpit
b36461b161
updates the exposed vars (#4426) 2022-10-14 13:44:50 +05:30
Kiran Ashok
ceed17a0a7
fix :: automatic state reset for hiding columns on data change restricted (#4429) 2022-10-14 13:32:31 +05:30
Arpit
fe0858fa49
[Chore] widget fixes (#4411)
* fixes: button bg color

* fixes: loader color

* container default bg color

* listview bg color

* fixes darkmode fro text widget

* default color for star rating
2022-10-14 13:31:22 +05:30
Kiran Ashok
8c4072dbb6
fix :: converting data as per current code implementaion , xl dowload not working (#4424) 2022-10-14 13:16:36 +05:30
Kiran Ashok
80a4df6022
Bugfix :: Table sort not visible (#4408)
* bugfix :: table sort missing fix

* bugfix :: sort triggering issue
2022-10-14 11:28:12 +05:30
Arpit
ba178a131a
[Bugfix] fix filter change with select component and scroll options with multiple filters (#4404)
* fixes: selecting colum filter with react-select component

* add scrolling for multiple filters

* handles chaning

* updates: exposed variables
2022-10-13 17:53:11 +05:30
Kiran Ashok
544f6c403f
[ Improvement ] :: Table widget (#4092)
* 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 <sherfin94@gmail.com>
2022-10-13 17:21:14 +05:30
Kiran Ashok
a7f925d52e
[ Feature ] :: Reorder Table columns using drag and drop (#4327)
* column reordering using dnd

* fix :: drag handler area made as whole header

* setting drag item close to cursor

* removing padding

* style fix :: sort and dragger

* removing width :: making draggable element width same as th row width

* temperory fix :: table drag attachment to cursor
2022-10-13 17:09:45 +05:30
Kiran Ashok
e99fff4508
Enhancements :: Table bugfixes and option for pagination number added (#4083)
* 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
2022-10-13 15:16:37 +05:30
Kiran Ashok
5a88464600
Feature :: Table sort disable/enable (#4142)
* feat :: disable sorting

* disable action buttons

* cleanup

* cleanup

* revert :: unwanted changes
2022-10-13 14:32:44 +05:30
Kiran Ashok
f734ba0d3a
[ Feature ] :: Table :: event on discard changes :: (#4158)
* discard changes :: event added

* develop merge
2022-10-13 14:25:47 +05:30
Sherfin Shamsudeen
b98d68ad04 Add optional chaining operator to avoid crash while reading autogenerateColumns property 2022-10-13 14:21:58 +05:30
Kiran Ashok
e0a4e90bf8
Feature :: Table - option to hide columns (#4284)
* feat :: functionality to hide/show columns

* dropdown hide columns

* theme dropdown

* added toggle all option

* fix :: icon import from lib

* revamp :: changing from internal state to bootstrap poopover

* updated with react popover

* Change text from "Toggle All" to "Select All" in table column selector

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-10-13 14:15:40 +05:30
Arpit
bdbd98bcd2
fixes: exposes the latest currentData in the table (#4364) 2022-10-13 11:18:20 +05:30
Sherfin Shamsudeen
c1adcc9e2c
Feature/automatic columns generation (Task ID: CU-2vjwn7r) (#4149)
* 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
2022-10-12 22:26:10 +05:30
Dmitriy Danilov
0e7a4e6b38
Hide Apps tab for Admin (#2634) (#4221)
* Hide Apps tab for Admin

* Made users tab active is apps is not visible

* Add loading for groups, fix format issues

Co-authored-by: Dmytro Danylov <icdmytro.danylov@americanwell.com>
2022-10-12 21:57:12 +05:30
prateek565
70a90b2443
Added Border color style property to Container widgets (#4202)
* Update Container.jsx

* Update widgetConfig.js

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

small edit

Co-authored-by: Arpit <arpitnath42@gmail.com>

* Update frontend/src/Editor/WidgetManager/widgetConfig.js

small edit

Co-authored-by: Arpit <arpitnath42@gmail.com>

* Update widgetConfig.js

shifted border color next to border sradius

* Update Container.jsx

small changes

* Update widgetConfig.js

Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-10-11 13:47:15 +05:30
John Bampton
ca5fe39751
all: fix spelling (#4326)
Fixes typos, fixes a file name.

Minor whitespace removal from link
2022-10-11 13:46:40 +05:30
Sherfin Shamsudeen
8cf29bd7d2 Merge branch 'main' into develop 2022-10-11 12:07:21 +05:30
Froosty
082be1b63d
Feature/list view border color (#4300)
* Update widgetConfig.js

* Update Listview.jsx

* Update widgetConfig.js

* Update Listview.jsx

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

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

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2022-10-11 09:10:30 +05:30
Vedant Borkar
e647ae3acb
Added border color property to button styles (#4356)
* Update Button.jsx

* Update widgetConfig.js

* Update widgetConfig.js
2022-10-11 09:08:34 +05:30
Arpit
8c4c7249a8
[Improvements] Table: Adds Support for Server side filtering (#4349)
* 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
2022-10-11 09:05:40 +05:30
Arpit
8c8c38aa85
exposed updatedDate (#4263) 2022-10-10 17:18:40 +05:30
Manish Kushare
11fa0262ef
[ Enhancement ] : [ Table widget ] added support to download data in excel (#4134)
* adding support for  download data in excel

* adding pop-over to display various download options

* made the download options bold on hover

* update the theme.scss

* made the parent container width fixed
2022-10-10 13:11:04 +05:30
Arpit
6b655b7f17
[improvement] Table : adds number as a cell type (#4135)
* Number as cell type: table

* adds min and max value fields to the table cells
2022-10-07 17:37:03 +05:30
Arpit
e441db9665
adds option for server sort (#4337) 2022-10-07 12:45:51 +05:30
Arpit
16935499b7
fixes: server side search fort table (#4335) 2022-10-07 12:42:04 +05:30
Manish Kushare
6b0e9409f5
[Enhancement] : [Table widget] Adding filters (#4130)
* added does not contains filter

* added isEmpty and isNotEmpty filter

* added contains filter logic in custom-filter.js

* converting row value to string for comparison in equal and not equal filters
2022-10-07 09:31:36 +05:30
Manish Kushare
1edc915bd2
[ hotfix ] : [ Table Widget ] filter pop-up and dropdown inside it are not scrollable (#4098)
* hotfix : filter pop-up and dropdown inside it are  not scrollable

* removes useMenuPortal

* removed selectSearch import from the Filter.jsx
2022-10-06 17:22:17 +05:30
Arpit
9392b0a189
fixes: children can be dragged to the bottom, making the container layer scrollable (#4323) 2022-10-06 14:44:57 +05:30
Arpit
3af3835e7d
[improvements] Table - exposed active sort options and add an event (#4151)
* exposed sorted options

* adds onSort event

* clean up
2022-10-06 11:50:53 +05:30
Arpit
22c87762e4
adds new event cell value changed (#4155) 2022-10-06 11:47:33 +05:30
Arpit
0274398d2b
[improvements] Table - exposed active filters and add an event (#4138)
* exposed active filters

* adds onFilterChanged event

* default value for filters should be an empty array

* remove column id from exposed filter variables
2022-10-06 11:42:18 +05:30
Kiran Ashok
33e37ea4b4
fix :: bug event not triggering on search (#4156) 2022-10-06 11:13:07 +05:30
bstillword
e52eb6ddeb
Fixes steps widget (#4107)
Removed line 31: href='#' causing return to homepage.
2022-10-04 16:20:24 +05:30
Ajith KV
cd7926130e
Add happy path spec for number input widget (#4074)
* Add data-cy for number input widget

* Modify faker file

* Add spec and constants

* Modify spec with random number funtion

* Modify button widget spec

* Review changes
2022-10-04 13:08:21 +05:30
Midhun Kumar E
b99531da75
- Fixe failing cypress specs. (#4280)
- datepicker Happypath
- listView Happypath
- textInput Happypath
- multiselect Happypath
2022-10-04 13:06:59 +05:30
Manish Kushare
f1bd01d748
Datepicker calender dark theme (#4111)
* making datepicker consistent with the dark theme

* removed * selector

* made range date picker calender consistent with the dark theme

* added hover effect on calendar day in range date picker

* removed unwanted border around the calendar container in range date picker

* made the months change arrow consistent with the dark theme in range date picker

* removed wrapperClassName from date picker component

* made the suggested changes and removed left and right border around DateRangePicker_picker class
2022-10-04 09:27:24 +05:30
Manish Kushare
19d09c6157
[ hotfix ] bug fixed : general tooltip is not displaying for button widget (#4152)
* removed stopPropgation on mouseOver event

* removed unused event in onMouseOver
2022-09-29 18:54:30 +05:30
Alvaro Cabrera Durán
c824eb362b
chore: apply primary-color in more places (#4025)
* 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
2022-09-29 13:33:01 +05:30