Commit graph

181 commits

Author SHA1 Message Date
Arpit
c1939aa58c
[Bugfix] fields jumps when focused - REST API (#1516)
* fix: fields jumps when focused

* use colors from colors.scss
2021-12-07 20:12:13 +05:30
Gandharv
372bfe7a18
fix: query manager closing on view updates (#1478) 2021-12-02 14:17:48 +05:30
Arpit
2b303c026b
[Feature] : Gsheet update operation (#1453)
* gsheet update op: schema and UI

* gsheet update op: server

* update operation for google sheet datsource api

* remove unsued comments

* backward compatiable: removed custom rule for sheet

* unsused consolelogs

* .

* Show gsheets update query body as a single-line codehinter

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-02 12:25:40 +05:30
Gandharv
b61d07e0c5
Refactor: move default options to schema files (#1425)
* refactor: move default options to schema files

* fix: use options instead of source.options

* add default empty object when defaults not present in schema

* add null checks for gsheets and slack component

* removes un-necessary console log

* delete constancts file

* delete default options file for data sources
2021-11-22 13:52:32 +05:30
Arpit
31e8752b65
code hinter height fixed for queryEditors - datasources (#1431) 2021-11-21 09:44:26 +05:30
Arpit
1fdcccec26
google sheet datasource schema update (#1436) 2021-11-20 07:04:00 +05:30
Gandharv
a8806d3123
fix: add placeholder for records while bulk update in postgres (#1434) 2021-11-20 07:03:36 +05:30
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
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
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
Alok Kumar Sahoo
9603f2b923
GH-1037: fix/base url not changing with theme (#1113) 2021-10-18 08:57:39 +05:30
Akshay
ceca48b100
Revert "Feature: Snowflake integration (#996)" (#1046)
This reverts commit d4c4501d63.
2021-10-14 22:10:18 +05:30
Akshay
d4c4501d63
Feature: Snowflake integration 🔥 (#996)
* add snowflake datasource and query manager for frontend

* add snowflake integration
2021-10-13 09:35:35 +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
bf0564a61f
Bugfix/enable transformation (#821)
* fixed: Transformation editor automatically closes and looses current state

* fixed: enableTransformation toggle switch switches to off/disable state due to other components
2021-09-27 09:10:21 +05:30
Arpit
63b26d9a87
BugFix: Transformation editor automatically closes and looes current state (#818) 2021-09-23 09:55:21 +05:30
Sherfin Shamsudeen
3ca60c5b2d
Bugfix/firestore query conditions (#813)
* Add multiple fields for order and orderType in firestore query

* Add support for querying firestore with where, order and limit

* Minor refactoring updates for firestore query operations file

* Minor refactoring for firestore query operations

* Update package-lock.json with npm 7.20.0
2021-09-22 00:19:29 +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
Arpit
4dc356cb36
Parameter to accept a specific range within a Googlesheet (#798)
* Parameter to accept a specific range within a googlesheet

* default range: A1:Z500
2021-09-21 17:20:29 +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
Gandharv
8791f697e2
Use state instead of props in util file' (#720) 2021-09-13 21:53:27 +05:30
Gandharv
3c6669799e
Add default values for rest api query builder (#705) 2021-09-08 10:26:40 +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
8612f8f0d6 Fix for REST API URL field height 2021-08-24 08:12:16 +05:30
navaneeth
636bf0bc4b Codehinter enhancements 2021-08-21 09:39:04 +05:30
Akshay
5909aaacff
Feature: bulk update capability for mysql plugin (#561) 2021-08-20 19:26:47 +05:30
Arpit Nath
7d37cf25f4
Feature: update record operation Airtable (#468)
* update record(s) operation : airtable

* fix: update record  operation - Airtable

* nolints

* indentation fix

* duplicate props removed
2021-08-12 21:06:31 +05:30
navaneeth
9f1b6d5fc8 Merge branch 'develop' into feature/nest-server 2021-08-09 10:12:09 +05:30
Arpit Nath
1eb2e787a4
Feature: Delete record operation for Airtable (#459) 2021-08-05 16:48:09 +05:30
Apoorv Tiwari
245f55904b
open read doc. link on a new tab (#456)
Co-authored-by: “Apoorv <“tiwari.apoorv1316@gmail.com”>
2021-08-05 12:52:23 +05:30
navaneeth
1f8fe20264 Merge branch 'develop' into feature/nest-server 2021-07-31 20:28:32 +05:30
Viraj Bahulkar
f837b31e0b
Fix input consistency in posgres GUI (#385)
* Fix input consistency in posgres GUI

* Add wrapper class to GUI select search element
2021-07-30 11:36:27 +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
9f9f833820
Set default operations for data sources (#378) 2021-07-04 01:21:20 +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
e34350ff4f
Fix get operation of firestore (#369) 2021-07-03 19:58:41 +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
Nishant Samel
4e44e0a319
Feature: delete row from Google sheets (#354)
* Add feature `delete row from Google sheets`

- Fix https://github.com/ToolJet/ToolJet/issues/312

* Update operation name to `delete_row`

Co-authored-by: Nishant Samel <nishant@saeloun.com>
2021-06-29 22:36:59 +05:30