Commit graph

1202 commits

Author SHA1 Message Date
Navaneeth Pk
21fa8518ab
Feature: customise color property of toggle type cells (#630) 2021-08-28 20:57:10 +05:30
Sherfin Shamsudeen
48750bb8a9
Support Enabling/Disabling SSL for postgres connection (#619)
* Add option to enable and disable SSL in Postgres configuration UI

* Connect to postgres with/without SSL based on user's choice

* Add migration to set SSL enabled for every postgres data source

* Fix data source kind name in migration

* Fetch only postgres datasources in migration for turning on SSL
2021-08-28 09:12:12 +05:30
Arpit
8f9f40f720
Feature: timestamps for error logs (#623) 2021-08-28 09:10:26 +05:30
Arpit
ddef2b0600
Sort logs according to time (#625) 2021-08-28 09:09:31 +05:30
Arpit
03cb61d8e9
Feature: debugger 🔥 (#603)
* debugger

* debugger.2

* empty options

* json styles

* positioning the divider for each queries

* refactored for generic cases

* bug fix: a single log for each datasource

* renamed file

* fixed

* naming fixed

* .

* SidebarDebugger.jsx
2021-08-27 12:05:53 +05:30
Manas Gupta
0a5fe169b3
[docs] contributing-guide update (#526) (#620)
* contributing-guide update

resolving issue #526

- Added space and proper distinction between the two commands 
- Added a line break between the two links

* contributing-guide update (#526)
2021-08-27 10:03:23 +05:30
Apoorv Tiwari
a599853168
Fix incorrect tooltip when query editor hidden (#599)
* Fix incorrect tooltip when query editor hidden

* Fix the size of tooltip

* Fix button resize bug on clicking

Co-authored-by: “Apoorv <“tiwari.apoorv1316@gmail.com”>
2021-08-27 09:45:49 +05:30
Akshay
c128d94b1d
Dev and deploy setup revision (#604)
* revise dockerfiles

* make nginx to proxy requests when static files are absent
2021-08-26 20:34:30 +05:30
Sherfin Shamsudeen
91b32adaed
Multi-events for action buttons, query params option for Go-to-app action (#560)
* Add query params option to Go-to-app action

This commit adds support for setting query params for the
go-to-app action. When the new app is launched, the passed in
object will be sent as search query params.

* Allow user to enter URL params in multiple input boxes

* Abstract goto-app action logic to a separate container

* Supply necessary newline

* Set 'type' of 'app' property of go-to-app action to 'text'

* List only those apps that has proper slugs for goto-app action

* Modify goto-app action config panel to support Event Manager

* Use EventManager instead of EventSelector for table action config

* Add data migration to make old apps support multiple event handlers

* Fix UpdateDefinitionsForTableActionEvent migration

This commit ensures that the migration recreates onClick event properly

* Fix bug that caused an 'onBulkUpdate' event to be created during migration

* Remove EventSelector

* Add margin above `remove handler` button on Table actions inspector panel
2021-08-26 20:33:59 +05:30
Viraj Bahulkar
351a11a4c4
[docs] Add modal.md file (#615) 2021-08-26 19:37:28 +05:30
Mohini Dahiya
05d7c930f1
[docs] Updated the examples in chart widget reference with images (#618) 2021-08-26 19:36:37 +05:30
Viraj Bahulkar
4f5367f263
Fix launch button color in dark mode (#607) 2021-08-26 17:46:10 +05:30
Akshay
e4bcf80af2
Application logger using pino (#600)
* setup application logger with pino

* remove console.log
2021-08-25 22:13:18 +05:30
Arpit
348d0f5815
Feature: datepicker as a table cell (#578)
* datepicker-celltype

* onChange

* datepicker: cell type

* fix

* dropdown fixed

* unwanted comments
2021-08-25 22:07:29 +05:30
navaneeth
607f474e67 Merge branch 'hotfix/fix-pg-queries' into develop 2021-08-25 21:12:17 +05:30
navaneeth
98da31df3f Fix for bulk pg queries 2021-08-25 21:10:44 +05:30
Gandharv
64131825d9
Feature: Star rating widget ️ (#535)
* feat: add star rating widget

* add events, properties

* add the number of stars as variable

* fix animation

* add half star logic, properties, definations

* add hover index property

* on dismiss show star outline

* show tooltip on hover + fix half icon display on click

* make text inline

* feat: add import svg as react component

* update star rating component for managing color change

* fix: conflicts

* Delete half-star.svg

* Delete star.svg

* change default color to gold

* fix widget settings events

* add default selection of stars

* change default selection to 5

* css changes

* add star rating onchange fix
2021-08-25 20:44:55 +05:30
Sherfin Shamsudeen
a9b67245fb
Add action that closes a specified modal (#584)
* Add action that closes a specified modal

* Use EventManager instead of EventSelector for close-modal action

* Return auto-resolving promises from modal show/close action in appUtils.js
2021-08-25 13:23:52 +05:30
Sherfin Shamsudeen
8622ab5f8c Merge branch 'main' into develop 2021-08-24 17:27:20 +05:30
Sherfin Shamsudeen
b76f18bbba Fix issue where the client crashes when goto app action is selected
This commit supplies the missing prop 'apps' to Table component
and EventSelector component so that they can properly display the
apps.

This commit also modifies the get-all-apps query logic such that
if the queried page is 0, it fetches all the apps.

It adds a filtering logic such that presently only the apps with
slugs are listed as targets for goto app action.
2021-08-24 15:57:48 +05:30
Navaneeth Pk
191b06be0f
Update README.md 2021-08-24 15:02:16 +05:30
Navaneeth Pk
eec59e597c
Feature: Multiple handlers for events (#571)
* Multiple handlers for each events

* Fixes

* Migration

* ormconfig to use entities in migrations

* use connection object to build queries

* fixes for bulk update

* Fix for table action button

* use query runner to wrap migration in same transaction

Co-authored-by: Akshay Sasidharan <akshaysasidharan93@gmail.com>
2021-08-24 12:21:09 +05:30
Apoorv Tiwari
c09f3d7f3e
[docs] sort widget reference in alphabetical order (#590)
Co-authored-by: “Apoorv <“tiwari.apoorv1316@gmail.com”>
2021-08-24 11:42:01 +05:30
navaneeth
dfac651845 Merge branch 'release/v0.6.1' into develop 2021-08-24 11:29:39 +05:30
navaneeth
900e0e06fb Merge branch 'release/v0.6.1' into main 2021-08-24 11:29:33 +05:30
navaneeth
a343719e13 Bump ToolJet version 2021-08-24 11:29:06 +05:30
Akshay
960bacd0c6
fixes pagination on home page (#589) 2021-08-24 11:14:16 +05:30
Sherfin Shamsudeen
f2bd39a54e
Set displaySearchBox property of table to true if its not already set (#592) 2021-08-24 10:55:19 +05:30
navaneeth
8612f8f0d6 Fix for REST API URL field height 2021-08-24 08:12:16 +05:30
navaneeth
2d1745e38d Change default value for textinput 2021-08-24 07:43:43 +05:30
Navaneeth Pk
62be444f71
Fix table crash on filter (#587) 2021-08-23 18:54:28 +05:30
Arpit
e748b2457e
bugfix: toast notification for failed query (#580) 2021-08-23 17:01:52 +05:30
Sherfin Shamsudeen
64db1a2a03
Feature: toggle table header / search bar (#581)
* Add option to enable/disable search bar in Table

This commit also makes the app hide the entire top bar of table
if server pagination is enabled and search bar is disabled.

* Display server-side search option only if search is enabled

* Add documentation for search box enable/disable toggler
2021-08-23 17:00:33 +05:30
Apoorv Tiwari
8594ed9e89
[docs] remove duplicate command and correct numbering (#573)
Co-authored-by: “Apoorv <“tiwari.apoorv1316@gmail.com”>
2021-08-23 16:46:12 +05:30
navaneeth
3022322bd3 Fix alignment of radio button 2021-08-21 20:34:36 +05:30
navaneeth
c3b30860f6 Set default data for new tables 2021-08-21 20:24:04 +05:30
navaneeth
8eb8630439 Fix for widget resize bugs 2021-08-21 10:35:54 +05:30
navaneeth
f3e08a2d0f Set scrollable height for codehinter 2021-08-21 10:12:04 +05:30
navaneeth
636bf0bc4b Codehinter enhancements 2021-08-21 09:39:04 +05:30
Navaneeth Pk
3ad6e6b617
Fix the default margins of toggle switch widget (#568) 2021-08-20 23:06:11 +05:30
Navaneeth Pk
c46d57edba
Fix the margins of dropdown and multiselect widgets (#566) 2021-08-20 22:52:37 +05:30
navaneeth
02be26d86a Fix for table column resize reset issue 2021-08-20 22:37:21 +05:30
Navaneeth Pk
f5abbcfe12
Click widget to open inspector (#564) 2021-08-20 22:09:21 +05:30
Akshay
45841259b3
handle multiple columns on bulk query (#562) 2021-08-20 19:56:43 +05:30
Akshay
5909aaacff
Feature: bulk update capability for mysql plugin (#561) 2021-08-20 19:26:47 +05:30
Gandharv
36347651df
Feature: toggle query pane visibility (#558)
* add sidebar hide/show

* remove sidebar toggle
2021-08-20 18:41:49 +05:30
Rohan Sharma
daadabf60d
[docs] update deployment manifest file link (#559) 2021-08-20 18:39:49 +05:30
navaneeth
11a9d3d62b Fix for radio cells not being marked as edited 2021-08-20 17:49:46 +05:30
navaneeth
501b8a8cf5 Fix for incorrect table radio button values 2021-08-20 17:38:10 +05:30
Akshay
f07e87ad48
fix app crash when draging components within modal (#557) 2021-08-20 15:57:22 +05:30