Commit graph

3217 commits

Author SHA1 Message Date
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
Arpit
38ababaa20
[Bugfix]throw error with response body instead of response fro Oauth (#4270)
* throw error with response body instead of response

* resolves: stringify the error response
2022-10-04 12:55:58 +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
Nirjas Jakilim
abc273363a
Fixed broken link of doc (#4265) 2022-10-03 20:04:20 +05:30
Gandharv
39a330f385
fix: add max file size validator for user avatar (#4103) 2022-10-03 17:40:41 +05:30
mikebarr24
6e4b3ba270
[docs] Fixes multiple typos (#4225) 2022-10-02 21:13:52 +05:30
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