Commit graph

2045 commits

Author SHA1 Message Date
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
depa panjie purnama
4ac32b69d2
Add Indonesian localization (#4287) 2022-10-12 12:07:28 +05:30
Zunaid Ahmed
06b73288c0
Translated component manager in french (#4371) 2022-10-12 12:02:10 +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
Lisa A
d64247d6f5
Adds Italian translation (#4328)
* add italian translation

* add italian to languages.json
2022-10-10 08:17:23 +05:30
Paarth Agarwal
04cc884bbc
Updated default text color for table widget (#4247) 2022-10-10 08:14:52 +05:30
kushal-gopal
be77b6f35c
Fixed bug - default marker color value for the chart widget is added (#4306) 2022-10-10 08:09:40 +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
74beb544fe
[Feature/plugin] Zendesk integration 🚀 (#3943)
* plugin:init

* zendesk svg icon

* zendesk integration 🚀

* clean up

* unit tests

* docs: zendesk

* resolves: error proof

* fix typos
2022-10-06 13:45:42 +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
Unni Krishnan
10927289f7
Removed duplicate onHover (#4236)
* Removed duplicate function

* fix
2022-10-04 16:16:27 +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
Prabesh Bista
de576fd858
Added text widget default color (#4228) 2022-10-02 21:08:58 +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
Manish Kushare
caa288ad2c
[ Enhancement] : adding local storage support in query manager panel (#4087)
* added localStorage support for query panel component

* fixed typos

* added queryManagerPreference in localStorage

* adding support for backward compatibility

* removed JSON parse from if statement
2022-09-29 12:52:00 +05:30
Sherfin Shamsudeen
9c8577042c Merge branch 'main' into develop 2022-09-29 12:50:36 +05:30
Manish Kushare
14ccab3da8
hotfixed : datepicker component height is not adjusting with container height (#4144) 2022-09-29 12:50:16 +05:30
Yash Dhanore
d143e9392e
[RadioButton]: Default value not working #3997 (#4131)
* [RadioButton]: Default value not working #3997

* Add setValue of RadioButton to its csa dependency

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-29 12:34:09 +05:30
Shubhendra Singh Chauhan
0908036555
Added application template for GCS file explorer (#3835) 2022-09-28 22:39:51 +05:30
Manish Kushare
f4f29172f3
Enhancement : [ text input widget ] refactor (#4036)
* 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
2022-09-28 17:51:09 +05:30
Kavin Venkatachalam
10e81bd5a9
[BUG]: Fixed Query Definition Lost (#4122)
* Removed mounting and unmounting of EventManager based on loadingDataSources

* Fixed lost defintion when try to add query and come back again

* Uncommented confirmation dialog on unsaved query

* Updated restapi url text-color to black

* Commented unsaved changes popup
2022-09-28 15:06:13 +05:30
Alvaro Cabrera Durán
2d385a13f6
fix: pass-down dataQueries to allow runQuery on modals, closes #4099 (#4100) 2022-09-28 12:20:45 +05:30
Sherfin Shamsudeen
e38a278193
Use only state setters as dependent functions for registerAction (#4137) 2022-09-28 12:16:46 +05:30
Manish Kushare
bf011bebf7
[ bug fixed ]: removed user adding dropdown in all user page (#4091)
* removed user adding dropdown in all user page

* removed dropdown in app tab , in admin page
2022-09-27 16:44:31 +05:30
Manish Kushare
e7553cd411
bug fixed : state is not changing on clicking cancel button in the new user form (#4089)
* bug fixed : state not changing on clicking cancel button in the new user form

* making fields empty when clicked on cancel
2022-09-27 16:23:28 +05:30
Akshay
0740b4cd01
open app after import (#4125) 2022-09-27 14:49:45 +05:30
Manish Kushare
8d922b603f
[ Enhancement ] : adding back button in data source management (#4085)
* adding back button in data source management

* reverting back changes made in the height and width of close svg

* changed the height and width of the back svg

* removed inline styles and used classes fot the same
2022-09-27 13:34:50 +05:30
Manish Kushare
2a3db48855
bug fixed : The result of the previous previewed query remains (#4115)
* bug fixed : The result of the previous previewed query remains

* moved the previous added code in setStateFromProps to avoid extra rendering
2022-09-27 13:18:04 +05:30
Kavin Venkatachalam
3a78cf6155
[Feature]: Icon Widget (#3936)
* 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 <sherfin94@gmail.com>
2022-09-27 11:18:32 +05:30