Commit graph

1289 commits

Author SHA1 Message Date
Akshay
7af79c091e
Fix: Namespaced data source connectivity issues (#1914)
* add mysql package dependency

* fix mssql

* fix redis

* make use of backward compatible opensearch package for es

* fix es request
2022-01-27 16:01:39 +05:30
Midhun G S
5000f745b1
Github OAuth integration (#1837)
* Initial commit

* git auth

* git sso

* Git sso

* Git Oauth rebase

* review comments

* added email validation

* improvement

* Package lock revert

* E2E test case fix

* fix data population in migration

* Supress initial error thrown by google

* Fix

* e2e test cases

* added e2e test cases

* isValidDomain improvement

* e2e test cases fix

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-01-27 15:21:17 +05:30
Kiran Ashok
96457e7dbc
Bugfix/statistics widget style change not reflecting in dark mode , visibilty option not working (#1940)
* updated colour bug in dark mode

* fixing visibility bug for spinner and statistics widget
2022-01-27 14:36:43 +05:30
Gandharv
a53b9de816
Adds dark mode prop to chart widget (#1937)
Adds dark mode prop
2022-01-26 09:23:45 +05:30
Muhsin Shah C P
34a1aeee2d
Fix: OnClick doesn't fire event on SVG icons of Datasource manager modal (#1933)
* Fixed: click event didn't work on svg

* Fixed: list items' height problem

* changed CardIcon component to a function
2022-01-26 09:01:52 +05:30
Kiran Ashok
b5bdfcfeac
Feature : statistics widget (#1834)
* feature:ui for statics widget

* feature:assets icons statics widget

* feature:addition to existing ui

* inclusion to existing ui editor

* feature: widget style updations

* cleanup

* cleanup

* resolving merge issue

* feature: statics widget svg updated

* fixing pr comments : bounding box width issue fix to cover widget

* pr comments : fixing naming

* bugfix : pr comments: removing all signs

* pr comment changes : fixing alignment of widget contents

* icon updated

* bugfix : dark mode colour scheme inclusion

* updation icon

* updated filenames , style changes updated

* naming change

* pr review changes : making naming convention same everywhere using camelcase

* updating sign property

* updating statistics docs

* docs updated

* sign display updated : pr changes , code cleanup
2022-01-25 09:32:01 +05:30
Gandharv
759a800228
Removes unused cypress directory (#1924) 2022-01-24 17:27:04 +05:30
Arpit
93a6853639
Fixes re-render issue of tabs (#1915) 2022-01-24 14:31:26 +05:30
Muhsin Shah C P
e1520c0b03
changed the font weight (#1916) 2022-01-24 13:37:29 +05:30
Muhsin Shah C P
1bbc02cf60
changed search-input design (#1855) 2022-01-24 11:32:44 +05:30
Akshay
56826c3183
Feature: Auto save editor and version management revamp (#1784)
* add modal to create init version

* add init version and ability to auto save

* auto save only when editing version is set

* Feature: App version management ui revamp (#1873)

* add modal to create init version

* add init version and ability to auto save

* auto save only when editing version is set

* revamp version switching on editor

* skip save on app definition load

* handle click outside dropdown

* fix remove component and update styling

* fix auto save detail

* change wording of deployed to released

* remove console.log

* add spec for version creation from another version

* update version create model and hide save detail after shown
2022-01-24 11:21:54 +05:30
Kiran Ashok
e1476b5714
Hhomepage import moved to dropdown (#1868)
* enhancement : import option to dropdown in homepage

* updated style for dropdown item

* included hover styles

* custom hook for inline media query according to screen size

* updated position of dropdown to end align in large screen

* screen size updated

* pr review changes : cleanup and css moved to theme file from internal

* typo error updated

* fixing lint issues
2022-01-24 11:14:50 +05:30
Angelo Geant Gaviola
0e5be486f5
Fixes ui inconsistency in query panel (#1909) 2022-01-24 09:32:30 +05:30
Kiran Ashok
a4d7b9bb7e
Spinner widget (#1883)
* adding spinner widget to  editor

* icon updated

* spinner widget properties

* spinner widget styles updated

* updated description of widget

* moved static styles to theme

* pr reveiew changes , cleanup , making bg transparent

* cleanup

* lint error fix
2022-01-24 08:03:20 +05:30
Kiran Ashok
f53a00cd82
Styles for loading state updated in home app card (#1856)
* enhancement : style for loading state updated in home app card

* pr review changes : moved css to theme from internal

* fixing linter issue
2022-01-24 07:36:29 +05:30
marboleda
f89d30edb5
Allow dropdown option to be selected on Enter key press (Query Manager) (#1899)
* Replace react-select-search component with react-select one

* Remove react-select-search import and commented-out component
2022-01-23 14:45:25 +05:30
Gandharv
d50ee7967c
fix lint issue (#1905) 2022-01-23 14:23:01 +05:30
Arpit
f194d584e1
[Feature] file parser option for FilePicker widget [csv support] (#1764)
* file parser

* removes unwanted comments

* refactor

* add docs

* resolves comments

* handle csv bad data

* remove pdf option

* adds isParsing to filePicker
2022-01-22 10:45:27 +05:30
Muhsin Shah C P
c68d4d21dd
Close button for widget inspector (#1864) 2022-01-22 09:51:35 +05:30
Muhsin Shah C P
0f709706e0
Feature: Circular progressbar (#1887)
* added circular progressbar widget

* added a basic documentation about the widget

* added progress attribute

* bounding issue is solved

* edited the widget doc

* Added new style
- Text color
- Text size

* Changed the documentation
2022-01-22 09:32:37 +05:30
Arpit
22b22b6975
Improvement/inspector datasource modal (#1821)
* new modal body with sidebar

* sidebar list

* card ui component and render datasources in deck of cards

* style fixes-datasource modal

* modal card ui

* refactored cards

* Card refactored

* data source list modal

* modal margin topt

* modal datasource search bar

* styles fixes and searchbar

* style fixes for the search bar

* margin fixes

* added filter for datasources

* undo unwanted

* empty state ui

* handle back to all datasource from empty etate

* on type icon

* clear icon

* updated onexit

* refactored handlesearch

* suggestion datasource ui

* removes active class when suggestion ui is on

* styles fixes for suggestied ui

* added darkmode fixes

* styles fixes

* padding fixed for search box

* exp: hover effect on datsources card

* exp: hover effect on datsource tyes list

* fixes typos

* should not able to submit an empty value

* fixes unsued console.logs and white spaces

* plugin icon prop to card component

* fixed close icon

* fixes margintop for searchbar

* list size fix

* fixes datasource title

* fixes datasource list padding

* moving minio plugin to cloud storage type

* fixing typos and refactored

* improved search

* fixes search box sideeffect

* fixes back to all datasources list
2022-01-22 09:31:55 +05:30
Sherfin Shamsudeen
81ee8a0fbe Merge branch 'main' into develop 2022-01-21 18:04:12 +05:30
navaneeth
9794668880 [HotFix] Fixes race condition in multiple query execution 2022-01-21 16:42:33 +05:30
Gandharv
3ed0dc56ec
Add fade animation to datasources modal (#1881)
* add fade animation to datasources modal

* unused
2022-01-21 11:28:16 +05:30
Muhsin Shah C P
d0fe83f97c
Fix: Center alignment icon of text widget's alignment property is different color in dark mode (#1877)
* solved svg color issue

* removed unwanted lines
2022-01-21 10:59:25 +05:30
Sherfin Shamsudeen
5710e84e6e
[HotFix] Add 'Set table page' action (#1880)
* Add action to set table page

* Add support for invoking functions inside component from appUtils.js
2022-01-20 19:05:34 +05:30
Midhun G S
2f6608bf6f
[Home Page Design Changes] App listing style (#1808)
* feature-1802

* Changes

* feature-1802

* review comments

* Fix for firefox issue

* Styles Reveiw

* review comments

* fix

* fix

* Increased app title height condition

* Test

* Remove logging

* Review comments

* debounce changes
2022-01-20 18:35:37 +05:30
Muhsin Shah C P
c3c13a4b8b
Changes spacing and active color of templates list of template modal (#1872) 2022-01-20 13:45:46 +05:30
Arpit
a2b19934e8
[Hotfix]: Adds current user's groups the inspector in the editor (#1875)
* adding groups which lists all the groups the current user belongs in globals [inspector(leftsidebar))]

* adds a check for possibility exists for a missing ref
2022-01-20 13:43:27 +05:30
Muhsin Shah C P
cffb3a0882
added lazyload to template model images (#1847) 2022-01-20 12:59:56 +05:30
Muhsin Shah C P
efca1f32ba
Fixes query panel resizing issue (#1841) 2022-01-20 10:13:21 +05:30
Kiran Ashok
0f2a658876
Improvement :home page search updated to support live search ,without clicking enter button (#1850)
* bugfix: fixing search homepage to allow seaching while typing

* bugfix : debouncing search
2022-01-20 10:12:21 +05:30
Karl Rezansoff
c56fd143d4
added dark theme to querymanager dropdown lists (#1839)
* added dark theme to querymanager dropdown lists

* set Operation dropdown to 100% width to match light mode

* removed filter on icons, removed commented out styling
2022-01-20 10:11:01 +05:30
Muhsin Shah C P
1d1685ed6a
Fix: solve map widget issues (#1832)
* disabled rnd dragging on maps widget canvas

* fixed: initial location field doesn't update map on the fly if lat and lng changed

* Exposed googleMapUrl
2022-01-20 00:29:40 +05:30
Muhsin Shah C P
3a6d4e5b5e
Fixes bug that prevented alpha value from being set for color picker (#1814) 2022-01-20 00:26:47 +05:30
Akshay Sasidharan
21a20bfd78 Merge branch 'main' into develop 2022-01-19 18:21:08 +05:30
Muhsin Shah C P
ffcc67a3f8
Fix: datasource Icons doesn't show on templates modal (#1859)
* fixed: icons deosn't show

* changed getSvgIcon fn as reusable
2022-01-18 20:11:20 +05:30
Arpit
2c70c2bd34
[Feature] pagination widget (#1727)
* feature: pagination widget

* style fixes

* add paginaton svg icon

* updated icon

* update property names

* Merge branch 'develop' into feature/pagination-widget
2022-01-18 11:19:55 +05:30
Muhsin Shah C P
46c00c54e0
Added a style property to align a text inside the text widget (#1792)
* Added text alignment property

* Replaced dropdown list with image radio buttons
 - Added list of action buttons
 - Added tooltips

* changed colors and icons

* tooltip is redesigned
2022-01-18 11:13:41 +05:30
Sherfin Shamsudeen
2c20b3af94
Bring dropdown component to front whenever it is focused (#1845) 2022-01-17 19:46:24 +05:30
Muhsin Shah C P
a68bb57302
Added Json description feature (#1732)
* Added Json description feature

* Added a toggle button for toggle from chart data to json data

* toggle effects for chart-data and json-data is added

* documentation about json part is added

* replaced the position of json toggle . changed the section and label name

* marker color field will hide if plotly is enabled
2022-01-17 16:43:02 +05:30
Bhavin Ag
6d69dde671
fix(date-range): show date format from the properties (#1733) 2022-01-17 13:14:56 +05:30
Ivelin Ivanov
92da33c8d9
Fixed container background in dark mode. (#1838) 2022-01-17 12:50:41 +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
Muhsin Shah C P
077c297ecb
Window title should change to app name when the user is on the editor page (#1824)
* Fixed: tab title stays default

* Added title change code to unmount function

* Reversed the title
2022-01-17 09:07:34 +05:30
Muhsin Shah C P
a02d47e88e
Tags widget (#1659)
* implemented tags widget

* added text color option, changed default tags

* added scrollbar & space between tags

* Required changes are added:

- Changed colors of buttons as per the document
- Now scrollbar only shows if it is needed
- Tags height will be static

* Changed documentation

- Added gif file

* Removed text color style option from inspector
 - Changed md text file
2022-01-15 10:41:27 +05:30
Muhsin Shah C P
3c99dd6fed
Added different border shapes for image widget (#1735)
* added different border types

* added migration file

* rounded-0 replaced with none
2022-01-15 10:38:13 +05:30
Sherfin Shamsudeen
9b1b19e831
Feature/templated library apps (#1820)
* add launch icon

* Set categories for app templates

* Display button with dropdown for create new app

* Show modal when "create from template" is chosen

* Implement template selection modal category list

* Filter and list app templates based on selected category

* Display template screenshot on templates modal

* Align template screenshot vertically and horizontally centered

* Deploy template app when deploy button of template modal is clicked

* Display data sources in template preview

* Add search functionality to template modal

* Show "no results" if templates are not found

* Display category counts on template list

* Add styles for darkmode

* Dark mode style updates for template modal

* Add dark mode template screenshots

* Correct template screenshot proportion

* Change text on deploy button of template modal

* Remove links to apps and library from dashboard

* Remove library apps

* Remove unnecessary import of deleted component Library

* Show loading icon when template is being created

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2022-01-15 08:07:05 +05:30
Navaneeth Pk
4d6906503b
[WIP] Widget: List view (#1575)
* list view initial commit

* More stuffs

* More stuffs

* Minor changes

* merge fixes

* Minor changes

* Fix misspelt variable name that caused data to not show up

* Merge conflicts

* Fix lint for ListView component

* Update ListView to new API

* Fixes

* Fixes

* Fix radio

* Fix

* Lint fixes

* Set icon for List View widget

* Fix list view within tabs

* Fix

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-01-14 13:57:31 +05:30
Kiran Ashok
03296cb587
Fix for pagination not visible in smaller resolutions (#1810) 2022-01-14 13:55:08 +05:30