Commit graph

3211 commits

Author SHA1 Message Date
Prabesh Bista
de576fd858
Added text widget default color (#4228) 2022-10-02 21:08:58 +05:30
Jay Patil
895accb46c
Minor fixes for Readme (#4176)
Adding the detail of heroku for free tier and highlighting the details that are important
2022-10-02 10:42:53 +05:30
mikebarr24
59210b8a9f
Fix/4127 docker dev setup (#4160)
* update shebang to bash

* Update grep to original command
2022-10-01 16:01:29 +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
ebe087f126
[docs] Icon widget and updates to s3 and bigquery (#4123)
* added icon widget doc and updates to s3 and bigquery

* Update docs/docs/widgets/icon.md
2022-09-28 22:51:44 +05:30
Shubhendra Singh Chauhan
0908036555
Added application template for GCS file explorer (#3835) 2022-09-28 22:39:51 +05:30
Shivang
d55e0ee2cb
[docs] Pagination documentation (#3846)
* created pagination doc, updated new page layout

* reverted to the comments

Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-09-28 22:39:11 +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
63052076f2
Fix: Set editing version as latest version on imports (#4117)
* set editing version as latest version on imports

* handle empty versions case
2022-09-27 14:51:33 +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
Kavin Venkatachalam
2ffda26f38
[Feature]: Link Widget (#3905)
* Created Link Widget

* Added empty line at the end in theme file

* Fixed overflow issue in Link widget

* Updated visibility in the link widget

* Added doc for link widget

* Updated link widget doc

* Set fxActive on by default for visibility

* Fixed variable typo in link widget

* Updated hidden property

* Updated visibility logic for link widget

* Moved visibility to styles section

* Moved register action to useEffect

* Removed registerActions on useEffect

* Removed dependencies in registerAction function as it is breaking inspector

* updated link doc

* Add clickRef of link component as dependency of registerAction

Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-27 11:12:14 +05:30
Kavin Venkatachalam
3d5ebb7e33
[Bug]: Multiple Confirmation Popup (#3845)
* Fixed multiple confirmation popup bug

* Fixed toast on viewer when confirming the run query

* Removed console

* Fixed null error modal onClick

* updated logic to display multiple confirmation popup

* Removed key

* Added key in the confirm component
2022-09-27 11:03:30 +05:30
Sherfin Shamsudeen
4ee35e7eac
Add setState functions of components as dependencies for registerAction (#4120) 2022-09-27 10:55:51 +05:30
gsmithun4
a83aa36ff4 Bump version to v1.26.0 2022-09-26 19:38:55 +05:30
Arpit
3ca7de1c40
fixes query params are passed as slug to the app url for go-to-app action (#4118) 2022-09-26 18:57:45 +05:30
Kiran Ashok
962e4d36cc
Feature :: ClickHouse plugin (#3873)
* feat : setup and basic querying

* docs reference links

* revert settings.json

* updating settings.json

* updates :: more source options , insert query

* cleanup

* updated with insert operation

* database :: required field

* text capitalizing

* updated docs

* PR changes :: added OR operation

* removed format option

* Revert "removed format option"

This reverts commit 02c5edcf86.

* bugfix

* removing session , fornat

* lock files

* Revert "lock files"

This reverts commit d593cf9425.

* rearranging operations

* extra comma removed
2022-09-26 18:35:20 +05:30
Manish Kushare
d3c0f8d635
Enhancement : [ Button Widget ] 2.0 (#4024)
* moved disbale and visible state to properties tab from styles and made fx default for each

* added hover event

* added loading,visible, and disable csa props and handled them in widget

* made General and layout menus open by default in widget inspector

* added migration for visibility and disabled prop

* removed unwanted visible prop in the properties object

* made fxActive true in migration file

* added loadingState active fx in migration

* refactored widget

* refactored button widget

* bug fixed

* bug fixed

* bug fixes

* replaced onMouseMove with onMouseOver event

* changed the type of action for loading, visibility and disable to toggle

* moved all register action inside useEffect

* removed register action function from useEffect and made the requested changes

* fixed visibility bug

* avoiding extra render

* made changes for better readability

* removed unused import
2022-09-26 15:47:55 +05:30
Arpit
decc924ba2
[improvement] Modal widget (#4045)
* init

* fixes: config-handler clickEvents

* fixes: position attributes for open state modal config handler

* modal body scrollable

* adds loadingState

* adds onOpen and onClose events for modal

* adds visibility property

* open general and layout Options by default

* adds styling options for modal header and body

* adds style options for show button and conditional rendering of button styles

* refactor conditional rendering styles

* clean up

* fixes typos

* remove footer

* modal size

* handles dark theme

* update naming convention for modal: trigger button

* modal size:updates

* updates modal close icon

* adds comments for conditionally rendering style options

* only vertical scrolling inside modals

* clean up

* custom UI for widget config handle for modal

* backfil

* resolves: event should not fire on mount

* modal improvements doc

* hide modal on clicking outside for viewer mode

* Remove unnecessary modification of modal property schema

Co-authored-by: Shubhendra <withshubh@gmail.com>
Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-09-26 15:46:21 +05:30
Manish Kushare
e838d3e96b
Enhancement : [ Text widget ] refactor (#4038)
* refactor Text widget

* refactored text widget

* bug fixed

* changed the type of action for visibility to toggle

* changed the default value of background color to transparent

* made event menu open by default in widget inspector

* made the suggested changes

* bug fixed : app was crashing due to visibility

* made changes to improve readability
2022-09-26 15:05:46 +05:30
Manish Kushare
8f3abb5609
added onSelect event, when date are selected (#4058) 2022-09-26 14:21:03 +05:30
Arpit
d1b8da1d45
fix: table - Bulk update actions buttons should not be displayed after save changes or discard button is clicked (#4114) 2022-09-26 13:45:47 +05:30
Arpit
5f8b0f2594
[Plugins] Adds support for pagination in listing objects from AWS S3 buckets (#3970)
* Adds support for pagination in listing objects from s3 buckets

* docs

* adds Next Continuation Token

* docs: Next Continuation Tokenzendesk

* docs: Next Continuation Token
2022-09-26 11:28:54 +05:30
Manish Kushare
0a2ba33002
bug fixed : misaligned text and button in the events section in query manager (#4088) 2022-09-26 11:07:06 +05:30
Arpit
1196aef268
[Bugfix] Fixes: Slack Plugin (#4022)
* fixes: schema and scopes

* updates docs: slack datasource

* fixes:code hinter UI for slack operations

* updates send message ref image: docs
2022-09-26 10:54:12 +05:30
mikebarr24
6a2082dd0c
[docs] Update docker setup docs (#4108) 2022-09-25 09:00:17 +05:30
Arpit
dce717c78a
[Bugfix] Fixes List tables operation for Big Query (#4034)
* fixes: List tables operations

* sanitized response

* sanitized response for create and delete table

* handle create_view operation without condition being passed

* updates insertion response

* handle create_view operation without condition being passed
2022-09-24 00:43:44 +05:30
Shivang
39c96d3c27
[docs] Table widget info update (#3824)
* added info about custom validations

* text bug resolved

* added one liner description for cell types

* Updated online description for cell types

Co-authored-by: Shivang Tiwari <shivangtiwari@Shivangs-MacBook-Pro.local>
2022-09-23 23:13:14 +05:30
ighmaz
8c2be66702
[docs] Added copy-paste shortcut (#4096) 2022-09-23 23:12:42 +05:30
Ajith KV
7d89282776
Add happy path spec for Text Input widget (#4029)
* Add and modify data-cy for text input widget

* Add methods and utlis file for text input widget

* Add custom command for code mirror input clear function

* Modify common widget selectors

* Add and modify texts and labels

* Add spec file

* Add review changes
2022-09-23 18:03:05 +05:30
Midhun Kumar E
4d42efaa8f
Add cypress test for listview (#4070)
* Add data-cy

* Add utils

* Add spec and constants

* Fix commented lines.

* Added missing preview
2022-09-23 13:38:28 +05:30
Sherfin Shamsudeen
ddf28a1336 Merge branch 'main' into develop 2022-09-22 19:22:31 +05:30
Sherfin Shamsudeen
4137a25ada Bump hotfix version 2022-09-22 19:22:01 +05:30
Arpit
3e6c98ebcc
[Hotfix] Calendar widget : Default date is not updated dynamically and widget crashes for invalid dates (#4095)
* hotfix: pr-4073

* hack to update the exposed variable
2022-09-22 19:21:12 +05:30
Manish Kushare
02e4d5fac9
made Overflow dropdown in the columns section inside table widget inspector consistent with the dark theme (#3900) 2022-09-22 11:16:12 +05:30
Sherfin Shamsudeen
b5507b4ac5
Refactor table component (#3933)
* Updated the table UI

* made the search bar in sync with current applied theme in the application

* updated the UI of the table widget

* adjust x axis in the footer

* made the search text vertically center

* Load text color using new api in Table

* Load action buttons data using new api in table

* Revert usage of new api for table actions

* Use new api to load most properties and styles

* Move logic for loading styles and propeties to another file

* Table: Move loading of actions to separate file

* Move functions to expose data to codehinter to Box.jsx

* Table: Get loadingState from new api

* Table: Use reducer for storing table column properties

* Table: minor refactoring on reducer

* Table: Replace the use of internal state variable componentState

* Abstract out Filter as a separate component

* Move table column definitions to a separate file

* Move action column definition to a separate file

* Move IndeterminateCheckbox to a separate file

* Completely remove any requirement of loading from definition inside loadPropertiesAndStyles

* Reduce the use of reducer dispatch calls in Table.jsx

* Remove the usage of __TjDoNotResolve__

* Load actions without new API

* Update migration to make columnSizes follow default format

* Fix migration to restructure table column sizes data

* Do not update columnSizes property if incoming value is empty

* Remove unnecessary code

* Remove unnecessary linting

* Remove unnecessary reducer action

* Remove unnecessary code

* Merge table changeSet data into table details reducer instead of filter reducer

* Make compact and spacious cell sizing work for table

* Remove custom handling of onRowClicked for Table

* Fix issues with table visibility, border radius and disabled state

* Resolve the issue with invalid date crashing the table

* fixes:widget crash is only for those tables which do not have any actions associated with it yet. (#4078)

* Remove unnecessary code

Co-authored-by: Manish Kushare <manish.altcampus@gmail.com>
Co-authored-by: Arpit <arpitnath42@gmail.com>
2022-09-21 16:23:02 +05:30
Kavin Venkatachalam
3ae99adc57
[Bug]: Fixed localisation for subpath (#4057)
* Fixed localisation for subpath

* Fixed notification typo on localisation
2022-09-21 10:53:30 +05:30
Gandharv
9860cf639e
fix(webpack): remove devtool source-map in prod mode (#4066)
* fix: remove devtool source-map in prod mode

* undo unwanted change
2022-09-21 01:59:09 +05:30
Akshay
5108d12b9f
fix zombie idle db connections from within transactions (#4072) 2022-09-20 18:47:47 +05:30