Commit graph

116 commits

Author SHA1 Message Date
Maurits Lourens
f6aa39fdff
Remove question mark from labels (#895) 2021-10-05 12:31:57 +05:30
Viraj Bahulkar
91761722f0
Add color to toggle switch (#875)
* Add color to toggle switch

* Remove uneccessary comment from code
2021-09-30 08:42:42 +05:30
Arpit
2db5ad52c8
canvas grid layout update and widgets fits the grids (#869)
* component's dimensions should fit according to the grid layout

* components size updated and fit according to the grid layout
2021-09-30 08:40:59 +05:30
Arpit
6cd75fab47
Table cell color do not change according to theme nor color is enforced from the table color picker (#831)
* Table widget: data on inspector is readable in dark mode

* table body colors

* removed repeated properties in the widget ispector or table widget
2021-09-27 09:12:22 +05:30
Mohini Dahiya
9894afb175
Fix default data of charts (#803)
Interchanged X and Y values.
2021-09-22 11:56:51 +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
Sherfin Shamsudeen
c238265159
Add default value option to date-picker component (#801) 2021-09-21 07:49:31 +05:30
Arpit
48bcfdd47f
Feature: default values for text/number inputs (#736)
* Order of state computation

* default values for textInput and numberInput widgets

* number input value should be an integer

Co-authored-by: navaneeth <[email protected]>
2021-09-13 23:34:07 +05:30
Sherfin Shamsudeen
a56aa9c954
Add property to show or hide bulk update actions on Table (#739) 2021-09-13 15:37:07 +05:30
navaneeth
de6d3d0251 input validation for datepicker widget 2021-09-08 00:19:06 +05:30
Navaneeth Pk
c55cad0f24
Show/hide table buttons (#682)
* Show/hide table buttons

* clientSide pagination

* Remove unwanted comment

Co-authored-by: arpitnath <[email protected]>
2021-09-07 11:01:10 +05:30
Navaneeth Pk
8fd05bd779
Add validation for dropdowns (#696)
* Validation for dropdowns

* fix

* fix

* fix
2021-09-06 20:02:09 +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 Pk
d8e643e4cb
Widget: number input (#689) 2021-09-05 11:51:35 +05:30
navaneeth
ab375398db Correct the dimensions of dropdowns for UI consistency 2021-09-05 10:42:03 +05:30
Arpit
b06b869090
Alignment issue fixed: checkbox widget (#677) 2021-09-05 10:25:30 +05:30
Arpit
67ca8f1461
Feature: disable widgets (#653)
* widgets can be disabled

* removed whitespace

* move to styles definitions

* default values fixed with nullish operator

* proper data attributes

* generic resolver function for widget value

* renamed the style property
2021-09-02 19:41:59 +05:30
navaneeth
3a090de2d7 Default for customObjects and default color for table text 2021-09-02 13:55:10 +05:30
Arpit
cc737393ff
Set default value for radio buttons (#665) 2021-09-01 17:49:59 +05:30
Akshay
6703244857
Fixes map marker (#648) 2021-08-31 22:06:31 +05:30
Arpit
d6f5fd17dd
Feature: Show or hide widgets (#638) 2021-08-30 17:13:05 +05:30
Navaneeth Pk
15e58c0b26
Feature: types for tables (#632) 2021-08-28 21:40:45 +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
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 <[email protected]>
2021-08-24 12:21:09 +05:30
navaneeth
2d1745e38d Change default value for textinput 2021-08-24 07:43:43 +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
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 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
Arpit Nath
1fdd9eb765
fixes react-table duplicate column keys (#538)
* fixes react-table duplicate column keys

* uuid for column id

Co-authored-by: Arpit Nath <[email protected]>
2021-08-19 10:32:46 +05:30
Sherfin Shamsudeen
a53cac24b2
Feature: QR scanner widget (#519)
* Add QR code scanner widget

This commit adds QR code scanner widget which
  * Displays a viewfinder that can be activated or deactivated
  * Exposes a variable named lastDetectedValue which holds the
    data contained in the last QR code it was able to scan
  * Defines an event onDetect which is fired whenever a QR code
    is successfully scanned

* Add documentation for QR scanner widget

* Supply missing newline

* Supply missing newline for qrscanner.svg

* Supply missing newlines and semicolons

* Update error modal content

* Remove `active` property from QrScanner

* Add blob: to content security policy

* Disable content security policy

* Add content security policy that allows self, unsafe-eval and blob
2021-08-18 22:15:43 +05:30
Arpit Nath
b7f1f403ee
Feature: toggle switch widget (#500)
* feature: toggle component for widget

* relsolvers for PR

* lable and default size update

* fixes alignment
2021-08-13 20:56:56 +05:30
Arpit Nath
200cd9f402
Feature: radio button widget (#485)
* feature: radio button for widget

* Revert "feature: radio button for widget"

This reverts commit 99cb80be6a.

* radio button for widget

* icon from svg-repo.com

* radio button widget

* remove unwanted comment

* resolves changes

* component description updated

* radio component properties update

* fixed alignment
2021-08-13 12:00:53 +05:30
Navaneeth Pk
4635db9102
Fixes default value inconsistency of dropdown widget (#361) 2021-07-01 12:17:16 +05:30
Prasad Walvekar
cf4b9ce8ee
Fix text widget alignment (#260) 2021-06-22 20:02:22 +05:30
navaneeth
3dd9292280 Feature: Minor UI improvements 2021-06-10 07:54:11 +05:30
navaneeth
2b7a469dc0 Feature: Text color option for checkboxes 2021-06-05 18:50:10 +05:30
navaneeth
f00f59d1fc Feature: Add device properties to all widgets 2021-06-03 21:31:53 +05:30
navaneeth
94bede4269 Feature: Switch visibility on devices 2021-06-03 20:36:49 +05:30
navaneeth
9629e698e9 Feature: Server-side search for table widget 🎉 2021-06-01 16:54:37 +05:30
navaneeth
efbc428daa Global search of table should be triggered only on enter 2021-06-01 13:39:17 +05:30
navaneeth
ab03d55d50 Remove external svg dependencies 2021-05-31 16:08:18 +05:30
navaneeth
883306a056 Remove visibility property 2021-05-27 07:14:04 +05:30
navaneeth
5bdc399226 Feature: Pie charts 2021-05-26 11:52:40 +05:30
navaneeth
0763cc85ce Fix default values of dropdown widget 2021-05-22 20:09:44 +05:30
navaneeth
d776e6d20e Change default width of datepicker widget 2021-05-22 20:08:25 +05:30
navaneeth
4bb5f6205d Fix for unwanted scroll of codehinter in query editor 2021-05-22 10:44:33 +05:30
navaneeth
f4e4c23c4b Use newly designed icons for widgets 2021-05-20 10:20:48 +05:30
navaneeth
abf3379977 Feature: Toggle map place search 2021-05-17 21:19:18 +05:30