Commit graph

416 commits

Author SHA1 Message Date
Kavin Venkatachalam
7f702c1d6b
[Feature]: Added Localisation (#3746)
* Added localisation

* Closed modal after language selection

* updated transaltaion setup

* Updated language tooltip

* Added fallback language support

* Adding english library resource for translation (#3844)

* Adding English dictionary for the widget lists in the inspector

* added leftSideBar object in en.json and implemented it for leftSidebar icon text

* renamed leftSideBar to leftSidebar and added resources for tip in the left side bar

* added english translation resources for leftsidebar debugger

* added english language resources for the global settings

* added english language resources for data sources in left sidebar

* added english language resources for the share button and share modal in the editor

* added english language resources for release button, manageOrgUsers, appVersionManager

* added english language resources for Queries and Please select a widget to inspect in the editor

* added english language resources for data source list , data source manager, and query manager(partially)

* added english language resources for queryManager, transformation, preview

* added english language resources for dark mode toggle in the headers inside homepage

* added fallback message for dark mode toggle

* added resources for language change in the headers inside homepage

* added resources for notification center in the header inside homepage

* added resources for organization and manage users components in header inside homepage

* added resources in manageGroupPermission

* added resources for manageGroupPermissionsResources component

* added resources for manageSSO and generalSettings components

* added resources for google sso

* added resources for github sso

* added resources for environment variables in manageSSO

* added resources for profile and setting page

* added resources for app card and app card menu

* added resources for folder section and app list in homepage

* added resources for header section in the homepage

* added resources for pagination in homepage

* added resources for modals in the homepage

* added resources for blank page

* added resources for login page

* added resources for forgot password page

* added resources for sign up page

* added resources for onBoarding component

* added resources for reset password page

* deleted duplicate key for readDocumentation

* deleted duplicate key for cancel in en.json and added translation for cancel at few places

* removing duplicate copy of save key in en.json

* added translation for CommentActions.jsx components

* deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys

* fix typo errors

* fixed typo errors

* shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files

* shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled

* shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink

* shorten the key dontHaveAccountYet to dontHaveAccount

* shorten keys from loginSignupPage key in en.json

* shorten keys of shareModal nested object in en.json

* shorten the key in appVersionManager nested object

* shorten the keys for queryManager nested object in the en.json

* delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables

* shorten keys in the organization nested object

* shorten keys in the homePage nested object in en.json file

* added inspector and eventManager empty object

* added resources to RedirectSSO component

* added resources for OAuth2

* added resources for TemplateCard.jsx

* added resources for TemplateLibraryModal.jsx

* added resources for ConfirmationPage.jsx

* added resources for ConfirmationPage component

* removed translation in App.jsx file

* added resources for Slack.jsx

* added resources for GoogleSheets.jsx

* added resources for CodeBuilder.jsx

* added resources for CommentBody and CommentFooter

* added resources for TestConnection component

* added resources for AllignButton.jsx

* added resources for Openapi and Stripe components

* added resources for ErrorBoundary

* added resources for Viewer.jsx

* Translation for widgets, table

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Commented Language selection

* Fixed typos

* Updated fr.json file

Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 13:34:49 +05:30
Manish Kushare
4cc239661e
Bug fixed : dark theme issues (#4009)
* 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
2022-09-12 14:17:04 +05:30
Manish Kushare
1cf6b3340f
bug fixed : Password Input widget is not consistent with the dark theme (#3992) 2022-09-12 09:18:46 +05:30
Roei Yaacobi
15486c5374
Make tooltip text for hide query visible (#3918) 2022-09-08 08:12:25 +05:30
Manish Kushare
a6d8208a77
Changed the height of the homepage to avoid border bottom (#3895) 2022-08-30 07:17:36 +05:30
Manish Kushare
6b4195c266
Bug fixed : Date range picker, input element is not visisble in the dark theme (#3879) 2022-08-29 07:52:17 +05:30
Manish Kushare
c536906d81
Changed color for creator name and time in the application card in the the homepage (#3875) 2022-08-26 10:26:47 +05:30
Kavin Venkatachalam
11c9451d36
Added close button for toast (#3821) 2022-08-25 03:11:21 +05:30
Arpit
3a4dd2e56c
[Refactor/Improvement] Debugger (#3794)
* init

* clean up

* clean up

* adds margin-right to the title expand icon

* refactor

* refactor: unReadErrorCount

* remove effectiveProperties from debugger

* remove effectiveProperties from debugger

* moved a props to generalProps for errorLog
2022-08-25 03:05:03 +05:30
Kavin Venkatachalam
4fd1faa3ad
Added rotate button in image widget (#3823) 2022-08-22 14:31:54 +05:30
Gandharv
7af77609c7
Comment notification icon in dark mode (#3781) 2022-08-16 07:48:37 +05:30
Manish Kushare
6d55d1d15f
Added option to download pdf (#3687)
* Enhancemnet : added pdf downloading feature

* reduce the size of download icon and added feature to toggle the display of download icon

* renamed the variables

* made the UI changes for pagination and download button

* handled the edge case - when url is not provided or wrong, do not show download and pagination buttons

* fix typo error

* Improved spacing in the download button

* Improved the UI of footer by addition of  background color, reduced box-shadow and adding on hover effect

* remove the box-shadow and opacity from footer

* add the border-top to the footer

* Fixed : If pageControl and downloadOptions are toggled off, footer should not be visible

* Fixed : If pageControl is toggled off, download option should be present at bottom-right side of the widget

* removed unwanted fragment

* Bug fixed : Footer should be visible only if page is loaded and download or pagination is set to toggled ON

* removed console.log
2022-08-11 08:23:01 +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
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
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
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 G S
3297fdb68a
Instance level SSO for Multi-Workpsace (#3441)
* changes

* changes

* e2e testcases

* fixes

* fix

* changes

* e2e fixes

* test cases

* clean up

* redirection changes

* style changes

* test cases

* testcases fix

* added test cases

* doc changes

* doc changes

* invitation token fix

* SSO General settings page changes

* added sso button to signup pages

* added helper text

* fix

* test case fixes

* fix
2022-07-18 11:40:52 +05:30
Muhammad Azka
8bc7acd9c2
Add validation for input fields on the profile settings page (#3104)
* Added input fields validation

* Update frontend/src/SettingsPage/SettingsPage.jsx

Co-authored-by: Midhun G S <gsmithun4@gmail.com>

* Linted toast messages

* firstname and lastname field now accept special characters

* removed validation

* linted line 17

* fix lint errors

* Update SettingsPage.jsx

* Update theme.scss

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-07-14 18:24:53 +05:30
Muhsin Shah C P
d14b4a4d86
[Component specific action] Added setTab component action to Tabs widget (#3507)
* Added setTab component action to Tabs widget

* added the event

* resolved css syntax error
2022-07-14 17:18:12 +05:30
Syed Ansar
b66d59b17d
Added confirm input in profile settings (#3375)
* Added confirm input  in profile settings

* Linting changes

* Fixed  ES-lint errors/issues

* Updated confirm password error toast message.

Co-authored-by: Midhun G S <gsmithun4@gmail.com>

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-07-14 10:33:46 +05:30
Muhsin Shah C P
a5476de350
Added a feature for updating the group names (#3452)
* Added a feature for update group names

* Fixed issues
- create new group button should not show when update form is visible
- disable save btn when user tries to update with the same name

* Added a spec for update group name feature

* resolved a bug

* resolved a spell error

* Added 2 specs for checking
- default groups are being updated or not
- update a group with existing name

* Fixed a bug

* Fixed trim issue

Co-authored-by: Midhun G S <gsmithun4@gmail.com>
2022-07-13 00:27:32 +05:30
Kiran Ashok
cac37039db
Copy button added for links in manage sso / general settings (#3416)
* copy button added for links

* added toast

* ui for sso updated

* dark mode fixes

* using copyfunction from utils
2022-07-12 13:08:36 +05:30
Kavin Venkatachalam
4d1850fe47
[Feature]: Added box-shadow property (#3427)
* Added box-shadow property

* Updated slider default value

* Support negative values in box-shadow

* Removed data-cy attribute

* Moved box-shadow property to general styles

* Added margin bottom to the styles panel
2022-07-11 15:19:28 +05:30
Arpit
7c3110a199
[Improvement] Leftsidebar inspector (#3407)
* Handle date type

* leftsidebar inspector: toggle with lables

* sorted components and queries by name

* case-sensitive sorting of component lists and queries
2022-07-11 15:05:50 +05:30
Kavin Venkatachalam
126bdcd7af
[Feature]: Component Specific Actions (#3448)
* 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>
2022-07-01 16:54:34 +05:30
Muhsin Shah C P
dc8f69e4b2
[Feature] Organisation level environment variables 🚀 (#3068)
* Added new page for env vars

* Changed a field name

* Added some backend files
- Entity, Dto, services

* Started working with api endpoints
- implmented create
- added ability

* Added fields validation
- Added env variables into module

* Added update, delete, get apis
- Also implemented delete feature in frontend

* Implemented update operation on frontend
- Solved an api problem

* Added encryption

* Added encryption to update operation
- Exposed env vars to editor
- working on viewer

* Exposed env vars in viewer also
- Resolved a bug

* Updated edit & delete icon sizes

* Added specs
- Resolved issues that occurred while testing

* removed logout code

* Changed api endpoint

* splitted page into 3 different parts, Form & table

* Now, non-admin users can see all org env vars

* Resolved divider missing issue

* Added variable_type field

* Now secret server values will be shown as 'SecureValue'

* Now you can't update variable_type

* Now server will resolve the secret env values

* Resolved variable name issue

* Added unique constraints

* Resolved some frontend bugs

* Changed error text

* Fixed failing specs

* Added group permissions for org env vars

* Added permission checking in the backend

* Implemented permission checking in the frontend

* Edited spec for new changes

* Changed some specs and fixed failing specs

* Resolved failing case that showed up after merging with the latest develop

* Added default admin seed permissions

* Refactored some code

* Changed value to organization_id

* Fixed a bug

* Resolved a failing case

* Resolved PR changes
- Changed permission name
- Changed column type to enum
- Fixed some errors
- Refactored the code

* minor code change

* added scope

* Fixed: hide table when 0 no of vars available

* Fixed table dark theme issues

* Fixed encryption switch style

* Fixed failing cases and updated a spec

* Added %% for environment variables

* Added code to resolve single variable

* Fixed multi-variable usage

* resolved an issue

* removed extra divider

* Suggestions will also show up for %% too

* now, suggestions dropdown will only show env variables results

* env vars suggestions will not be included  in js search results

* You can't resolve env variables from js code
- Also, we can't resolve js code from env variable enclosures

* added an info text

* Resolved variables issue

* fixed Viewer issue

* Resolved a bug
- client variable was not working on query preview and run actions

* Update error message while using server variable on canvas

* Revert "Update error message while using server variable on canvas"

This reverts commit 081e1c9e29.

* Resolved all PR changes
- removed prefix 'environmentVariable'
- redefined variable evaluation
- removed environmentVariable object from inspector
- fixed a small bug

* Fixed a server side issue

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-07-01 16:20:37 +05:30
Syed Ansar
c2bf45b5dd
Show password checkbox gets enabled only on clicking on the Checkbox and label (#3428) 2022-06-29 14:38:21 +05:30
Midhun G S
06d4701d95
Merge pull request #3399 from Syed-Ansar/BugFix/GeneralSettungsTheme
Fixed ManageSSO left menu background color in Dark-theme.
2022-06-29 10:02:28 +05:30
Kiran Ashok
1524af10b3
[ Bugfix ] :: Widget inspector close icon scroll issue fix (#3371)
* sidebar close icon scroll issue fix

* formatting

* fix for darkmode

* fix for widget deselection on close inspector
2022-06-28 19:03:03 +05:30
rw4nn
831f4159ca
Fixed css overflow auto instead of overlay (#3328) 2022-06-28 18:59:23 +05:30
syedansar
75b3ed5328 Fixed ManageSSO left menu background color in Dark-theme. 2022-06-26 12:35:09 +05:30
Kavin Venkatachalam
4be6b8e8fb
Fixed the codehinter portal viewport issue (#3358) 2022-06-23 08:15:39 +05:30
Akibur Rahman
da9eeb7e80
Fix onboarding modal's skip button color in drak mode (#3360)
* Fix onboarding modal's skip button color in drak mode

* Revert package-lock.json file changes
2022-06-23 08:14:14 +05:30
Arpit
8af77d9bff
[Bugfix] Fixes LeftSide Inspector issues (#3326)
* fixes: selecting a component (from the JSON tree) selects the component in the editor and
opens widget inspector

* updates minWidth for the inspector popup

* fixes: render options for hovered nodes

* updates minwidth and value width
2022-06-21 02:29:11 +05:30
Sherfin Shamsudeen
50cf1f5911
Proper styling for query panel create/save button (#3315) 2022-06-18 00:52:16 +05:30
Muhsin Shah C P
2fdcfcc117
[Feature] Added ability to update and delete app folders (#3132)
* Added migration to add forder_delete column

* Added new group permission

* Added deleteFolder ability

* Added delete folder api

* Added menu icon

* Added new defualt permissions of admin

* Implemented folder menu and delete action

* Implemented update folder name in frontend

* Added folder name update feature

* Refactoring code

* Added specs for update and delete apis
- Updated test-helper function with new permissions

* Resolved failing specs

* corrected method name & add count checking to delete spec

* added organizationId scope

* Changed toast and modal texts

* Resolved a mistake

* Added a check box for update permission

* Now, an user can only delete folders, if he has the permission to view all apps

* Edited update and delete spec cases

* Added error toasts

* Refactored code

* Resolved PR changes
- Changed permission name in the frontend
- Refactored the code

* capitalized all toasts
- Changed error message

* Fixed new user permission issue

* Update a spec

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-06-16 19:41:38 +05:30
Kavin Venkatachalam
21ce5b5ea4
Fixed table border broken issue (#3227) 2022-06-15 14:24:08 +05:30
Arpit
b48fd53ec2
[Feature] Kanban board widget (#3049)
* 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>
2022-06-14 11:06:36 +05:30
Kiran Ashok
bb6fc26f7e
[ Feature ]:: steps widget (#3200)
* tabs event

* completed event firing on selection tab

* steps widget basic structure & code

* active item logic

* logic for currentstep

* logic for steps theme

* event onSelect handled and exposed currentStepId

* fixing tooltip

* logic for colour updated

* updates

* bugfixes and color theme fix

* darkmode fixes

* some bugfixes

* cleanup

* reverting

* reverting unwanted change

* updating green theme

* pr changes : style changes

* pr change :: color style made dynamic :rocket

* style fix 🚀

* docs updated

* bugfix
2022-06-13 17:44:03 +05:30
Kavin Venkatachalam
5280e9d6e7
Move & Resize portal (#3224) 2022-06-08 12:18:47 +05:30
Kavin Venkatachalam
1552f834d6
[Feature]: Copy text from CodeHinter preview (#3155)
* Copy text from CodeHinter preview

* Updated copy text logic
2022-06-02 12:57:20 +05:30
Gandharv
5dbe795d73
feat: add user avatar (#2920)
* feat: add user avatar

* update: @nest/platform-express from 8.0.0 to 8.4.4

* add avatar_id in login response

* add user avatar upload in frontend

* align cross divider with layout icons'

* generate nest model - extensions

* cleanup

* fix tests

* reduce the avatar size on homepage

* fix review comments

* import Express

* add blob to csp
2022-06-02 12:19:49 +05:30
Aaron
75723ac58c
Changed widget-button-label (theme.scss) text color to be visible in dark mode (#3188) 2022-06-02 07:05:24 +05:30
Kiran Ashok
336b099db7
Bugfix :: Canvas background made programmable and fix for alpha not working (#2807)
* fixing alpha not changing issue

* fixing possible undefined isues

* including codehinter for canvas bg colour updation

* updating styles

* codehinter with gloabla value access

* updating colour bug

* updating fx styles

* light mode updates

* fixing light bg bugs

* cleanup

* fixing flickering

* dynamic background changing using fx :: fix

* removing all logs and fixing state not updating correctly issue

* fixing layout

* updates useeffect trigger

* live typing component , bugfix

* viewer testing

* fixing issue in preview mode

* colour preview issue fix
2022-06-01 16:48:12 +05:30
Kiran Ashok
9b557d11b9
Feature :: Button group widget (#2977)
* button group initial

* updates

* updating value logic

* updating all selection and normal styles

* bugfixes and icon change

* cleanup

* fixing button width

* changing non dynamic styles to theme

* updating padding

* PR changes :: updating with same margin for label

* pr changes :: updating default bg colour for selected

* exposing selected items

* fixing alignment to column

* fixing issue with default active

* updating transition

* initial selected element

* initial selection

* updating with documentation

* intermediate update fixing labels

* fixing multiple edge cases

* cleanup

* updating label

* fixing pending pr issues :: changing default selected as array

* multislection toggle fix

* fixing label padding
2022-06-01 13:50:02 +05:30
Kiran Ashok
f64df9162d
SSO & multi workspace helper page (#3091)
* sso page

* updating with sso id , changing

* updates

* dynamic url  build based on enable/disable or workspace and sso

* removing logs

* removing logs

* removing private route

* pr updates :: making route public , content update

* fixing issues

* upadting few content

* removing logs

* bugcheck

* typo fix

* ui updates

* id fix

* link fix

* updated with suggested pr change

* updated with pr suggestion

* style update

* updates content

* updates

* style removal ::

* updated some styles

* typo fix

* style fix
2022-05-30 10:47:13 +05:30
Kiran Ashok
e0e8b6f50b
Feature :: Image widget enhancements (#3007)
* adding loadingstate and object fit style

* adding zoom functionality

* pan image function

* fixing pan for image

* pan and drag fix image

* library install

* pr changes:: hover button , object fit made dropdown

* fix for old apps

* updated docs
2022-05-16 14:40:44 +05:30
Kavin Venkatachalam
b16a74dcf1
[Feature]: PDF Widget (#3035)
* Created PDF Widget

* Added color to page number to support dark mode
2022-05-11 18:51:10 +05:30
Gandharv
5cfb759b73
style: add save text to header (#3010)
* style: add save text to header

* hide message if version is released:

* on version switch

* avatar border +.5px

* fix: tooltips not showing for dynamically added user

* add tooltip for undo-redo
2022-05-09 17:38:46 +05:30
Muhsin Shah C P
b279c4daf1
[feature] Added maximum canvas height property (#2908)
* Added maximum canvas height property

* Solved min-height issue

* Now, will not able enter a height greater than 2400

* Change leftsidebar z-index
2022-05-09 14:06:59 +05:30