Commit graph

113 commits

Author SHA1 Message Date
Arpit
b9754c4b6b
[Feature] popup modal for code hinter (#1465)
* portal for code hinter popup

* codehinter portal styles

* portal editor height

* update icons

* hinter changes

* refactoring to a separate dir

* code hinter - portal

* component details added in the portal header

* portal header: source name fixed

* portal header: inlcludes field name in the header

* display field names for rest api

* display field names for transformation

* handle for empty component names

* portal preview code bg

* foreUpdate

* foreUpdate

* refactored and using same codemirror component to render portal's editor

* clone codemirror to two different component

* fixed - need click to render the field data

* force update

* table component cell types: included

* chart component types: included

* alignment of the preview area

* btn color adapts to theme-fix

* remove console.logs

* disable portal editor for event manager

* scss unsued ruleset removed

* name fixes and remove unsued var

* .

* null check

* removed hardcode componentName

* app z-indexes: added z-index for suggestion-hints

* hook exhaustive-deps

* portal custom hook

* updated function name

* icon position fix

* hinter fails to open in certail scenarios: fixed
2021-12-10 08:39:23 +05:30
Gandharv
d398266991
fix toggle value (#1525) 2021-12-07 15:41:12 +05:30
Gandharv
7a8698645e
Add checked prop to toggle element (#1520)
* fix: add checked prop to toogle element

* add onChange value based on event.target.checked
2021-12-07 11:21:56 +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
29b20ce1e8
fix rest api defaults (#1450) 2021-11-24 16:12:16 +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
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
Gandharv
c8f3479432
add encrypted icon to firestore data source (#1272) 2021-10-25 14:46:46 +05:30
Arnav Puri
6c137306d8
Fixed #1049 Broken Toggle Button (#1061) 2021-10-15 07:40:08 +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
9d347ff38f
fix import camelcase of GoogleSheets 2021-09-15 13:10:11 +05:30
Gandharv
a07bc59a72
Feature: Add dynamic form for datasources (#676)
* feat: add dynamic form (airtable)

* feat: add schema for rest api

* feat: add schema for graphql

* feat: add schema for stripe

* feat: add schema for google sheets

* feat: add schema for slack

* fix: options from correct key

* fix: schema url

* rename headers to http-headers

* fix placeholder

* feat: add schema for dynamodb

* feat: add schema for redis, elastic search, firestore

* feat: add shema for mongodb, postgresql

* feat: add mysql schema

* fix: remove azure option

* feat: add dropdown component flip type

* feat: add mssql schema

* chore: delete previous components

* remove console log

* fix: database value set as port

* feat: add helptext prop to input

* remove unwanted class on toggle

* change placeholders

* change placeholder

* fix typo

* add ssl_enabled to schema
2021-09-15 08:20:55 +05:30