Commit graph

136 commits

Author SHA1 Message Date
Arpit
e3087f737d
revert/fix default value for dropdown (#1142) 2021-10-25 17:25:40 +05:30
SAI SUMANTH KUMAR
c258016fba
Bugfix: The search box should be displayed on the map if canSearch is set to true by default (#1243)
* Update components.js

* Update components.js
2021-10-24 19:50:27 +05:30
SAI SUMANTH KUMAR
522baf32fb
Feature: border radius property for buttons (#1152)
* Update Button.jsx

* Update components.js

* Update components.js

* Update Button.jsx

* Update components.js

* Update Button.jsx

* Update Button.jsx

* Update Button.jsx
2021-10-23 15:29:33 +05:30
Sherfin Shamsudeen
a7502e5f03
Feature/cell types (#1194)
* Add custom spacing for table cells

* Add migration to set every tables cell spacing compact

* Rename cellSpacing to cellSize

* Add documentation for table cellSize
2021-10-22 07:49:51 +05:30
Arpit
cb78a73105
Password input widget (#1172)
* password input widget

* revert: textinput default value
2021-10-21 21:53:11 +05:30
nik
8a51fe36ad
Add default value for text widget (#1179)
* Add default value for text widget

* Revert "Add default value for text widget"

This reverts commit fc03b3bdcf.

t

* Remove extra space and add text widget

* add value at proper place and remove from display
2021-10-21 21:29:47 +05:30
Arpit
1776ae85ea
Set textinput default value (#1148)
* revert textinput default value

* default value
2021-10-19 16:05:41 +05:30
Tulsi Prasad
d7a6948619
Add default value to RichTextEditor component (#1115)
- Update DraftEditor component only when default value is changed
2021-10-19 09:53:39 +05:30
vedanth bora
18a0f34e16
Updated default value for date picker. (#1110) 2021-10-18 09:03:04 +05:30
Sai Deepesh
269ac0f191
add default value for textarea (#1111) 2021-10-18 09:02:33 +05:30
Mohammad Farhan
1170fcfe19
default values for text widget props (#1103) 2021-10-16 08:40:04 +05:30
Trevor Bayless
ea77528472
Give the Number Input widget a default value (#1105) 2021-10-16 08:39:06 +05:30
Idan Moral
c7d2b604a9
Changed default value of TextInput (#1090) 2021-10-15 19:56:32 +05:30
Arpit
6c4f1c48ef
Feature: Divider widget (#970)
* feature: divider widget

* fixes
2021-10-11 14:41:17 +05:30
Sagar Choudhary
5a70d996fb
Feature: color selector for checkbox (#930) 2021-10-08 13:50:11 +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 <[email protected]>
2021-10-07 12:22:02 +05:30
Viraj Bahulkar
eeb15db665
Feature: label color property for star widget (#900) 2021-10-07 08:47:29 +05:30
Sherfin Shamsudeen
01d2559ccd
Default highlightSelectedRow to false (#910)
* Default highlightSelectedRow to false for table

* Move location of highlightSelectedRow option in components.js
2021-10-06 13:04:54 +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
Sherfin Shamsudeen
eaaccc247e
Bulk selection for table widget 🔥
* Functional implementation of checkbox selector for table

* Add inspector toggle to display bulk selector checkboxes

* Expose selectedRows variable of Table

* Refactor select-all checkbox into a separate function

* Remove unnecessary import of v4 package

* Add TODO comment for adding checkbox color

* Revert typo that accidentally got committed

* Add explanatory comment in selectedRows data generation code

* Combine original row data and displayed row data for selectedRows

* Show only original data in selectedRows

* Use useRowSelect hook to for implementing table selector

* Show selector column only when it is enable from inspector

* Add migration to set showBulkSelector to false for all tables

* Add documentation for bulk selection

* Set label of toggle that (en/dis)ables bulk selection: 'Bulk selection'
2021-10-05 12:37:17 +05:30
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