Commit graph

87 commits

Author SHA1 Message Date
Gandharv
1ddd170539
Add schema for data query editor (#1361)
* Initial commit for data query schema changes

* db: add mssql schema

* api: add graphql schema

* api: add redis data query editor

* db: add my sql db

* api: dataquery - add airtable api schema

* api: dataquery - add dynamodb api schema

* database: dataquery - add database api schema

* database: dataquery - add elastic search api schema

* database: dataquery - add mongo db schema

* database: dataquery - add postgre sql schema

* api: dataquery - add slack schema

* api: dataquery - add google sheets schema

* database: dataquery - add gcs schema

* fix: dynamodb styles

* fix: elastic search styles

* fix: firestore styles

* fix: remove line numbers + add className prop + add initialValue prop

* remove line numbers

* cleanup: remove jsx files of data queries

* cleanup: fix merge conflicts

* fix: on edit dropdowns not retaining value

* fix: remove unnecessary log statement
2021-11-17 23:29:00 +05:30
Arpit
a203253131
Feature: adds code preview for codeboxes (#1011)
* preview codeHinter default=true

* adding preview code for codeHinter for table widgets

* previw for codeHinter in eventManager and RestAPI headers tab fixed

* added classes to header tabs

* fixed preview for transformations

* widgets preview for title

* preview for advance tab QueryManager

* preview box for datasource queryeditor

* sql code hinter UI spaces fixed
2021-11-15 11:48:09 +05:30
Arpit
51d6537b02
Request confirmation before running query if true (#857)
* fixes state of toggles and currentTab of dataQueries

* show confirm modal when  query confirmation request is switched true

* simple and better fix:updating the helper function solves the issue

* minor fix for eslint-class declaration rule

* fire toast on queries running with requestConfirmation switched to true
2021-09-29 15:00:27 +05:30
Arpit
a9f7dc02fe
Fixes state of toggles and currentTab of dataQueries (#851) 2021-09-28 22:33:40 +05:30
Arpit
26c9cc655c
Fix linting errors across the app (#785)
* eslint-setup: rules for frontend and server

* setup pre-commit:hook

* frontend:eslint fixes

* frontend eslint errors and warning fixed

* eslint:fix for ./server

* fix server/test: expectatin string lint/error

* pre-commit:updated

* removed unwanted install cmd from docker file

* recommended settings and extension for vscode

* husky prepare script added

* updated extension recommendations

* added prettier as recommended extension

* added pre-commit to package.json

* remove .prettierrc file

* resolve changes

* resolve changes
2021-09-21 19:18:28 +05:30
Gandharv
5bb0594973
Enable suggestion box for codehinter (#737)
* enable suggestion box for codehinter

* add heading as type of the preview

* add preview only on focus

* remove box shadow

* add background to widget inspector documentation footer link

* doc footer updats

* add condition where boolean value was not getting printed

* use index as key
2021-09-15 21:10:59 +05:30
Akshay
f637a80fd6
Feature: data query deletion (#734)
* add feature for data query deletion

* fix after query deletion default query selection is not being done

* move delete option and hide option unless mouse is hovered on query

* show dialog box confirmation before query deletion
2021-09-13 22:54:47 +05:30
Akshay
2d20e262c9
Feature: Data query runs can also run events (#666)
* add capability to add events on data query runs

* UI fixes

* change popover placement to top
2021-09-06 20:10:51 +05:30
Gandharv
bd98fbdeee
fix: query pane margin (#683) 2021-09-03 10:31:01 +05:30
navaneeth
d4127736d6 Move the logic for option serializing to server 2021-08-30 23:15:31 +05:30
Gandharv
365e9e3cb3
Redesigned Rest api query builder 🎉 (#612)
* feat: add rest api new design

* fix page break on create/save query

* remove console.log

* align the i/p fields

* rename files

* remove border from i/p

* remove hover styles

* fix: filter empty headers, url_params, body

* fix when editmode headers empty

* fix the options on preview getting null

* fix navlink color on dark mode

* add color for non active tab in dark mode
2021-08-30 16:55:27 +05:30
navaneeth
1fdc4a1f23 Stability fixes for REST API query editor 2021-08-29 21:33:40 +05:30
navaneeth
116fc1f9f3 Feature: OAuth support for REST API sources 2021-07-25 22:50:19 +05:30
navaneeth
fae1fa7272 Policies and tests for running queries 2021-07-24 11:43:21 +05:30
navaneeth
cf39721b47 datasource id of rest api query should be null 2021-07-17 16:11:57 +05:30
navaneeth
ae07a60ae0 Show detailed errors as toasts for previews 2021-07-17 13:06:21 +05:30
Navaneeth Pk
4081c09cc3
Dark mode for preview rjv (#377) 2021-07-04 01:10:57 +05:30
Navaneeth Pk
23df1b981f
UI fixes for query editor (#375) 2021-07-03 22:37:50 +05:30
Navaneeth Pk
76fa78b675
Fix lint issue (#367) 2021-07-03 19:51:37 +05:30
Navaneeth Pk
150961b591
Feature/dark mode (#366)
* Dark mode part 1

* Dark mode part 2

* Dark mode part 3

* Dark mode part 4

* Dark mode part 5

* Dark mode part 6

* Dark mode part 7

* Dark mode part 7

* Dark mode part 8

* set light mode as default

* Dark mode part 9

* Dark mode part 10

* Dark mode part 11
2021-07-03 19:47:47 +05:30
Prasad Walvekar
c7446d4046
Chore: Rename class to className (#345) 2021-06-28 13:10:14 +05:30
Viraj Bahulkar
03e42fa844
Add datasource pre-fix to REST queries (#261) 2021-06-17 11:26:53 +05:30
Navaneeth Pk
e3243c1134
[BugFix] Fix for corrupt query options when pane is maximized (#215) 2021-06-09 18:10:08 +05:30
navaneeth
e321500cb5 Minor UI fixes 2021-06-04 09:31:09 +05:30
navaneeth
ab03d55d50 Remove external svg dependencies 2021-05-31 16:08:18 +05:30
navaneeth
9986534628 Updated query preview pane layout 2021-05-24 21:43:02 +05:30
navaneeth
feb6b5f082 Fixed layout for query manager 2021-05-24 18:39:00 +05:30
navaneeth
916a124f92 Fix for query previews not working in edit mode 2021-05-24 09:03:53 +05:30
navaneeth
5f1c0ec47b Improved server-side error handling on frontend 2021-05-23 23:27:47 +05:30
navaneeth
98fd9e7451 Consistent loading status for query manager buttons 2021-05-22 20:32:26 +05:30
navaneeth
2644852367 Expand reactjson objects for query previews 2021-05-22 18:34:24 +05:30
navaneeth
39e15df815 Scroll to preview panel on query completion 2021-05-22 18:29:33 +05:30
navaneeth
f4aac792b7 Refactor query manager to preview queries without editor dep 2021-05-22 18:27:36 +05:30
navaneeth
f4f1b5fa2f Fix for REST API query to support previews 2021-05-22 17:32:11 +05:30
navaneeth
a7e94367e1 Feature: Preview new queries 2021-05-22 17:20:55 +05:30
navaneeth
49aa29fb01 Feature: Query previews 🎉 2021-05-22 16:59:27 +05:30
navaneeth
e322b64206 Feature: Run queries from query manager list 2021-05-22 12:59:44 +05:30
navaneeth
2e346f6ff0 Normalize icon colors 2021-05-20 10:36:32 +05:30
navaneeth
de4d39ba40 Fix for query manager source reset on maximize 2021-05-17 16:04:21 +05:30
navaneeth
adb88c254e Feature: Connect to mongo using connection strings 2021-05-13 22:08:13 +05:30
navaneeth
a418a6ebae Feature: Query editor for DynamoDB, list table query 2021-05-13 19:01:55 +05:30
navaneeth
75925c4e3b Lodash support for transformations 2021-05-13 15:24:58 +05:30
navaneeth
1833a798f6 Minor UI bug fixes 2021-05-13 12:55:54 +05:30
navaneeth
3fd6f31395 UI changes fo REST API query editor 2021-05-09 10:55:00 +05:30
navaneeth
737c33f150 Query editor for mongodb 2021-05-04 18:10:44 +05:30
navaneeth
407de9f58e Query editor for slack 2021-05-04 12:15:04 +05:30
navaneeth
2121dd1d1c Code hinter for transformations 2021-05-03 19:57:32 +05:30
navaneeth
33f6b8b215 Feature: Code hinting using codemirror 🎉 2021-05-03 13:40:23 +05:30
navaneeth
89bdd82080 Multiple bug fixes for rest api queries 2021-05-02 14:57:26 +05:30
navaneeth
46d54a70cc Auto resize for query editors & transformations 2021-05-02 11:47:22 +05:30