Commit graph

115 commits

Author SHA1 Message Date
Manish Kushare
ba7e38b7d9
[ Enhancement ] : Query panel UI design (#4757)
* added colors variable in color.scss

* made left side bar of query panel width fixed to 249px and main container width to grow accoding to available width of query panel

* made UI updates in query container - left sidebar of query panel

* set query name font weight to 400

change the border color of left sidebar of query panel

added colors in colors.scss

commented unused variable

* UI update for header in the leftsidebar of the query panel

* updated width of the primary default secondary button

* Updated UI for query panel header

* draf : tranfomration UI update

* draft - preview section UI update

* draft : query manager advance options UI update

* draft : UI update for restApi query editor

* update

* femoved disable save button logic

* small updates

removing box shadow for rest api options button

adjusted spacing for data source selectionn div

* reverting changes in _ui/Search component

* bug fixed : Query Panel header spacing and alignment issues

dark theme update

* spacing and dark theme update in query container

* bug fixed : transition issue in tabs

* dark theme updates and bug fixes

* input checkbox update

* added cursor pointer to input checkbox

* updates

* updates

* bug fixed : removed typo error from last commit

* update

* added 3 rows in rest api tab content by default

* update spacing between datasource picker and element to render div

* spacing top for event manager section

* removed inline style from preview component

* data source lister font size update

* removed inline style from editor component and added style in css

* small updates

* applied color theme for dropdown options in the query manager

* added cursor pointer to control section of dropdown

* updated select data source section in query manager

* dynamic form bug fixed

* bug fixed : breadcrum

* bug fixed : toggle in GroupHeaders is not consistent with the dark theme

* bug fixed : clear icon in searchbox in query manager

* bug fixed : color in rest api in request url

* search box query manager final design

* small update

* made suggested changes

* query editor design for stripe query

* made changes in stripe

* updated the files with minor changes

* made minor updates in stripe

* set Get as default method in rest api

* add functionality to update query name from query panel header as well

* change the width of list data queries section

change size of icon to 20px

* updated changes

* created queryManager.scss file

* added default value to input text box in the query panel header

* bug fixed

* fixed minor bugs

* moved custom-toggle css in queryManager.scss

added on focus css for ternary button

* removed unsued lines from queryManager.jsx

* bug fixed: spacing in search box

* bug fixed: spacing in search box

* code enhancement as per changes requested

* fixed : search box component breaking inside DataSourceManager component

* made a function to style select component in query manager

* styles select component in rest api and transformation using common method

* chnaged run query on page load to application load
2022-12-20 18:38:51 +05:30
Gandharv
a1fd1fc301
[Feature] Make plugins installable (#3069)
* feat: add user avatar

* update: @nest/platform-express from 8.0.0 to 8.4.4

* add avatar_id in login response

* add user avatar upload in frontend

* align cross divider with layout icons'

* generate nest model - extensions

* Add extensions module

* Add extension to datasouce

* add not implemented check

* create extension

* refactor

* cleanup

* fix tests

* reduce the avatar size on homepage

* poc: run js code from string

* resolve conflicts

* fix conflicts

* add globals

* add new route

* add icon, manifest file upload

* complete user flow

* add flow for data queries

* add dynamic manifest instead of local datasource types

* add version attr

* remove unused code

* add version

* rename extension(s) -> plugins(s)

* add test connection method

* feat: add marketplace listing page

* Add install plugin cmd + missing attrs {name, repo, desc} to plugin

* add missing icon

* - Add npm workspaces for marketplace monorepo
- Added cassandra datasource plugin
- Created upload to s3 script
- Created plugins.json entry file

* install plugin from s3 bucket

* cleanup

* update pkg locks

* fix icon render

* cleanup

* marketplace changes

* ui changes

* operations file load fix + revert vm2

* update module from string to 3.2.1

* load plugins.json from local file instead of remote

* install plugin from local file if not production environment

* add sqlite

* feat: add plivo api plugin

* exp: add heroku 22 stack

* update assets include path

* Revert "exp: add heroku 22 stack"

This reverts commit a8926b36e1.

* add integrations link

* Add casl ability for plugin

* load host from env else fallback to default

* update imports

* remove sqlite

* typo

* add marketplace flag to cli command

* move ts and ncc to devDep

* add hygen templates for marketplace

* cli tree-node path fix

* template indent fix

* TOOLJET_URL -> MARKETPLACE_TOOLJET_URL

* add tests

* refactor: move to plugins.helper for get-service helper utility

* fix; typo

* update package-lock.json

* review changes

* remove a href

* remove bg color + redirect issue due to href

* add test url

* fix crash on search

* remove extra slash

* feat: allow plugin to be installed from github repository

* remove unwanted args from cli command

* add repo attr while save

* feat: add feature toggle for marketplace feature

* fix: make default config as false

* chore: remove hyperlink

* fix: failing build

* chore: update s3 url to point to prod

* fix failing test

* fix test

* fix: test case

* update module from string pkg

* update env

* fix test

* fix test

* add readme file

* Update README.md

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-10-27 16:59:43 +05:30
John Bampton
ca5fe39751
all: fix spelling (#4326)
Fixes typos, fixes a file name.

Minor whitespace removal from link
2022-10-11 13:46:40 +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
Kavin Venkatachalam
7f702c1d6b
[Feature]: Added Localisation (#3746)
* Added localisation

* Closed modal after language selection

* updated transaltaion setup

* Updated language tooltip

* Added fallback language support

* Adding english library resource for translation (#3844)

* Adding English dictionary for the widget lists in the inspector

* added leftSideBar object in en.json and implemented it for leftSidebar icon text

* renamed leftSideBar to leftSidebar and added resources for tip in the left side bar

* added english translation resources for leftsidebar debugger

* added english language resources for the global settings

* added english language resources for data sources in left sidebar

* added english language resources for the share button and share modal in the editor

* added english language resources for release button, manageOrgUsers, appVersionManager

* added english language resources for Queries and Please select a widget to inspect in the editor

* added english language resources for data source list , data source manager, and query manager(partially)

* added english language resources for queryManager, transformation, preview

* added english language resources for dark mode toggle in the headers inside homepage

* added fallback message for dark mode toggle

* added resources for language change in the headers inside homepage

* added resources for notification center in the header inside homepage

* added resources for organization and manage users components in header inside homepage

* added resources in manageGroupPermission

* added resources for manageGroupPermissionsResources component

* added resources for manageSSO and generalSettings components

* added resources for google sso

* added resources for github sso

* added resources for environment variables in manageSSO

* added resources for profile and setting page

* added resources for app card and app card menu

* added resources for folder section and app list in homepage

* added resources for header section in the homepage

* added resources for pagination in homepage

* added resources for modals in the homepage

* added resources for blank page

* added resources for login page

* added resources for forgot password page

* added resources for sign up page

* added resources for onBoarding component

* added resources for reset password page

* deleted duplicate key for readDocumentation

* deleted duplicate key for cancel in en.json and added translation for cancel at few places

* removing duplicate copy of save key in en.json

* added translation for CommentActions.jsx components

* deleted duplicate copy of search key in en.json and added resources for create and search queries , select keys

* fix typo errors

* fixed typo errors

* shorten the key for loginAndSignUpAndForgotPassword to loginSignupPage in en.json file and related files

* shorten the key noLoginMethodsEnabledForThisWorkspace to noLoginMethodsEnabled

* shorten the key pleaseCheckYourEmailForConfirmationLink to emailConfirmLink

* shorten the key dontHaveAccountYet to dontHaveAccount

* shorten keys from loginSignupPage key in en.json

* shorten keys of shareModal nested object in en.json

* shorten the key in appVersionManager nested object

* shorten the keys for queryManager nested object in the en.json

* delete duplicate copy of environmentVar and shorten manageEnvironmentVariables,environmentVariables

* shorten keys in the organization nested object

* shorten keys in the homePage nested object in en.json file

* added inspector and eventManager empty object

* added resources to RedirectSSO component

* added resources for OAuth2

* added resources for TemplateCard.jsx

* added resources for TemplateLibraryModal.jsx

* added resources for ConfirmationPage.jsx

* added resources for ConfirmationPage component

* removed translation in App.jsx file

* added resources for Slack.jsx

* added resources for GoogleSheets.jsx

* added resources for CodeBuilder.jsx

* added resources for CommentBody and CommentFooter

* added resources for TestConnection component

* added resources for AllignButton.jsx

* added resources for Openapi and Stripe components

* added resources for ErrorBoundary

* added resources for Viewer.jsx

* Translation for widgets, table

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>

* Commented Language selection

* Fixed typos

* Updated fr.json file

Co-authored-by: Manish Kushare <kushare.manish9@gmail.com>
2022-09-14 13:34:49 +05:30
Arpit
793510a755
adds actions to suggestive hints for runjs (#3782) 2022-08-16 16:07:06 +05:30
Arpit
6ea6215126
[chore] ESLint fixes (#3749)
* lint fixes for frontend

* resolves warning and run eslint: some dependencies  use another version of ts
2022-08-06 09:34:07 +05:30
Muhsin Shah C P
b4809db0ac
[Feature] Added an option to save edited queries to avoid losing values by state changes 🚀 (#2944)
* Implemented basic edited queries tracking for normal plugins (queries)

* Implemented on custom plugin also

* Resolved a bug

* now, save modal will not popup if querypane moved

* Resolved restapi array values issue

* Removed unwanted lines

* Resolved issues
- losing selected datsource while Query pane being dragged
- Triggering save modal when theme mode changes

* Now, application will be save unsaved new queries

* Resolved some issues
2022-05-24 04:02:59 +05:30
Arpit
7126beb14a
[chore] fixes eslint warning and errors (#2917)
* chore: lint warning and error fixes

* reverts changes to daterangepicker.jsx
2022-04-28 15:03:05 +05:30
Eyuel Berga Woldemichael
0afb3defdd
Fix key-value input increment (#2844)
- add an extra condition to check if the key and value inputs are not empty
2022-04-28 11:37:09 +05:30
Muhsin Shah C P
90e192dcb1
Added a field for sending JSON body with Rest Api Queries (#2667)
* updates body ui toggle

* updates

* Implemented JSON body option

* Tested and resolved some issues

* Changed body json toggle name

* Removed codes of converting json to key ,value pairs
    - Resolved array problem
    - Now json body will be seperate option

* Removed unwanted lines

Co-authored-by: stepinfwd <stepinfwd@gmail.com>
2022-04-27 15:21:30 +05:30
Muhsin Shah C P
dcee0885d6
Feature: OpenApi import plugin (#2728)
* Initialized OpenApi plugin

* Added definition field to manifest file

* Added an openapi parser

* Implemented JSON/YAML resolver
- Removed swagger parser lib
- Added a field for choosing definition format type
- Implemented a resolver for resolving $ref

* Implemented a basic operations drop down from spec paths

* Added params and body ui

* Now, can view general parameters and servers

* Added an option to override general params
- Resolved a bug

* Implemented basic openapi plugin
- Added got lib
- Tested basic queries

* Added one more method

* Resolved a common bug

* Working on Parsing definition from datasource modal
- Created new form component for openapi
- Populated select array from security array

* Added ui for authentication

* Added bearer & basic plugin code

* Resolved some ui issues of Apikeys auth option

* Added apikey auth

* Resolved an issue
- Also replaced validate btn with auto validation
- Now spec will be added to db from data-source modal

* Added error text to show validation error

* Now spec will load from props for query manager

* Added some padding to operation description

* Added ui for openapi oauth2 auth

* Implemented oauth2

* Fixed a state issue with a temporary hack

* Now we can show multiple same auth types

* added the icon

* Resolved a bug & improved multiple apikeys process

* Resolved some realtime parsing error

* Resolved a bug from options fn

* Resolved PR changes

* Updated documentation with brief details about the open API plugin

* Removed unwanted package

* Changed if-else to switch

* Code changes

* added setLoadingSpec fn to catch section

* Solved typos and error in doc

* Resolved dropdown issue

* Resolved a bug

* updated openapi icon
2022-04-26 14:14:12 +05:30
Arpit
886238fcc9
[Bugfix] stripe query selection dropdown menu should display the selected component value on saving the query (#2106)
* fixes should display selected component value on saving the query

* handles undefined props to select component

* fixes query failure and state update

* removes log

* fixes the crash

* removes test files

* fixes query options state: selected operation should display field on query save

* fixes query options

* fixes stripe query crash: on mount

* adds remove params function

* Update frontend/src/Editor/QueryManager/QueryEditors/Stripe.jsx

resolves

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>

* resolves current value  would lead to being a comma(,)

* resolves current value  would lead to being a comma(,) to null

* resolves review changes

* clean up: refactored

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
2022-04-19 16:26:39 +05:30
Arpit
e792e074f1
[Improvement] migrates to react-select: selection dropdown component (#2322)
* migrates to react-select: selection dropdown component

* styles fixes

* decomposing @ui/Select component into sub-components

* migrates Editor-Select component

* adds width to oauth selection dropdown

* updates datasource: oauth and authentication dropdowns (source component)

* Update frontend/src/_ui/Select/SelectComponent.jsx

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>

* resolves currentValue

* fixes scroll issue for dropdown options component

* updates queryManager react-select component

* updates rest api query to react-select

* adds options to render select menuwith portal

* adds: select menu render option for dynamic dropdowns and drodown-component-flip

* fixes: dropdown selection menu for restapi-oauth

* removes unused imports

Co-authored-by: Gandharv <gandharvkumargarg@gmail.com>
2022-04-11 17:27:07 +05:30
Muhsin Shah C P
d10625ca4c
Changed rest api query builder design (#2472)
* Changing rest api query builder design
- Changed vertical tabs to horizontal
- Removed key,value group header
- Changed icons
etc

* Removed unwanted spaces & fixed dark mode

* Added delete option to the 0th key value pair also
- Changed url field's width

* Resolved a bug

* Fixed size & alignment issues
- Changed some bootstrap row classes to flex layouts

* cleaning code

* Added some styles

* Fixed minor ui issues
2022-03-17 12:50:55 +05:30
Sherfin Shamsudeen
2d89658997 Read safely from rest api options method key 2022-02-08 12:10:42 +05:30
Arpit
ee353966b4
fixes rest-api query methods (#2171) 2022-02-07 19:06:16 +05:30
Arpit
8c990df18d
[Bugfix] style fixes querypanel (#2163)
* fixes default value for restapi

* fixes default value for restapi

* restapi-url field width 100%

* removes extra padding from codehinter input field

* fixes querypanel code hinter margins

* fixes overlap fields firestore
2022-02-07 18:13:28 +05:30
Midhun G S
72db6f6d8c
Tooljet CLI deployment and sanity check (#2096)
* feature-2054 plugin cli

* plugin cli

* readme changes

* npm publish

* Review comments

* Review comments

* cli fix

* added build flag
2022-02-05 06:49:49 +05:30
Arpit
65c8527dbe
Fixes the blue border when dropdown was focused (#2127) 2022-02-04 14:20:03 +05:30
Arpit
3a62ac9820
[improvement] Query panel redesign (#1947)
* query panel headers styles

* create query button style update

* create query button style update

* create query button style update: mixins

* querypanel header nav-links updated

* querypanel header buttons

* restapi: url hinter styles

* fixes querypane header width, undo prev styles applied

* querypanel header icons margin fix

* restapi: header tab

* restapi: params tab

* restapi: body tab

* base url style fixed

* added alert component to @/_ui

* adds margin top to query-panel tabs

* bumped font weight of preview

* on hover query style updated

* selected query style update and along with dark themed

* adds new searchbox component, added search queries

* fixes query panel query lists icons margin

* query selected hover bg

* back icon should not be render if callback is a function

* airtable: queries redesigned

* stripe: queries redesigned

* fixed query-pane header responsiveness

* fixes tab title typo

* undp/redo select datasource only when mode='create'

* removes comments

* refactor restapi url codehinter styles

* fixes white spaces in query pane and query pane header

* minor updates for restapi query options styles

* removes tool-tip for lens svg icon for search: query-pane header

* adds button loading spinner with primary color

* fixes hover bg color for queries

* update: query hover bg color to lighter tint

* update query list icons: trash and play svgs

* adds icons to the selection component

* fixes tabs alignments restapi

* fixes codehonter text margin: restapi url

* fixes advanced-options-container margintop

* new UI query: dynamodb

* new UI query: elasticsearch

* new UI query: firestore

* new UI query: mongodb

* new UI query: mysql

* new UI query: psql

* new UI query: typesenseapi

* new UI query: gsheet

* new UI query: sendgrid

* new UI query: twillio

* new UI query: gcs

* new UI query: minio

* new UI query: aws

* update query bg color and hover bg color

* fixes run query icon for dark theme

* fixes input query title text alignment

* update query header title

* adds search queries placeholder and add icon when search box is displayed

* updated No results query text

* undo/redo rest-api tabs: fixes whote spaces

* undo/redo: rest-api tabs conde hinter placeholder paddinleft

* adding new queries when search box component is mounted:fix

* fixes creating a new query after filtering queries

* fixes dark theme for select search components

* reverts query pane header search box with add icon

* fixes input left margin

* fixes bottom padding rest api tabs

* fixes toggle button:not selected in dark theme

* fixes typos

* fixes preview button spinner size

* undo/redo: query-trash-icon.svg for queries and trash.svg for components

* query icons badge bg update[options]

* icon badge fix

* move static styles to theme.scss

* restapi: url field height increment

* fixes query name when adding a new query with filtered querylist

* fixes alignment issues of the query header icon

* revert back to 32px code hinter height

* adds apdding to code mirror line

* updates to react-select

* remove component unmounts and mounts side effect
2022-02-02 22:29:57 +05:30
Gandharv
2f3b441c0a
Move plugins to root (#1728)
* feat: move plugins to root

* modify tsconfig

* add .gitignore

* delete old plugins file

* add parcel

* docker compose volume mount

* add gcs

* add typescript to plugins folder

* gcs to ts

* add dynamodb

* add elastic search

* add firestore

* add gsheets

* add graphql

* add mongodb

* mssql

* add mysql

* add postgresql

* add redis

* add s3

* add slack

* add stripe

* remove plugin related packages from pkgjson

* add lib folder

* add gitignore

* remove typescript generated files

* remove generated file

* remove generated files

* add twilio

* add dist to docker compose cache binding

* add dist prefix

* cleanup - 1

* delete dist

* rename to index.ts + add jest config

* add it.todo in tests

* test fixes

* test file changes

* fix type checks

* add @tooljet/plugins to server package json

* esm vs commonjs bug, reduce got to 11.8.2 from 12.0.0

* docker file npm package version fix

* add typesense

* cleaup - 2

* add sendgrid

* add lerna build and clean script for all packages + tsconfig

* cleanup -3

* add plugins build step

* add missing plugins build step in npm run build

* add mssql, mysql & postgres as singleton classes

* add db connection to cache only if datasourceId is available

* client: add data source schema/manifest files

* add query operations files

* logic for wrapping form with schema

* add script to create index file

* add @tooljet/plugins to frontend folder

* cleanup 1 -frontend

* cleanup - 2 // frontend // data queries

* add client and index to gitignore

* update gitignore

* fix lint & test

* update ci

* fix unit, e2e

* cleanup -3

* fix test

* fix tests

* fix indent

* try npm ci

* fix tests

* fix typo

* fix

* rename file for server entry

* heroku fix

* add main and types entry points in pkg json

* move common to root

* cleanup - 4: remove redundant $ sign prefix

* cleanup - 4: remove redundant $ sign prefix

* update options in-sync before DOM is painted

* change type cloud to cloud storage

* update readme

* update ci.yml

* update ci yml

* add pkg-lock.json

* rename index.ts to server.ts

* update lock files

* add server package.lock

* remove unused import

* revert commit: add minio

* add root dep

* import server.ts

* remove plugins build step

* add npm shrinkwrap

* update version - plugins

* add new version - 0.0.8

* upgrade version

* move to symlinked package

* add lock file

* feat: add icon inside package

* add plugin creation docs

* Remove seed

* move icons to plugins folder

* install pg dep

* add react to packages

* add seed cmd

* revert change

* add plugins build in lint, e2e, unit

* e2e, lint use npm ci

* update dockerfile for plugins

* try combining release with web

* limit memory on release

* try executing seed script post transpile

* try executing seed from server directory

* update seed execution

* add minio

* add correct type

* add minio to pkg json

* remove old file

* fix provider key

* add python installable + npm ^7.2.0 (#1752)

* add python installable + npm ^7.2.0

* add py to prod file

* pin npm version to 7.20.0

* pin npm version to 7.20.0

* split into multi stage build and remove python for buildx

* copy plugins from buider stage

* update dependencies

* add freetds dependency

* update server dockerfile

* update client dockerfile

* update dev dockerfile and compose file

* fix entrypoint

* fix server dev dockerfile

* update docker-compose

* remove npm install on root dir on docker build

* fix heroku script

* make lerna prod dependency to enable prod builds

* remove redundant env setup

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
Co-authored-by: navaneeth <navaneethpk@outlook.com>
2022-01-17 12:38:17 +05:30
Midhun G S
21d63d2c99
Feature: Mongodb more operations support (#1717)
* feature-842 mongo support

* feature-842 fix

* json parse improvement

* Feature-842 date data type support

* feature-842 fix

* convert ejson to bson on mongo queries

* fix type on parse

* json parsing

* Typo error fix

* Insert Many Fix

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-01-14 13:53:57 +05:30
Akshay
adb04304da
Feature: Add minio datasource integration (#1662)
* add minio datasource integration

* fix import
2022-01-04 15:02:57 +05:30
Arpit
e95ee37ade
fixes codehinter border in lightmode (#1648) 2021-12-28 12:58:05 +05:30
Arpit
b4f7334b1f
Bugfix: Scrolling is broken for code editor on postgresql query manager (#1583)
* fixes: Scrolling is broken for code editor on postgresql query manager

* resolves comments
2021-12-25 08:51:19 +05:30
Arpit
8a89bc8b71
[Feature] : SendGrid integration (Datasource API) (#1608)
* SendGrid integration

* unused logs

* unused logs

* update help text

* fixestypos for schema description

* fixestypos for schema description

* adding sendgrid docs

* updates logo from  Sendgrid's media kit

* sendgrid query schema updated

* fixes typos

* updates docs

* typos fix

* fix jest module transform

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2021-12-22 17:23:45 +05:30
Sherfin Shamsudeen
a68a7b67d1
Feature/typesense integration (#1613)
* Install typesense npm package

* Implement CRUD operations using TypeSense

* Add documentation for typesense integration

* Rename apiKey to api_key and make it encrypted for typesense

* Add logo for typesense data source

* Add delete operation to typesense

* Add documentation for delete document

* Make protocol field a dropdown for TypeSense

* Additional documentation for TypeSense data source
2021-12-22 07:19:17 +05:30
Midhun G S
4f73a34365
Twilio SMS Integration (#1598)
* Twilio SMS Integration

* package lock fix

* package-lock fix

* Review comments
2021-12-20 11:49:00 +05:30
Arpit
08442259cf
changing sheet name to gid:ghseet query schema (#1600) 2021-12-18 09:58:04 +05:30
Akshay
fa9de160cc
add capability to add prefix on s3 listing (#1601) 2021-12-18 09:57:39 +05:30
Akshay
5b30aa2007
Chore: Setup pipeline (#1539)
* github actions for PR and push to develop branch

* test workflow

* move to workflows folder

* add setup node action

* modify build

* specify npm version

* config unit test

* specify host postgres

* specify container to run on

* add postgresql dependency

* add specify ws adapter for test

* add e2e test

* fix linting

* only log errors on tests

* update eslint config

* fix linting

* run e2e test in silent mode

* fix library app spec

* dont send email on test env

* fix org scope

* mock env vars

* remove reset modules

* force colors

* explicitly close db connection

* add eslint rule for floating promises

* update workflow

* fix floating promise

* fix lint

* update workflow

* run on all push and pulls

* update lint check files

* simplify workflow

* increase js heap size on env

* separate lint and build

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2021-12-10 08:43:05 +05:30
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
Navaneeth Pk
3477f7ff15
Support for running JavaScript as a query ( client-side execution ) (#1507)
* Custom js feature

* Disable transformations

* Fix

* Fix

* Fix

* Icon

* Rename variable OthetSources to OtherSources

* Fix

* Fix

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2021-12-08 13:03:08 +05:30
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
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
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