Commit graph

810 commits

Author SHA1 Message Date
Gandharv
6f1e3c19db
add websocket url fallback as window.location.host (#1374) 2021-11-05 15:11:00 +05:30
Sherfin Shamsudeen
b4a1ae9c55
Invoke onComponentClick whenever onClick event is fired via fireEvent (#1371)
Co-authored-by: Sherfin Shamsudeen <sherfin@Sherfins-MacBook-Pro.local>
2021-11-05 10:35:31 +05:30
navaneeth
5956eebddf Remove initials from comment cursor 2021-11-04 15:33:03 +05:30
navaneeth
fe6fbcaad6 Minor UI corrections for comment dialog 2021-11-04 14:55:57 +05:30
Akshay
c58e0765bf
Feature: Google cloud storage integration (#1364)
* add ability to list buckets/objects and create signed url fot GET and PUT

* ask to specify region when adding s3 buckets

* add ability to read file contents from s3

* add ability to upload to s3 bucket

* rename s3 dropdown options

* add abilty to read, write, list and generate signed url for gcs

* fix gcs query service

* remove paginated response

* make gcs private key as textarea

* revise gcs upload response
2021-11-04 14:30:09 +05:30
Sherfin Shamsudeen
8bbbbfc869
Feature: Calendar widget 🗓 (#1368)
* Insert required boilerplate code for Calendar widget

* Display basic calendar

* Display events on calendar widget

* Pass JS date object as calendar default event date

* Add resource scheduling to Calendar widget

* Add icon for Calendar widget

* Allow configuration of views and default view for calendar

* Add onEventSelect event to Calendar widget

* Accept date as string for Calendar

* Option to disable/enable toolbar in Calendar

* Add default date to Calendar

* Add support for setting color of calendar events

* Set calendar cell size to 50px

* Allow spacious and compact cell sizes for Calendar

* Add support for "select slots" event for calendar

* Add support for custom event tooltip for Calendar

* Add support to not highlight today and now in Calendar

* Add visible border for Calendar events

* Set 14px font size for calendar toolbar

* Add dark mode styles for calendar

* Make calendar view mode controllable with logic

* Add documentation for calendar widget

* Add additional documentation for calendar events

* Expose default view instead of view for calendar

* Add documentation for changes in calendar

* Style updates to calendar

* Increase padding for calendar events
2021-11-04 14:23:50 +05:30
Arpit
a6f99f6fba
Feature: File Picker Widget (#1274)
* File Picker Widget inital commit

* Merged develop

* add file picker icon

* dropzone

* added file picker widget

* does notrequires* babel-import

* fixed styles and removed button to open file selector

* updatedbthe fle picker icon

* style fixes

* added event: onFileSelected

* seperated the concerns and made it more flexible

* fixed handling file types for the picker

* handle - file reject

* file picker description

* text color updates

* Reads contents of the file as a text string

* display list of accepted files

* filepicker docs

* read multiple files-fixed

* style fixes

* added filepicker gif for docs

* typo fixed: docs

* selected files should be inside the widget bound & clear button to clear the selected files

* remove btn for files and selected files should always remain inside the widget bound

* display files bg style and multi-files resolved

* fixed typos
2021-11-04 11:11:10 +05:30
Gandharv
3e1a5c1fb0
UI: Add a preview loader while a comment is being added to the canvas (#1358)
* ui: add a comment-loader while a comment is being added

* ui: add loader while notifications are being loaded

* add correct y co-ordinate for temp loader

* on tab change add loader for comment sidebar notifications
2021-11-03 19:36:18 +05:30
Arpit
e21f1cfd3f
Go to app - on success event fixed (#1360)
* Goto app handler, when run as the on-success event handler of query, it should not ask for confirmation, in the viewer

* Goto app handler, when run as the on-success event handler of query, it should not ask for confirmation, in the viewer
2021-11-03 13:33:29 +05:30
Akshay
44f3b9d8d0
Feature: AWS S3 Integration 🚀 (#1333)
* add ability to list buckets/objects and create signed url fot GET and PUT

* ask to specify region when adding s3 buckets

* add ability to read file contents from s3

* add ability to upload to s3 bucket

* rename s3 dropdown options

* update region dropdown for s3
2021-11-02 11:42:46 +05:30
Gandharv
22bce1f4fb
Feature: Collaboration ( realtime comments for canvas ) 🔥 (#810)
* feat: initial commit for collaboration feature

* add dnd to comments

* add positions endpoint

* feat: encapsulate all http common logic in http-client

* segregate sections and transfer responsibility of state

* feat: use-spring to add fade effect 

* fix: open in right

* fix: left-right position css

* add footer for message

* integrate getcomment endpoint

* use fromnow for date ago

* add dnd

* - Add data trasfer object for comment
- Add class-validator package to check the response type from client
- Add comment repository class for persistance layer
- Add comment service with std. http methods
- Update controller with all http methods
- Update comment module
- Fix http-client bug when error is thrown

* fix http client bug when error is thrown

* feat: add entity thread

* feat: add migrations for thread and comment

* update entitites

* add tid to migration

* filter comments by tid(thread_id)

* fix: comment migration, add missing column comment

* feat: integrate in ui

* feat: split comments based on app_id

* fix: dnd to correct position

* package json engines

* engines update

* update npm

* npm 6 to 7

* fix: add user initials to thread

* fix: add firtname lastname to the comments

* - Return user object when save thread called
- Hide password field from user response
- Fix created_at date typo
- Instead of fetch all threads on new thread added, add the response to array of existing threads

* feat: update ui components

* change icon on comments view

* ui fixes

* fix: close icon close the popover

* temp: comment select: false

* use currentUser from localStorage

* fix: on click outside if comment is open, dont hit addThread

* fix: auth token issue in http-client

* on drag hide the comment if open

* add jwt auth

* spec: add test for comment & thread

* cleanup: remove console.log

* feat: add comment actions

* feat: add edit, delete, resolve options

* feat: add mentions component

* feat: add nestjs websockets

* temp

* websocket: establish client-server communication

* ws: add message listner to comments module in ui

* feat: add broadcast method to broadcast new events to all clients 💣

* ws: cleanup 🤙

* fix: remove max height from comment actions

* feat: add user mentions, emoji support

* fix: add static list of users - temp

* update and delete iterations

* - Rename comment, thread to comments, threads
- Add conditional actions
  - Show edit, delete only if he is comment owner
  - Show resolve only if he is thread owner

* reset engines

* move svgr webpack to deps

* fix: ui issues

* remove log stmt

* refactor: move resolved icon to comment-header

* feat: allow comments to be added on top of widgets

* feat: add keyboard shortcut

* scroll to bottom on comment add

* ui fixes

* feat: add react toast for notification display

* feat: add comment badge

* fix: ws connection

* fix: ws

* remove rvrse

* feat: add comment sidebar

* feat: add comment right sidebar

* fix: add missing foreign key elements

* - upgrade typeorm to 0.2.38
- comment sidebar ui
- added filter ui

* feat: on click of right sidebar notificaiton open the comment box

* reset engines

* fix: add organization id to the comment and thread module

* fix: add current version id

* add currentversion id

* disable comments if no id present

* temp:checking for heroku deploy

* fetch app on edit and deploy version

* rename current_version_id to app_versions_id

* ui fixes

* show mentioned user in blue color

* add ui changes

* add authorization for create thread

* change color to blue on click of comment, add auth for other endpoints of thread

* update threads, notifications using socket

* add auth for comments

* remove events spec file

* fix duplicate key error

* fix notificaitons updation on edit, delete, resolve buttons clicked

* update notifications for edit

* feature toggle changes for frontend

* add check for comments server

* add emoji mart package for emoji

* add reply count in comment sidebar

* subtract 1 from count in comment sidebar

* change empty text when no comments available
2021-11-01 12:58:03 +05:30
Santosh Bhandari
755be351f9
Add border to color picker selector (#1329) 2021-10-30 18:38:21 +05:30
SAI SUMANTH KUMAR
56165ad8bd
Fixed : App allows to create a datasource with no name (#1253)
* Update DataSourceManager.jsx

* Update DataSourceManager.jsx
2021-10-29 14:36:44 +05:30
Ksathwik03
5c17d64463
add new markers if addNewMarkers is set to true by default (#1323)
* add new markers if addNewMarkers is set to true by default

* Update components.js
2021-10-29 07:53:53 +05:30
Trevor Bayless
84f8f3c5bc
Adjust confirmation dialog logic so closed dialogs can reopen (#1259) 2021-10-29 07:18:33 +05:30
Tulsi Prasad
d3140a9d1b
Add link to documentation on API datasources (#1241) 2021-10-28 08:29:04 +05:30
Arpit
6b79a3096d
Bugfix/chart widget freeze issue (#976)
* fixes chart widget

* refactored

* removing comments
2021-10-27 13:27:57 +05:30
navaneeth
669bc896fc Merge remote-tracking branch 'origin/main' into develop 2021-10-26 18:34:40 +05:30
Nishidh Jain
219079be84
Resolves text and button color issue in dark mode for filter component of table (#1283) 2021-10-26 17:55:53 +05:30
Arpit
ed3b166628
select search component fixed: event manager - actions (#1303) 2021-10-26 17:08:52 +05:30
SAI SUMANTH KUMAR
1cc16506b8
Should not allow creation of version without name (#1261) 2021-10-26 13:07:29 +05:30
Jayden-Chiu
206d4f0cef
reset connectionTestError on data source modal exit (#1295) 2021-10-26 12:45:58 +05:30
Nishant Samel
89c1f3f02c
Fixes logo alignment issue (#1291) 2021-10-26 10:03:25 +05:30
Sherfin Shamsudeen
afa5dfc00d
Add action to set localStorage value (#1280)
* Add action to set localStorage value

* Apply spacing between key and value of set localstorage action
2021-10-25 22:24:21 +05:30
Arpit
e3087f737d
revert/fix default value for dropdown (#1142) 2021-10-25 17:25:40 +05:30
Gandharv
c8f3479432
add encrypted icon to firestore data source (#1272) 2021-10-25 14:46:46 +05:30
Sherfin Shamsudeen
ef9951b255
Bugfix/table pageindex sync with total pages (#1263)
* Update table page data when page index is updated

* Pass pageIndex from useTable hook as lastActivePageIndex for pagination

* Goto last page in table whenever page count is less than current page index
2021-10-25 14:00:52 +05:30
Trevor Bayless
d5c4ca6128
Do not allow ConfigHandle icons to be dragged on the canvas (#1260) 2021-10-25 09:19:54 +05:30
SAI SUMANTH KUMAR
5a458acfe2
Disables resizing of textarea to avoid overflow (#1252) 2021-10-24 20:55:09 +05:30
SAI SUMANTH KUMAR
3ec6e2d06a
dropdown to H1 - H6 tags in Text Editor (#1207) 2021-10-24 20:43:55 +05:30
Bhavin Ag
3ebf355d47
fix(table): add condition to check empty id row (#1213) 2021-10-24 19:54:00 +05:30
SAI SUMANTH KUMAR
c258016fba
Bugfix: The search box should be displayed on the map if canSearch is set to true by default (#1243)
* Update components.js

* Update components.js
2021-10-24 19:50:27 +05:30
Tulsi Prasad
3c1dc290e8
Use createref in Editor component properly (#1227)
- Prettify editor component
2021-10-24 19:46:10 +05:30
SAI SUMANTH KUMAR
1f1cd70175
To perform an action immediately after setting state on a state variable and then returning a result, a callback will be useful. (#1229)
* Update Editor.jsx

* fixed typo
2021-10-24 19:45:37 +05:30
SAI SUMANTH KUMAR
eec6263dda
Fixes the overflow issue of text editor (#1214)
* Update DraftEditor.jsx

* Update theme.scss
2021-10-23 17:50:53 +05:30
Jayden-Chiu
2106f4c5f5
Fixes app being able to be named empty or whitespace string in editor (#1197) 2021-10-23 16:11:58 +05:30
Santosh Bhandari
59e33a370c
Fix query manager appearance in dark mode (#1202) 2021-10-23 16:08:47 +05:30
navaneeth
2aa6179111 Backward compatibility for button border radius 2021-10-23 15:43:59 +05:30
SAI SUMANTH KUMAR
522baf32fb
Feature: border radius property for buttons (#1152)
* Update Button.jsx

* Update components.js

* Update components.js

* Update Button.jsx

* Update components.js

* Update Button.jsx

* Update Button.jsx

* Update Button.jsx
2021-10-23 15:29:33 +05:30
Ksathwik03
3302eb9647
Fixes border radius (#1209) 2021-10-23 13:35:34 +05:30
Sherfin Shamsudeen
65b5735b74
Feature/resize dropdowns (#1206)
* Resize dropdown height

* Fix for label

* fix

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-10-22 14:42:37 +05:30
Pramod
a18dacf544
Use const declarations for variables that are never reassigned (#1203) 2021-10-22 12:17:31 +05:30
Ksathwik03
918e8b9304
Remove null check for 'component.definition.styles (#1183)
* Remove null check for 'component.definition.styles

* Update Toggle.jsx

* Update Toggle.jsx
2021-10-22 07:51:45 +05:30
Sherfin Shamsudeen
a7502e5f03
Feature/cell types (#1194)
* Add custom spacing for table cells

* Add migration to set every tables cell spacing compact

* Rename cellSpacing to cellSize

* Add documentation for table cellSize
2021-10-22 07:49:51 +05:30
Arnav Puri
cf4e28c59e
resolves #401 by adding dark mode color (#1189) 2021-10-21 23:01:21 +05:30
Bhavin Ag
37d3bb4ae9
update theme toggle position to bottom (#1186) 2021-10-21 22:57:31 +05:30
Arpit
cb78a73105
Password input widget (#1172)
* password input widget

* revert: textinput default value
2021-10-21 21:53:11 +05:30
alammoiz
0605f97a21
Added tooltip to buttons (#1132) 2021-10-21 21:44:21 +05:30
Muhammad Mohsin
94f614918e
Added condition for pie chart to hide marker and grid line from inspector (#1182) 2021-10-21 21:36:58 +05:30
nik
8a51fe36ad
Add default value for text widget (#1179)
* Add default value for text widget

* Revert "Add default value for text widget"

This reverts commit fc03b3bdcf.

t

* Remove extra space and add text widget

* add value at proper place and remove from display
2021-10-21 21:29:47 +05:30