Commit graph

1883 commits

Author SHA1 Message Date
Midhun Kumar E
381ae9df5d
Remove the paramLabel and fix cypress (#3764) 2022-08-09 21:14:51 +05:30
Kavin Venkatachalam
9ea2d4c522
Fixed label name updation bug (#3758) 2022-08-09 21:13:17 +05:30
Manish Kushare
fb6a4f6496
Bug Fixed : Image is not visible after setting visibility to false and refreshing the page (#3739)
* Bug Fixed : Image is not visible after setting visibility to false and refreshing the page

* Avoided calling forceCheck() in every render cycle by putting it inside useEffect and only gets executed if visibility is changed
2022-08-09 19:48:23 +05:30
Arpit
268045b2fa
Refactor: Container and SubContainer Drag and Drop Layer (#3715)
* refactored: subcontainer layer

* refactor container and cleanup drag layers

* removes unused, commented code

* fixes default component width in subcontainers
2022-08-09 15:45:19 +05:30
Arpit
6d29ac5c7f
fixes component state updates: radio button as listview child (#3663) 2022-08-09 14:35:50 +05:30
Manish Kushare
37638c3dad
Bug fixed : If Google & GitHub signup is disabled there shouldn’t be the ------OR------- (#3766)
* Bug fixed : If Google & GitHub signup is disabled there shouldn’t be the ------OR-------

* made the requested changes

* re-arrange the grouping of OR operator
2022-08-09 10:19:38 +05:30
honoru
a1642ea058
input onEnterPressed event add (#3755)
* input onEnterPressed  event add

* Fire event on the "then" of setExposedVariable

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-08-08 16:37:12 +05:30
honoru
9f69f57690
table-datepicker timezone function added (#3724)
* 1. Add moment-timezone
2.table-datepicker timezone function added

* Add missing variable

* Rename "Timezone value" to "Parse in timezone"

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-08-08 16:32:13 +05:30
Arpit
6ea6215126
[chore] ESLint fixes (#3749)
* lint fixes for frontend

* resolves warning and run eslint: some dependencies  use another version of ts
2022-08-06 09:34:07 +05:30
Ajith KV
46abf0bdfe
Cypress test for dashboard, app and folder CRUD operations (#3677)
* Add and modify data-cy attribute for elements

* Add and modify common and dashboard selector and text

* Add task to delete download folder

* Modify faker file

* Add common methods

* Add methods specific for dashboard spec

* Modify dashboard spec

* Review changes

* Add and modify data-cy for elements

* Add custom command to verify elements

* Modify verify elements command

* Remove exported app file
2022-08-04 20:40:46 +05:30
Midhun Kumar E
272205cce5
Add happy path spec for Multiselect widget (#3731)
* Modify faker package

* Add data-cy

* Add Selectors

* Add texts and labels

* Add faker objects

* Add spec file

* Add methods and new utis file

* Minor fix

* Minor typo fix
2022-08-04 20:16:53 +05:30
Kavin Venkatachalam
3932d72d64
[Feature]: Tree Select Widget (#3533)
* Added Tree Select widget

* Updated checkbox-tree package path

* Added checked-path array

* Added checkedpathArray

* Updated docs

* Updated theme file

* Added default values to exposed variables
2022-08-03 19:22:49 +05:30
Kavin Venkatachalam
968e9ad4d4
[Feature]: CodeHinter preview for listItem, cellValue (#3373)
* CodeHinter preview for listItem, cellValue

* Updated variable names

* Added preview data for listView if data is not an array

* Fixed listItem preview issue

* Updated preview logic for listview

* Fixed listItem preview issue

* Reverted Listview changes

* Added a check for preview context in the viewer

* Resolved conflicts
2022-08-03 19:20:50 +05:30
Manish Kushare
f0a55597c6
[[ Enhancement ]]: FilePicker - added onFileLoaded and onFileDeselected events (#3673)
* added onFileLoaded event

* added onFileDeselected event

* removed extra whitespace
2022-08-03 18:11:20 +05:30
Gandharv
073359376a
Llnt fixes for chart.jsx (#3730) 2022-08-03 17:58:13 +05:30
hrutik7
b935fd14e4
Graph accordian moved in options (#3305)
* graph accordian moved in options

* suggested changes in widjetJS

* remove blank space in widgetJS in line 240 and 241

* reset operations.json file and plugins pkg lock

Co-authored-by: Gandharv <gandharvkgarg@gmail.com>
2022-08-03 17:31:23 +05:30
Manish Kushare
b096516c62
Bug Fixed : request confirmation before running keeps showing loader, when click cancel (#3641)
* Bug Fixed : request confirmation before running keeps showing loader, when click cancel

* fixed the bugs

* made the suggested changes, removed unused lines
2022-08-03 16:34:37 +05:30
Kiran Ashok
1f2a62e09d
Place text 'unsaved changes' instead of loader for whole saving process in editor. (#3659)
* fixing position , and making unsaved changes instead of full loader state

* position updated for loader

* changed spinner to text

* removing spaces
2022-08-03 15:21:24 +05:30
Manish Kushare
0b2ca36dbd
Bug Fix :Date Picker event not firing the correct parameters. (#3668)
* Bug Fix :Date Picker event not firing the correct parameters.

* Fire onSelect event on the then function of setExposedVariable for datepicker

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-08-02 13:41:12 +05:30
Kavin Venkatachalam
df11f4b1f6
[Feature]: Area Selection on Drag (#3665)
* Added area selection

* Disable selection while dragging widgets inside subcontainer

* cleanup area selection
2022-08-02 13:36:48 +05:30
Manish Kushare
487080e837
Bug Fix : Image going out of widget container for border type as thumbnail (#3604)
* Bug Fix : Image going out of widget container for border type as thumbnail

* making image stick inside container when zoom is toggled on for border type as thumbnail
2022-08-02 13:23:46 +05:30
Sherfin Shamsudeen
7a30613c51 Merge branch 'main' into develop 2022-08-01 13:43:53 +05:30
Sherfin Shamsudeen
8cecd54248
Add pagination config as dependency for table setPage (#3708) 2022-08-01 13:42:08 +05:30
Manish Kushare
ef1e166790
Bug Fix : converted ms into second by multiplying it with 1000 for success notification (#3662) 2022-07-30 11:59:07 +05:30
Midhun G S
b710d7b02e
SSO for GitHub Enterprise self hosted (#3352)
* SSO for GitHub Enterprise self hosted

* changes

* test cases

* fixes

* label fix

* fixes

* readme changes
2022-07-29 17:03:42 +05:30
Arpit
0055773ad0
fixes: on resizing the tab widget to smaller width, the 2nd row tabs are not clickable (#3685) 2022-07-29 14:00:33 +05:30
Muhsin Shah C P
2d1f259b3f
reverted the changes (#3682) 2022-07-28 20:35:59 +05:30
UtkarshDixit-py
176f539364
Folder icon is now clearly visible in darkmode (#3674)
* Bug Fixed : Folder icon is now clearly visible in darkmode/issue_3647

* folder icon lightens in dark mode now
2022-07-28 16:04:49 +05:30
Sherfin Shamsudeen
4362125d5b Merge branch 'main' into develop 2022-07-27 10:04:20 +05:30
Arpit
f93347509d
fixes: dropdown menu overlaps inside nested listview (#3671) 2022-07-27 09:59:45 +05:30
Kavin Venkatachalam
ffc2eb93fc
Fixed empty tooltip issue (#3670) 2022-07-27 09:56:09 +05:30
Sherfin Shamsudeen
ecc4e0646b Merge branch 'main' into develop 2022-07-26 16:23:25 +05:30
Gandharv
3a54472660
Add badge icon on comment left sidebar item (#3649) 2022-07-26 08:44:58 +05:30
Muhsin Shah C P
7595b74519
[hotfix] Public apps are redirecting to login page while using environment variables inside an app (#3635)
* Fixed env vars 404 error while opening public apps

* Resolved the PR changes
- Replaced currentUser with isPublic
- Added a new guard to check if the current app is not public or not

* Refactored some code

* Removed orga variable dependency from org module

* Resolved all PR changes

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-07-25 16:18:12 +05:30
Nathan Bisson
c8685e92fc
Added widget property filters, and filtered general from modal widget (#3596) 2022-07-25 16:04:44 +05:30
Nathan Bisson
ebd597f8fe
Centred time picker ui when datetime widget is time only (#3611)
* Centered time picker ui when datetime widget is time only

* Adjusted css properties to center time input
2022-07-25 14:01:40 +05:30
Nathan Bisson
2b77414fab
Added hide logic to widget properties accordian menu item when it contains no items (#3589) 2022-07-25 13:48:51 +05:30
Sherfin Shamsudeen
6b1625c1b4 Merge branch 'main' into develop 2022-07-25 12:26:58 +05:30
Arpit
6968e9f793
fixes: JSON tree component - nth child node component is not rendered for nested array (#3654) 2022-07-25 12:25:31 +05:30
Gandharv
b5850a4694
feat: trigger mail when user is mentioned in comment (#3443)
* feat: trigger mail when user is mentioned in comment

* reset email service

* fix backspace issue

* open comment on view comment clicked from email

* add helper to highlight user in mail

* reset mentioned input value when value turns empty in parent

* fix test

* use where condition + throw error

* add userId

* feat: add notification center (#3484)

* remove commented code
2022-07-25 11:14:59 +05:30
Midhun Kumar E
a68c727eae
Add cypress test for date picker widget (#3592)
* Add and modify data-cy for widgets

* Add selectors

* Add constant texts and methods

* Add common widget operations

* Add momet to Cypress

* Add common utils and optimized commands

* Add methods specific for Datepicker

* Add spec datePickerHappyPath

* Minor selector modification

* Add verification of value from inspector
2022-07-20 12:41:50 +05:30
Sherfin Shamsudeen
5885b09147
Fix app freeze during component name change (#3643) 2022-07-19 20:12:23 +05:30
Sherfin Shamsudeen
48fe8fb5b9 Update Table data validation schema 2022-07-19 19:07:28 +05:30
Arpit
d051095412
hides node indicator for Date types (#3633) 2022-07-19 18:57:46 +05:30
Sherfin Shamsudeen
bc93818621
Feature/component property validation (#2782)
* Initial architecture for component property validation

* Coerce to default and log invalid properties

* eslint rule:frontend for  specifying the path to the  @types/

* removes comment for eslint-disable-next-line

* reverts 27946f1 & adding a temporary fix

* Remove incorrect property validations

* Avoid race condiiton in setting state for error logs

* Fix issue where only one error got logged

* Flush out any errors that are logged

* Remove unnecessary console.log

* Add validations for Table properties

* Add support for multiple validations

* Add validation for chart component

* Add validation for modal

* Set default value common to all validation schemas for component properties

* Add validations for password widget

* Add validations for datepicker

* Add information about default value on validation error message

* Remove unwanted console.log

* Do not validate properties on Viewer

* Use meta information from widget config instead of component state to validate

* Do not coerce to default values while validating

* Do not validate existing components

* Update package-lock.json in sync with develop

* Add validation for general properties

* Add support for size validation of component properties and styles

* Add support for min and max spec in size validation

* Support pattern validation for string properties

* Make size validation specifiable along with type specification

* Component validation optimizations

* Remove unnecessary comments

* Remove unnecessary default value param from validation

* Fixed visibility style validation bug

* Added custom validation to PDF & Custom component

* property/style validation statistics

* values changed to string

* validation button group widget

* bugfix

* Added property validation to timeline widget

* Added visibility prop validation to timeline widget

* steps property/style validation

* svg component property validation

* component property validation numberinput

* bugfix

* validation textarea

* validation vertical divider

* property validation html widget

* validation :: checkbox

* image property validation

* validation :: rangeslider widget

* validation :: circular progress bar

* validation spinner

* added props and style validation

* tags validation

* validation :: pagination

* timer :: validation

* validation :: toggle

* validation :: divider

* validation :: radiobutton

* added props and style validation

* validation:: iframe

* validation :: password input

* validation:: code editor

* validation :: listview

* validation :: star rating

* validation :: modal

* validation :: qrscanner

* validation :: datepicker

* multiselect :: validation

* added union validation for border radius

* added props and style validation

* added props and styles validation

* added props and styles validations

* added props and styles validations

* added props and style validations

* added props and styles validations

* added prop and style validations

* added props and styles validations

* Added ID validation to steps widget

* Removed default value

* Added validation key to SVG widget

* Removed default value

* table validations

* table validations

* removing default value

* removing defaultval

* removing default val

* removing default val

* padding validation update

* updating number validation

* updatin number validation

* validation updates

* border validation

* border radius validation

* number input validation

* validation updates

* border radius validation

* validation update

* Updated misspelled schema text

* Updated Tabs validation schema

* Updated tooltip element schema

* Updated validation for multi select

* Updated validation for dropdown

* Updated validation for text widget

* Rectified mispelled validation

* Fixed : validation not working for format

* Added Array validation to chart widget

* format prop bug fix

* draft complete :: table validation

* Fixed misspelled text

* Don't validate properties that are not defined on widgetConfig

Co-authored-by: arpitnath <arpitnath42@gmail.com>
Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
Co-authored-by: stepinfwd <stepinfwd@gmail.com>
Co-authored-by: manishkushare <kushare.manish9@gmail.com>
Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2022-07-19 18:51:45 +05:30
Kiran Ashok
24cda4d577
[ Feature ] :: component specific action :: multiselect widget (#3523)
* widget actions multiselect

* completed :: actions and fireevent

* removing logs

* CSA docs

* bugfix :: event fired 2 times

* clear action updated

* Use dependencies on selectOption action

* Use dependencies for deselectOption and clear

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-07-19 15:36:00 +05:30
Sherfin Shamsudeen
a59d5d13d0 Merge branch 'main' into develop 2022-07-19 12:35:07 +05:30
Arpit
6d38cc70b8
fixes: event execution for listview widget (#3629) 2022-07-19 12:25:09 +05:30
Kiran Ashok
bc56e1db97
Component specific action for :: checkbox widget (#3505)
* checkbox component specific action for checkbox

* checkbox CSA updated

* exposing check value
2022-07-18 18:47:38 +05:30
Manish Kushare
40953cbfca
added component specific action to Dropdown Widget (#3496)
* 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>
2022-07-18 17:51:21 +05:30