Commit graph

1403 commits

Author SHA1 Message Date
Arpit
64cfcc6acd
Fixes a typo in datasource modal (#2270) 2022-02-17 00:07:31 +05:30
Arpit
dd79f24715
[Bugfix] Typing "this" or "window" or "app" on any code box will crash the app completely (#1998)
* fixes: Typing  ,  or  on any code box will crash the app completely

* handle circular dependecies in the preview component and checks to resolved reserved keywords list

* remove comments

* exp: resolves reserved keywords to null if declared inside obj

* Remove unnecessary import for react-hot-toast

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-02-15 12:19:22 +05:30
Arpit
7a1778edcd
Fixes inconsistent styles for widgets in darkmode (#2252)
* fixes inconsistent styles for widgets in darkmode

* fixes default color for lightmode
2022-02-14 19:11:39 +05:30
Arpit
f1b5fc73ed
Fix/codehinter fields scroll (#2211)
* fixes only for restapi

* Fix

Co-authored-by: gsmithun4 <gsmithun4@gmail.com>
2022-02-14 19:03:47 +05:30
Girish Bharadwaj
535b9234b5
Moved the layout section to above forms section (#2253) 2022-02-14 13:29:42 +05:30
Arpit
eda1b0f431
Fixes querypanel reset when widget is clicked or dragged (#2204) 2022-02-12 21:30:10 +05:30
Ivelin Ivanov
a403a2fe2c
Fixed not visible folder name input field text in dark mode when the field is not selected. (#2234) 2022-02-12 15:51:05 +05:30
Sherfin Shamsudeen
401fdc6837
Show app name as window title when launched (#2229) 2022-02-11 17:32:32 +05:30
Muhsin Shah C P
2347b1f9e0
Added a spinner to show before rendering template images (#2206)
* Added a spinner for show before rendering template images

* Spinner with another lazyload lib

* Added additional property to track img changes

* Changed lazyload with spinner to a reusable component
2022-02-11 07:07:46 +05:30
Muhsin Shah C P
02e7b3538c
Now list item text weight is similar in all browsers (#2209) 2022-02-10 14:30:14 +05:30
Muhsin Shah C P
97d355b6e4
Fixed scroll problem (#2199) 2022-02-08 12:41:30 +05:30
Arpit
f57c848bdc
darktheme onboarding and walkthrough (#2200)
* dark theme for onboarding modal

* dark theme for onboarding-walkthorugh
2022-02-08 12:41:16 +05:30
Sherfin Shamsudeen
2d89658997 Read safely from rest api options method key 2022-02-08 12:10:42 +05:30
Kiran Ashok
5d3aefdec4
Fixes toggle layout widget visibility (#2184) 2022-02-08 08:53:14 +05:30
Midhun G S
f2088be23b
[BUG-2187] Plugins manifest.json isLoading type should be boolean (#2188)
* bug-2187 fix

* add encrypted field
2022-02-08 08:44:38 +05:30
Navaneeth Pk
277195d8d3
Fixes inconsistent margin of Fx fields (#2194)
Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
2022-02-08 08:43:33 +05:30
Sherfin Shamsudeen
46ef41fb0c
Read safely from plotly-json properties to avoid crash on existing charts (#2193) 2022-02-08 08:21:48 +05:30
Muhsin Shah C P
2c70a98e94
Fixes incorrect marker color for charts (#2180) 2022-02-07 22:15:31 +05:30
Arpit
ce0254215e
[improvements/update] dark theme fixes (#2181)
* fixes app-version-name form-select border

* layout btns svgs for dark theme
2022-02-07 22:10:58 +05:30
Muhsin Shah C P
b6fcbc44c3
Fix: Transform label and toggle should be in one row (#2175)
* Fixed transform toggle ui

* Changed to correct positions
2022-02-07 22:09:33 +05:30
Muhsin Shah C P
03100b6363
Changed dashboard folders skeleton design (#2179) 2022-02-07 21:36:46 +05:30
Sherfin Shamsudeen
c64b68187a
Convert multiple fields to fx (#2170)
* Set visibility, loadingState and disabledState of all components to be displayed as UI

* Set fxActive of visibility, loadingState and disabledState of all existing components to true

* Remove unnecessary console.log from migration
2022-02-07 19:58:34 +05:30
Arpit
ee353966b4
fixes rest-api query methods (#2171) 2022-02-07 19:06:16 +05:30
Shubhendra Singh Chauhan
14c29ee92c
Added more templates (#2123)
* Added templates

* added new categories

* removed multiple versions in a template
2022-02-07 18:51:15 +05:30
Kiran Ashok
5afbf1f0ed
updated homepage with template chossing option (#2165) 2022-02-07 18:50:30 +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
Muhsin Shah C P
13c6b291a6
Fix: Button should only show the spinner when it is loading (#2162)
* Now btn only show spinner when its loading

* changed release btn definition
2022-02-07 18:02:49 +05:30
Gandharv
41c740e85f
Fixes re-render of query manager & widgets container (#2168) 2022-02-07 17:21:10 +05:30
Navaneeth Pk
7b20e9a27c
Minor style corrections for Fx inputs (#2152)
* Fixes fx

* fix: jump effect while fx switch

* Revert "fix: jump effect while fx switch"

This reverts commit 75471678ce.

Co-authored-by: gandharv <gandharvkumargarg@gmail.com>
2022-02-07 16:08:42 +05:30
Gandharv
fa995494c7
Fixes star rating color property (#2159)
* fix: star rating color property

* remove todo
2022-02-07 14:56:51 +05:30
Navaneeth Pk
8b915fd5ef
Fixes an issue that causes customObjects being resolved incorrectly (#2157) 2022-02-07 13:13:55 +05:30
Gandharv
ed8dca3296
Add position absolute to comment loader (#2138)
* add position abs and zindex to comment loader

* remove react-spring, prevents slow fade in effect

* remove animation class

* dark mode code added

* reset edit comment id on comment saved
2022-02-07 11:13:47 +05:30
Kiran Ashok
f5012352e4
Fixes UI issues part of code edit (fx) feature inclusion & number type addition (#2122)
* alignment fixed for fx

* fixing text colour in dark mode fx

* formating all boolean values

* including number type

* updating functinal logic for number type

* style updated

* style updated

* fixing table text colour not showing bug

* fixing darkmode bg colour

* Flipping transition animation , without delay fix

* bugfix:: fixing styles margin updated

* fixing margin

* fixing padding for new number input

* Revert "fixing margin"

This reverts commit b74e524443.

* Set bottom margin for hinter column to 16px

Co-authored-by: Sherfin Shamsudeen <sherfin94@gmail.com>
2022-02-07 09:13:12 +05:30
Arpit
28ddc302c3
[improvements/fixes] Dark theme fixes (#2140)
* fixes empty folder text

* fixes dashboard-app menu bg

* fixes dashboard modal bg

* fixes dashboard app menu - add to folder dropdown bg

* fixes dashboard- create new folder input text field

* fixes dashboard-folder list: actibe folder bg

* fixes comment-thread-modal-card-close icon

* fixes comment popover textarea color

* fixes theme for comment popover emoji picker

* fixes comment-noitification sidebar close icon

* fixes/add dark theme to event manager popup

* fixes table widget: actions popover

* fixes table widget: column popover

* fixes widget inspector tab header styles"

* fixes widget inspector name field padding

* fixes widgets' inspector selection ui component/elements dark-theme

* fixes ManageGroupPermissionResources: selection dropdown theme

* fixes loginPage: dont have acc yet? text color with theme

* fixes blank page: empty-title text color

* fixes create version modal selection dropdown theme
2022-02-07 01:04:52 +05:30
Navaneeth Pk
15f4a52d0e
Use mouseEnter event instead of mouseOver event (#2150) 2022-02-07 01:02:56 +05:30
Navaneeth Pk
c6ae53bd4e
Fixes incorrect positioning of query run button (#2146) 2022-02-07 00:32:02 +05:30
Navaneeth Pk
b59817d625
Updated dnd to follow pointer position (#2144)
* Updated dnd to follow pointer position

* Remove console.log

* Select component on resize

* Minor fixes
2022-02-06 18:45:38 +05:30
Navaneeth Pk
b1a9af0f2c
Adds guided walkthrough for new users (#2086)
* Adds walkthrough

* Fixes

* Added a condition for walkthrough

* Changed popup design

* Now walkthough only show after first version is created

* cleaning code

* Minor fixes

Co-authored-by: Muhsin Shah <muhsinshah21@gmail.com>
2022-02-05 07:34:02 +05:30
Akshay
59cf3b1931
Fix: Googlesheets OAuth refresh token flow (#2118)
* implement google sheet oauh token refresh flow

* format lint

* make use of constructor name as instanceof fails

* remove unused import

* force consent to get refresh token on googlesheets ds
2022-02-05 07:09:40 +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
2489f1c9d6
fixes typo: Tooljet -> ToolJet (#2139) 2022-02-05 06:48:44 +05:30
Muhsin Shah C P
376e92bdfc
Improvement: Changed widget handle UI (#2116)
* Changed widget handle design

* Resolved a bug

* Added a solution for widget overlapping

* Changed resizer border-type and color
2022-02-04 20:54:41 +05:30
Gandharv
06b16df8a3
Adds comments on top of widgets (#2137) 2022-02-04 16:35:11 +05:30
Arpit
65c8527dbe
Fixes the blue border when dropdown was focused (#2127) 2022-02-04 14:20:03 +05:30
Akshay
be87a3c51e
Autosave definition on version release (#2120) 2022-02-04 13:51:32 +05:30
Gandharv
bc1203133f
Remove widgets from appDef when tab widget deleted (#2133) 2022-02-04 13:50:07 +05:30
Navaneeth Pk
eb75038b93
Fixes duplicate widget names being generated (#2129) 2022-02-04 12:02:19 +05:30
Muhsin Shah C P
b433150628
Changed bottom margin between app cards (#2134) 2022-02-04 11:58:49 +05:30
Arpit
60dba40451
[Bugfix] component names should be generated uniquely (#2006)
* fixes:component names should be generated uniquely

* refactor

* removed unwanted condition

* fire toast only when user presses enter or onBlur event fires

* error toast only one should be shown at once

* refactor

* removed not req change
2022-02-03 17:40:50 +05:30
Gandharv
a649d1c88b
Add clone component functionality (#1970)
* feat: add clone component functionality

* change to cmd + d

* use unique name for copied item

* fix container clone issues

* move naming logic to parent

* deprecate old method

* remove inspector after clone

* generate uuid from pkg

* use copy of appdefinition

* remove redundant if stmt

* Fixes for tabs

Co-authored-by: Navaneeth Pk <navaneeth@tooljet.io>
2022-02-03 14:45:40 +05:30