Commit graph

306 commits

Author SHA1 Message Date
Raj Mhatre
7565ea5b20
Fixes section header color in dark mode (#1009) 2021-10-13 23:08:41 +05:30
Mohammad Farhan
99cb7fca78
missing table horizontal scroll fixed (#1017) 2021-10-13 22:31:54 +05:30
Deepanshu Dhruw
a1a4637eb5
updated font-weight of add folder button #956 (#960)
* updated font-weight of add folder btn

* added font-weight:500 css class in theme.scss and updated folder create classes
2021-10-11 08:31:03 +05:30
Sherfin Shamsudeen
258ba5c1da
Use focus pseudoclass instead of focus-within to highlight table-row (#925) 2021-10-07 13:13:53 +05:30
Arpit
22cfe0af89
Follow up PR to #869: update widgets size (#877)
* widgets dimensions updated: follow up PR-#869

* removed unwanted console.log

* toggle widget minor tweaks

* Fixes the padding of dropdown & multi-select dropdown

* Minor corrections

* Fix padding of datepicker and date range picker

* Fix for toggle switch

* fix checkbox and removed duplicate classname in radio widget

* multi-select width update

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-10-07 12:22:02 +05:30
Sherfin Shamsudeen
c2e97af003
Selected row should be highlighted for table widget (#902)
* Add functionality to highlight selected row

* Add migration to set highlightSelectRow to false for existing tables

* Add documentation for highlighting selected row

* Support highlighting selected row for striped table
2021-10-05 19:36:30 +05:30
Maurits Lourens
f1b80e1a07
Make table headers more legible in dark mode (#891) 2021-10-05 07:48:17 +05:30
Navaneeth Pk
5c380d98e8
Multiple minor fixes for table widget (#871) 2021-09-30 08:43:22 +05:30
Viraj Bahulkar
41387a32b9
Fix event handler name not visible in darkmode (#844)
* Fix event handler name not visible in darkmode

* Add filter property for dark and light colors

* Add class next to .theme-dark for darkmode
2021-09-27 19:37:02 +05:30
Gandharv
ec4fc4e582
Fixes striped table when element selected is text/dropdown/multiselect/editable/datepicker (#740)
* fix: striped table when element selected is text

* fix: when column type is dropdown fix ui

* fix: when category-type is multiselect

* fix: make overflow-x scroll so that more radio buttons can fit

* fix: when column is editable fix styles

* add text styles: additional

* fix: datepicker + striped table

* multicursor trick if to switch - witchcraft

* fix: add array check in tags component

* fix: action  buttons

* merge badge and badges case

* change overflow x to initial - temporary

* fix conflict

* add padding left, right

* Update frontend/src/Editor/Components/Table/Table.jsx

Co-authored-by: Sherfin Shamsudeen <sherfin@tooljet.io>

* increase min height from 35 -> 55

Co-authored-by: Sherfin Shamsudeen <sherfin@tooljet.io>
2021-09-27 18:27:06 +05:30
Arpit
5d0ae0ed69
Canvas grid resized when resizing a component and component snaps to the nearest grid. (#792)
* canvas grid resized when resizing a component and component snaps to the new next grid size

* resize grid while dragging and resizing a component in the canvas

* values refactored backward

* Minor changes

* Few more fixes

* remove resizer-selected

* Anotehr change

* Revert "Anotehr change"

This reverts commit 63a3649bff.

* clicking on canvas area, dis-selects the widget and selectedComponent={}

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-09-27 15:18:02 +05:30
Gandharv
f09542180f
add datasource type into individual schema (#762)
* feat: add datasource type into individual schema

* add active class when dark mode

* fix: change type key to source
2021-09-22 10:43:12 +05:30
Akhil G Krishnan
e14577a0db
Minimum text height added for dropdown elements. (#811) 2021-09-21 19:20:40 +05:30
Gandharv
5bb0594973
Enable suggestion box for codehinter (#737)
* enable suggestion box for codehinter

* add heading as type of the preview

* add preview only on focus

* remove box shadow

* add background to widget inspector documentation footer link

* doc footer updats

* add condition where boolean value was not getting printed

* use index as key
2021-09-15 21:10:59 +05:30
Navaneeth Pk
b1638dc0cb
Fix dropdown text height (#749) 2021-09-14 11:57:14 +05:30
navaneeth
980198c4fb Focused widgt should always be in the foreground 2021-09-08 14:24:51 +05:30
Akshay
2d20e262c9
Feature: Data query runs can also run events (#666)
* add capability to add events on data query runs

* UI fixes

* change popover placement to top
2021-09-06 20:10:51 +05:30
Navaneeth Pk
b12cc7f309
Input validation for widgets (#693)
* Validations

* Fix

* Validation for table cells

* fix
2021-09-06 14:20:38 +05:30
navaneeth
6d4ccd607c Theme color fixes for dark mode 2021-09-05 11:34:49 +05:30
navaneeth
696c5358d4 Remove extra margins from dropdowns 2021-09-05 11:02:17 +05:30
navaneeth
ab375398db Correct the dimensions of dropdowns for UI consistency 2021-09-05 10:42:03 +05:30
Gandharv
750d4b1d27
Reduce height of editor header from 56 -> 48px (#686)
* fix: reduce height of header from 56 -> 48px

* fix: tab highlight
2021-09-05 10:28:10 +05:30
Gandharv
bd98fbdeee
fix: query pane margin (#683) 2021-09-03 10:31:01 +05:30
Navaneeth Pk
8041834210
Show map center (#678) 2021-09-02 20:50:42 +05:30
Arpit
341ab2cae5
Fix for dashboard scroll issue (#668) 2021-09-01 21:07:24 +05:30
Gandharv
4b0c9e95c1
Redesigned widget sidebar (#655)
* design: change widget sidebar design

t # with '#' will be ignored, and an empty message aborts the commit.

* add empty text if search invalid

* fix: the expand query button getting cut

* make css changes

* small rgb fix

* add bg color

* feat: add integration section

* update categories

* add text, datepicker to common list

* remove space from title

* fix canvas alignment

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-09-01 18:41:17 +05:30
Gandharv
e7a254022b
change text i/p outline to gray-400 (#667) 2021-09-01 17:46:38 +05:30
Gandharv
a8c9845aa0
Remove overflow from table widget (#660) 2021-09-01 13:00:09 +05:30
Gandharv
633e8c9e88
fix datepicker styles (#658) 2021-09-01 10:25:59 +05:30
navaneeth
8a462c1fd1 Vertically align cell contents 2021-09-01 10:13:14 +05:30
Gandharv
1bfc6602fc textfield: firefox scrollbar issue fix (#650)
* textfield: firefox scrollbar issue fix

* cross-button: in widget inspector the cross was misaligned

* replace overflow scroll with auto
2021-08-31 19:40:11 +05:30
Gandharv
365e9e3cb3
Redesigned Rest api query builder 🎉 (#612)
* feat: add rest api new design

* fix page break on create/save query

* remove console.log

* align the i/p fields

* rename files

* remove border from i/p

* remove hover styles

* fix: filter empty headers, url_params, body

* fix when editmode headers empty

* fix the options on preview getting null

* fix navlink color on dark mode

* add color for non active tab in dark mode
2021-08-30 16:55:27 +05:30
navaneeth
1e2a6dfef5 BugFix: style consistency for color picker 2021-08-29 12:07:20 +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
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
Gandharv
6837104171
Feature: redesign left sidebar 🎉 (#512)
* feat: add left sidebar new ui ❇️

* new: add svg spring motion dark mode icons

* - add tooltip
- reduce icon size to 20px h&w
- fix indentation

* remove logs

* fix: typo

* fix: on click of arrow the ref was not captured, react repo has reference to this issue at : https://github.com/facebook/react/issues/20325

* css fixes

* color changes for moon icon

* revert css'

* fix back button not working due to incorrect clean up function

* feat: add use-router hook component

* - make sun svg have a white circle inside
- fix the alignment of darkmode toggle on homepage

* fix: pkg lock after fresh install with 7.20.x
2021-08-17 11:31:12 +05:30
Sherfin Shamsudeen
f88411f01b
Feature: copy invitation link (#465)
* Send invitation tokens with the response to GET:organizations/users

* Add column in users table displaying 'copy invitation' button

This commit also makes the app generate corresponding invitation
URL and copies it to the clipboard.

* Add 'Copy invitation' button next to user's 'invited' status

This commit adds an icon button next to the 'invited' label
of users who are invited. Clicking on the button will copy the
corresponding invitation URL to clipboard, and will also
display a notification that says 'Invitation URL copied to clipboard'

* Remoce unnecessary import of Button

* Remove unnecessary empty line

* Remove unnecessary skeletal line

* Supply a newline at the end of theme.scss

* Show 'Copy invitation' button only for admins

* Send invitation token to front-end only if an admin is logged in

* Show 'copy invitation' button only if invitation token is available
2021-08-09 16:01:08 +05:30
Viraj Bahulkar
8c9a566850
Fix dropdown not visible inside table cell (#437) 2021-08-02 20:02:23 +05:30
Arpit Nath
88b914103c
Fix for incorrect position of user role dropdown (#438)
* dropdown selection role fix

* extra space/padding at the bottom of the select fix
2021-08-02 20:01:46 +05:30
Viraj Bahulkar
f837b31e0b
Fix input consistency in posgres GUI (#385)
* Fix input consistency in posgres GUI

* Add wrapper class to GUI select search element
2021-07-30 11:36:27 +05:30
Viraj Bahulkar
8bed7b39e1
Fix dark mode table header issue (#394) 2021-07-13 16:33:22 +05:30
Navaneeth Pk
9f9f833820
Set default operations for data sources (#378) 2021-07-04 01:21:20 +05:30
Navaneeth Pk
23df1b981f
UI fixes for query editor (#375) 2021-07-03 22:37:50 +05:30
Navaneeth Pk
150961b591
Feature/dark mode (#366)
* Dark mode part 1

* Dark mode part 2

* Dark mode part 3

* Dark mode part 4

* Dark mode part 5

* Dark mode part 6

* Dark mode part 7

* Dark mode part 7

* Dark mode part 8

* set light mode as default

* Dark mode part 9

* Dark mode part 10

* Dark mode part 11
2021-07-03 19:47:47 +05:30
Navaneeth Pk
8d29363a31
Bug fixes and improvements for inspector (#365) 2021-07-03 12:19:43 +05:30
Navaneeth Pk
cf2673d237
Feature: previews for CodeHinter fields (#334)
* Feature: previews for codehinter fields

* css fix
2021-06-26 22:53:00 +05:30
Navaneeth Pk
a770eeaa63
Chore: Use tabler spinner instead of custom css (#328) 2021-06-25 23:49:45 +05:30
Prasad Walvekar
301c385816
Show spinner while verifying slug uniqueness (#315)
* Show spinner while verifying slug uniqueness

* Rename variable
2021-06-25 18:22:32 +05:30
Akshay
b30b0b0b10
Feature: Friendly URLs for applications (#285)
* add migration to create slug for apps

* update migration file to include default slug population

* update schemafile

* add capability to get app by slug

* add capability to frontend to set and fetch app by slug

* remove unrelated changes from lint

* respond default 204 itself when success else render error

* make input field to show error when slug taken

* wip: show error message

* Cleanup

* add new route to fetch app by slug

* add slug to show json jbuilder

* update react components to fetch app by both id and slug

* fix launch link not being set

Co-authored-by: navaneeth <navaneethpk@outlook.com>
2021-06-22 20:03:13 +05:30
navaneeth
d1beda8362 Minor UI fixes 2021-06-18 18:43:26 +05:30
Prasad Walvekar
13d638784d
BugFix: CSS changes to make Queries div scrollable (#272)
* CSS changes to make Queries div scrollable

* Hide scrollbars using css
2021-06-18 11:03:13 +05:30
Navaneeth Pk
4e71ffaf99
Fix overflowing table cells (#238) 2021-06-12 09:07:47 +05:30
navaneeth
3dd9292280 Feature: Minor UI improvements 2021-06-10 07:54:11 +05:30
navaneeth
466d21aff3 Inspector elements should use the default font for code-hinter 2021-06-05 18:56:50 +05:30
navaneeth
2b7a469dc0 Feature: Text color option for checkboxes 2021-06-05 18:50:10 +05:30
navaneeth
4d2f2cd58a Fix for fixed position of inspector menu button 2021-06-05 18:02:47 +05:30
navaneeth
7c63609b25 Cleanup the UI of color picker element of inspector 2021-06-05 17:53:13 +05:30
navaneeth
2658b76ca0 Removed the scrollbars of inspector panel 2021-06-04 21:25:17 +05:30
navaneeth
1a719ce71e Feature: Highlight selected component 2021-06-04 18:52:22 +05:30
navaneeth
4700063eef Feature: Scale widget width to fit mobile devices 2021-06-03 22:10:54 +05:30
navaneeth
03a71a6352 Feature: Mobile layout 🔥🔥🔥 2021-06-03 18:35:01 +05:30
navaneeth
6196051ffb Removed the extra padding of codehinter input field 2021-06-03 12:59:30 +05:30
navaneeth
e15f159af7 Dynamic darker hover color for button widget 2021-05-31 09:27:54 +05:30
navaneeth
769b58af41 Disable drag handles on viewer 2021-05-30 21:21:31 +05:30
navaneeth
ccd5c3c1c4 Minor UI fix for dropdowns 2021-05-30 18:53:54 +05:30
navaneeth
1d6e74c2fe CodeHinter fields should be focused on click within field 2021-05-29 22:44:17 +05:30
navaneeth
8dcc327df8 Child widgets should be focued when parent is focused 2021-05-28 18:55:52 +05:30
navaneeth
a02538bc9a Cleanup table inspector layout 2021-05-26 17:49:33 +05:30
navaneeth
1b47655524 Components sidebar should display move cursor 2021-05-26 13:34:33 +05:30
navaneeth
dbff7be3e9 Added widget documentation link in inspector panel 2021-05-26 13:30:42 +05:30
navaneeth
3fa4c7c441 Passwords should use password as the input type 2021-05-26 09:06:17 +05:30
navaneeth
300b78be91 Table header should not be under table body 2021-05-26 00:36:52 +05:30
navaneeth
cf8f760409 Cleanup organization users page 2021-05-25 19:23:33 +05:30
navaneeth
0d327bae34 Update ashboard headers 2021-05-25 18:48:17 +05:30
navaneeth
48dde68da0 Minor UI fix for table cells, bump bundler version 2021-05-25 18:02:57 +05:30
navaneeth
20315cbbd7 Remove outline of table search field 2021-05-24 22:28:56 +05:30
navaneeth
9986534628 Updated query preview pane layout 2021-05-24 21:43:02 +05:30
navaneeth
6b1984b7bb [Docs] New doc: Sharing, deploying & launching applications 2021-05-24 20:55:42 +05:30
navaneeth
feb6b5f082 Fixed layout for query manager 2021-05-24 18:39:00 +05:30
navaneeth
170f4c3798 Fix overlapping borders of query container 2021-05-22 20:19:16 +05:30
navaneeth
e719bcfd3f Fix for partial border of data pane 2021-05-22 18:33:54 +05:30
navaneeth
e322b64206 Feature: Run queries from query manager list 2021-05-22 12:59:44 +05:30
navaneeth
2e3bf08734 Fix for inspector codehinter fields 2021-05-22 10:49:17 +05:30
navaneeth
4bb5f6205d Fix for unwanted scroll of codehinter in query editor 2021-05-22 10:44:33 +05:30
navaneeth
14f237b574 Added header component for dashboard & users pages 2021-05-19 16:15:36 +05:30
navaneeth
c0b9edb3cc Text table cells should be sticky 2021-05-18 18:59:20 +05:30
navaneeth
dfd5d3dd21 Feature: Collapse inspector event selectors 2021-05-17 22:08:11 +05:30
navaneeth
6e825a5d36 Feature: Search for places using map widget 2021-05-17 21:03:07 +05:30
navaneeth
49154e0d33 Remove focus outlines for password fields 2021-05-17 16:58:09 +05:30
navaneeth
ac3f532008 Use roboto as the font for single line codehinters 2021-05-17 13:17:34 +05:30
navaneeth
ff161eadbb Fixed overflow issue of text widget 2021-05-17 10:56:01 +05:30
navaneeth
49edc3cc92 Feature: Maps widget 2021-05-16 10:56:31 +05:30
navaneeth
f59a5dd618 Feature: Chart widget using plotly 🎉 2021-05-15 18:11:57 +05:30
navaneeth
c345824c33 Disable modal popup animations, minor UI changes 2021-05-15 12:44:38 +05:30
navaneeth
1fb42cd6d7 Moved tabler css to codebase 2021-05-14 14:59:48 +05:30
navaneeth
72a90f97c6 Feature: Placeholders for codehinter fields 2021-05-13 23:25:39 +05:30
navaneeth
135a055913 Use select-search for google sheets query editor 2021-05-13 10:54:25 +05:30
navaneeth
ca2f7be194 Text editor should open only when clicked 2021-05-12 14:00:50 +05:30
navaneeth
f20d05bf57 Fix for layout issues of table text columns 2021-05-11 19:58:29 +05:30
navaneeth
65cae987c4 Codehinter support for firestore query editor 2021-05-11 19:36:26 +05:30
navaneeth
6e4e993160 Reduced padding for data-table cells 2021-05-11 18:12:22 +05:30
navaneeth
45d4440ab2 Fix for add tag buttons 2021-05-11 14:55:06 +05:30
navaneeth
8c17cb6b48 Fix for unwanted scrollbar for tables 2021-05-11 14:49:21 +05:30
navaneeth
33f58e62ae Better main-navbar links 2021-05-11 01:12:31 +05:30
navaneeth
1d675383e2 New layout for apps page 2021-05-11 00:54:23 +05:30
navaneeth
56b71d67de Minor UI bux fixes 2021-05-11 00:13:59 +05:30
navaneeth
318d05469e Feature: ConfigHandle for modals 2021-05-10 19:14:58 +05:30
navaneeth
7fcbaf0fc6 Feature: Select as inspector property type 2021-05-10 18:59:00 +05:30
navaneeth
981cb915d6 Hide config handle if edit mode 2021-05-10 17:06:33 +05:30
navaneeth
097cb7b97b Feature: Editable text columns for tables 2021-05-10 16:54:55 +05:30
navaneeth
b8c07ee89d Feature: Expandable text as table column type 2021-05-10 16:22:35 +05:30
navaneeth
b3d2f625b3 Fix: table cells should be scrollable 2021-05-10 15:49:47 +05:30
navaneeth
c521a4e3d2 Feature: Handle to open widget inspector 2021-05-10 14:58:44 +05:30
navaneeth
48b99979c2 Table height should fill the parent 2021-05-10 13:29:46 +05:30
navaneeth
1db2fb7083 Feature: Modals 🎉 2021-05-09 23:36:11 +05:30
navaneeth
dd1720b4ab Feature Editable tags as table column type 🎉 2021-05-09 16:21:26 +05:30
navaneeth
bcb31d0306 Feature: Badge as table colum type 2021-05-09 12:56:54 +05:30
navaneeth
4341d52060 Fix for inconsistent table header layout 2021-05-09 11:24:11 +05:30
navaneeth
3fd6f31395 UI changes fo REST API query editor 2021-05-09 10:55:00 +05:30
navaneeth
1f39b87f3d CodeHinter support for SQL queries 2021-05-09 09:55:17 +05:30
navaneeth
fbd7204ea8 Increased canvas height 2021-05-09 08:50:44 +05:30
navaneeth
181d792034 Multiple UI bug fixes 2021-05-07 22:10:11 +05:30
navaneeth
cefb69e81a Fix: column width should not change on name change 2021-05-05 12:36:07 +05:30
navaneeth
deee605424 Switch inspector fields to CodeHinter 2021-05-03 21:25:29 +05:30
navaneeth
2121dd1d1c Code hinter for transformations 2021-05-03 19:57:32 +05:30
navaneeth
16e5e9d78e Extending codehinter for restapi fields 2021-05-03 18:07:31 +05:30
navaneeth
8ecad4ff9b Loading progress-bar for app viewer 2021-05-03 17:57:46 +05:30
navaneeth
07ae9efe2e Query editor UI cleanup 2021-05-03 17:49:19 +05:30
navaneeth
16cf6244d6 Cleanup the layout of codehinter 2021-05-03 16:56:31 +05:30
navaneeth
33f6b8b215 Feature: Code hinting using codemirror 🎉 2021-05-03 13:40:23 +05:30
navaneeth
ce4fafed25 Better way to stick table headers, fixed h-scroll 2021-05-02 20:07:43 +05:30
navaneeth
bc049271c7 [Table] Fix table headers, better layout for tbody 2021-05-02 19:53:03 +05:30
navaneeth
b687b49127 Feature: Server-side pagination for tables 🎉 2021-05-02 19:15:13 +05:30
navaneeth
79597cd708 Cleanup layout & colors of date range picker 2021-05-02 12:40:51 +05:30
navaneeth
46d54a70cc Auto resize for query editors & transformations 2021-05-02 11:47:22 +05:30
navaneeth
010fb8420d Use DraftJS for rich text editor instead of ckeditor 2021-05-02 11:12:19 +05:30
navaneeth
43c61f48e6 UI: Replaced colors, fixed minor bugs 2021-05-01 14:31:15 +05:30
navaneeth
0617dd080d Feature: Zoom levels for editor canvas 🎉 🎉 2021-05-01 01:23:52 +05:30
navaneeth
115cd13fa7 Fix for inconsistent canvas on lower resolution screens 2021-04-30 23:06:42 +05:30
navaneeth
1a9aa785fa Refactor & optimise data source manager 2021-04-30 14:18:29 +05:30
navaneeth
2e3e637eb2 Setup prettier, suggested fixes 2021-04-30 12:01:32 +05:30
navaneeth
a0f9762443 Highlight plaintext field on mouseover 2021-04-29 22:26:33 +05:30
navaneeth
93cef247d4 Fix for table column/action options not closing on blur 2021-04-28 23:31:52 +05:30
navaneeth
2642b37ecc Minor UI changes 2021-04-28 22:50:10 +05:30
navaneeth
0c2d2cb3c2 Feature: Show grid line while dragging & resizing 2021-04-28 22:24:44 +05:30
navaneeth
1525cf0a08 Too many fixes for snapping to canvas objects to grid 🎉 2021-04-28 20:36:02 +05:30
navaneeth
b99d446a3a Feature: More filter operations for tables 2021-04-28 11:55:18 +05:30
navaneeth
c8d45dc754 Skeletons for canvas and panels 2021-04-27 17:37:36 +05:30
navaneeth
def707f0e1 Feature: App-level users & permissions 2021-04-27 12:36:45 +05:30