Commit Graph

817 Commits

Author SHA1 Message Date
Hetu Nandu
f99291ea2d Revert "Fix still crashing for #1583"
This reverts commit 2c88f11ed4.
2020-11-06 14:17:26 +05:30
Hetu Nandu
2c88f11ed4 Fix still crashing for #1583 2020-11-06 14:08:22 +05:30
Rohit Kumawat
64d053de6e variable name corrected 2020-11-06 13:23:38 +05:30
Rohit Kumawat
d85351526d Merge branch 'release' of https://github.com/appsmithorg/appsmith into fix/button-ui-invite-modal 2020-11-06 08:47:59 +05:30
akash-codemonk
86cac0fae3
Add test for showBindingPrompt function (#1566) 2020-11-05 19:15:40 +05:30
Hetu Nandu
c1ff711a45 Fix build errors 2020-11-05 17:58:39 +05:30
Nikhil Nandagopal
08b755bdcb
Merge pull request #1591 from appsmithorg/fix/args
Fix for args not splitting correctly with empty values
2020-11-05 17:52:35 +05:30
Hetu Nandu
20f357ae35
Add checks for wrong alert types of Toast messages (#1588)
Fixes #1583
2020-11-05 17:19:37 +05:30
Nikhil Nandagopal
6d6ef35b7c
Merge pull request #1518 from sumanthyedoti/fix/tabs-widget-corners
fix/tabs widget corners
2020-11-05 15:51:41 +05:30
Nikhil Nandagopal
a110a23574
Merge pull request #1169 from daniel-shuy/fix/download-file-type-dropdown-optional
Allow Download File Type dropdown to be deselected
2020-11-05 15:47:18 +05:30
Nikhil Nandagopal
39331d95b2 fix for args not splitting correctly with empty values 2020-11-05 15:46:38 +05:30
Rohit Kumawat
5eff7e7970 cancel button text color fixed 2020-11-05 12:34:44 +05:30
Nikhil Nandagopal
409c4ad9b7
Merge pull request #1571 from appsmithorg/fix/org-setting-field-validation
Fix: Field Issues in Organization's General Tab
2020-11-05 11:31:33 +05:30
devrk96
06f106090b
underline css fixed (#1570) 2020-11-05 11:27:27 +05:30
Sumanth Yedoti
851f94842e fix: tabs height 2020-11-05 10:17:55 +05:30
Sumanth Yedoti
db4e09bb1e resolve merge conflict 2020-11-04 23:09:05 +05:30
Sumanth Yedoti
6d55b37b0d fix: add shadow to TabsWidget 2020-11-04 23:03:32 +05:30
Sumanth Yedoti
cac499c9ad fix(Widgets): add rounded corners and improve overall style for TabsWidget 2020-11-04 22:53:08 +05:30
Yedoti Sumanth
f4bed59ba0 style: remove extra red border to Tabs Widget 2020-11-04 22:52:22 +05:30
Yedoti Sumanth
97e4168523 fix(Widget): add rounded corners to Tabs Widget 2020-11-04 22:52:21 +05:30
Sumanth Yedoti
60bbc963dc fix(Widgets): add shadow to TabsWidget 2020-11-04 22:51:59 +05:30
Sumanth Yedoti
41a2a53bf1 fix(Widgets): add rounded corners and improve overall style for TabsWidget 2020-11-04 22:51:58 +05:30
Sumanth Yedoti
a3d7cdb769 style: remove extra red border to Tabs Widget 2020-11-04 22:51:57 +05:30
Yedoti Sumanth
41411bddcb fix(Widget): add rounded corners to Tabs Widget 2020-11-04 22:51:57 +05:30
Rohit Kumawat
560fd9155b field validation fixed in email and white space removed 2020-11-04 21:36:06 +05:30
Daniel Shuy
2c5e74313c Add default empty selection for FILE_TYPE_OPTIONS 2020-11-04 20:23:56 +08:00
akash-codemonk
8ae77f7764
Fix prompt showing up always (#1556) 2020-11-04 16:37:10 +05:30
akash-codemonk
ba6aceb096
Fix includes is not a function error crash (#1555)
* Make the value a string to avoid includes is not a function error

* If it is not a string show the prompt
2020-11-04 15:27:11 +05:30
Abhinav Jha
d5c7fcc1e4
Fix table crash issue when selectedRowIndices was reset (#1542) 2020-11-03 22:16:44 +05:30
Nikhil Nandagopal
8a1be448e1 added a fix for null crashing a page in bindings 2020-11-03 21:17:16 +05:30
Abhinav Jha
543b7ec72d
Entity Explorer Render (#1354)
* WIP: Performance improvements in entity explorer

* WIP: Achieve feature parity for entity explorer with release

* Update unit tests

* Add sentry profiling to current page entity properties component

* Fix page add/delete not showing up on entity explorer issue. Update memoization logic for pagegroup entity

* Deal with the ban-ts-ignore eslint issues

* Update unit tests

* Fix widget entity children visibility

* Fix tests and code

* Fix tests for scenarios where the collapsed entities are unmount, as this is a part of the performance optimization

* Filter undefined children when generating structureDSL

* Remove rule from eslintrc

Consolidate createPage test command

* Update CreatePage tests to remove redundant dsl updates

* Revert CreatePage test changes, as adding more checks within this command globally causes other tests to have issues.

* re-enable eslint rule, as without it CI tests fail

* Revert to ban-ts-comment

* Fix typescript ban-ts-ignore issue by upgrading react-scripts and fixing typescript issue across the application

* Typescript errors handled

Co-authored-by: vicky-primathon.in <vicky.bansal@primathon.in>
2020-11-03 18:35:40 +05:30
Abhinav Jha
120c2da507
Fix: Tabs Widget (#1532)
* Fix issue where placing widgets into the first tab of a tabs widget was disallowed.

* Concatenate using spread instead of produce

* Remove widget blueprint from widget props

* Deal with nested blueprint
2020-11-03 18:32:50 +05:30
Sumanth Yedoti
87a2effbc5
Fix/api URL field twitch (#1495)
Fixes: #1248
Co-authored-by: Yedoti Sumanth <sumanthyedoti@redd.in>
2020-11-03 12:21:02 +05:30
akash-codemonk
9afcf87156
Show binding prompt when there is no binding in the editor (#1478) 2020-11-03 09:40:07 +05:30
devrk96
09ce4329b0
underline css fixed (#1515) 2020-11-02 19:35:31 +05:30
satbir121
51cb0d82a2
Fixing zoom on pan issue. (#1474)
* FIxing zoom on pan issue.

* Adding a disabled label to 1x zoom.

* Adding comments.

* Update PropertyPaneConfigResponse.tsx

Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-11-02 15:21:14 +05:30
akash-codemonk
ac70e5be4d
Update query form UI (#1500) 2020-11-02 15:01:00 +05:30
Nikhil Nandagopal
2ec5b6297b
Fix/action splitting (#1497)
* fixed argument splitting logic to rely onregex instead of simple string split

* abstracted splitting function
2020-11-02 10:54:15 +05:30
devrk96
7d6a70d3ce
Feature: New create app flow (#1375)
* EditableTextWrapper component implemented

* create new app flow implemented

* test cases for new create new app flow fixed

* role update element fixed

* before-all hooks fixed

* createOrg test cases fixed

* loading state test added

* editableText input unique identifier added in test-cases

* updateApplication API alias name corrected

* removed the second className prop on same component

* PR feedback implemented
2020-10-31 12:10:51 +05:30
Nikhil Nandagopal
5c26ef5d07
Fixed Bindings Working inside action selectors (#1484)
* added functions to convert string to JS and JS to string while manipulating property pane values
refactored getters and setters to reuse functions instead of creating multiple functions

* minor fixes

* optimized the js conversion function and fixed an edge case

* minor fix for type setters

* abstracted enum getter

* dummy commit
2020-10-30 18:05:21 +05:30
vicky-primathon
75c84cbba7
Map resetting when clicking on a marker fix (#1299) 2020-10-29 23:46:27 +05:30
Nuwan Sameera Alawatta
e782ca17e8
fix lightning bolt menu onhover bug (#1454)
* fix lightning bolt create new api onhover bug

* fix lightning bolt menu onhover bug
2020-10-29 19:00:04 +05:30
devrk96
f6bb16a4e6
Fix: Invalid email error in invite modal (#1368)
* Invalid email error showing on entering incorrect email before submission

* error state name corrected

* colon removed from error message
2020-10-29 16:47:52 +05:30
satbir121
540f2637b5
Adding zoom on image widget. (#1356)
* Adding zoom on image widget.

* Changing zoom level to step.

* Fixed typescript issue.

* Added zoom-in/out on Click.

* Removing bad code.
2020-10-29 16:44:39 +05:30
vicky-primathon
dbf98fde5f
Fix/table widget filter conditions (#1297)
* Table widget isEqualTo and notEqualTo conditions fixed
2020-10-28 21:10:33 +05:30
vicky-primathon
4cd2579dfa
Added horizontal scrolling in table widget (#1436)
* Added horizontal scrolling in table widget

* Handled table grow shrink with display table css property
2020-10-28 19:49:15 +05:30
devrk96
5ebea89d98
Test cases: Application update (#1339)
* application name and icon update test cases implemented

* application icon update test case implemented
2020-10-28 17:36:30 +05:30
devrk96
bc70460093
role change update fixed (#1192) 2020-10-28 17:21:14 +05:30
devrk96
15ab7809f8
Org name, email and website update test cases implemented (#1433) 2020-10-28 11:09:28 +05:30
akash-codemonk
0f34c7f38f
Secure connection UI (#1358) 2020-10-27 10:32:32 +05:30
akash-codemonk
f19810117b
Query editor styling fixes (#1318) 2020-10-21 13:24:10 +05:30
Hetu Nandu
655b160922
Web worker evaluation (#706)
- Adds Web workers and does evaluations in off the main thread
- Removes any need to store functions in the data tree and only keeps them around while evaluating
- Maintains a stored data tree in the redux state
- Evaluates based on editor events instead of state changes
2020-10-21 09:55:32 +05:30
Akshay Avinash
4cd2d94f74
Updated positioning of delete icon and eslint error fix (#1304) 2020-10-20 20:29:28 +05:30
vicky-primathon
56225d2fdd
Rich text editor content with newline is parsed for RTE (#1296) 2020-10-20 13:24:05 +05:30
satbir121
6c1e13a6e9
Revert create new app flow to use the old flow for now (#1265) 2020-10-20 12:44:39 +05:30
vicky-primathon
3ae032de38
Remove RTE intance from tinymce editor instances when component is unmounted (#1076)
Fixes #785
2020-10-19 19:10:00 +05:30
Shrikant Sharat Kandula
920b38da90
Resolve conflict with master (#1246)
* added code to not identify anonymous users

* minor fix

* added alias for users so that segment works with mixpanel

* removed alias since we enabled identity merge for mixpanel

* added fix to not send anonymous user

* Add first_login event for analytics (#1184)

* Don't send full object to analytics (#1186)

* added binary raw data to be set for files picked (#1211)

* added binary raw data to be set for files picked

* spread options before modifying to maintain immutability

* Add isFromInvite field to create_USER event (#1223)

* Adding dummy commit to trigger build

* added extra information to execute action call (#1244)

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Nikhil Nandagopal <nikhil.nandagopal@gmail.com>
Co-authored-by: Arpit Mohan <arpit@appsmith.com>
2020-10-19 16:36:44 +05:30
Yash Joshi
c085fc778d
Fix evaluated pane scrollbar style (#1251)
fixes: #1182
2020-10-19 12:02:07 +05:30
akash-codemonk
0772bffe23
Create a new input field which outputs a key value pair (#1226) 2020-10-16 13:04:32 +05:30
Shrikant Sharat Kandula
0055f01f2f
Remove extraneous scrollbars in API action pane (#1222) 2020-10-16 12:28:34 +05:30
Pushkar Khedekar
2ac8ec589f
minor fix for column resizing onevent (#1235) 2020-10-16 11:59:50 +05:30
Thakur Karthik
fd9fa46bdd
Fix/fix input size (#1207)
* fix(codemirror-autocomplete): show selection background on hover for options

This fix if merged shows the selection background by hovering on autocomplete
options.

Ref: #946

* added code to not identify anonymous users

* minor fix

* added alias for users so that segment works with mixpanel

* removed alias since we enabled identity merge for mixpanel

* added fix to not send anonymous user

* Add first_login event for analytics (#1184)

* Don't send full object to analytics (#1186)

* fix for removing the extra padding in input field

* Revert "Merge branch 'master' of https://github.com/appsmithorg/appsmith into fix/fix-input-size"

This reverts commit 05a97588f8187c5a9f3146214ef523c30d1370d9, reversing
changes made to 4f70eb61e43c1a9270cb6bd05689820351a5b6e0.

* set scrollbarstyle to null in compact mode

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2020-10-16 11:56:03 +05:30
Hetu Nandu
863f5816e1
Fixes issue for pageOnload action timing out crashing the app. (#1219)
* Fixes issue for page onload timing out crashing the app.

* Add tests
2020-10-15 17:08:55 +05:30
satbir121
5c6b2e1f98
Removing a bad fix for Table column width. (#1213)
* Removing a bad fix in Table column.

* Removing unwanted code.
2020-10-15 14:56:27 +05:30
devrk96
539253f17e
Feature: Create new-app flow (#926)
* create new app flow

* uncontrolled component error fixed

* loader added when user is deleting or user role is updating

* home page loader and create-new-app loader added

* user role changing and use deleting state fixed

* PR feeback changes added

* orgname loader added

* warnings removed

* fixed create-new-app flow and delete app test cases

* beforeAll test case condition fixed

* Initial navigation condition fixed in createOrg test cases

* app card loading state fixed
2020-10-14 16:05:19 +05:30
Shrikant Sharat Kandula
4a070c3d92
Fix blank scrollbars on Firefox (#1171)
* Fix blank scrollbars on Firefox

* Hide scrollbars on Firefox for consistency
2020-10-14 10:56:43 +05:30
Abhinav Jha
76ae0103bf
Upgrade npm packages (#1079)
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-10-12 18:36:05 +05:30
satbir121
8bf80fe507
Google Recaptcha integration for button and form button widgets. (#1118)
* Adding base code for google re-captcha.

* Removing recaptcha as well

* Adding recaptchaToken on Button.

* Fixing updateMetaProperty errors.

* Handling recaptcha generation failed case.

* Adding a message for recaptcha token gen fail

* Rename setRecaptchaToken

* Adding loading state for recaptcha button

* Adding googleRecaptchaKey as a Btn prop

* Adding the bound functions in widgets

* Removing unused vars.

* Handling google recaptcha key error.

* Adding proper messages for
2020-10-12 18:31:19 +05:30
Thakur Karthik
d476bb14bc
fix(codemirror-autocomplete): show selection background on hover for options (#1134)
This fix if merged shows the selection background by hovering on autocomplete
options.

Ref: #946
2020-10-12 13:49:29 +05:30
satbir121
1cafe307d5
Feature/invitation modal (#938)
* light and dark mode added in Invite modal

* warnings removed

* create org and invite user test cases fixed

* Application invite design implemented

* manage user icon added

* button width fixed

* PR feedback implemented

* test cases fixed

* used blueprint classes

* used calc for width distribution

* copy button width fixed

* prop passing fixed

* copy button size reduced

* readonly input field background color fixed

* input background theme name ordering changed

* TagInputComponent moved to ads

* created DropdownWrapper for select field in orgInviteForm

* Warnings created due to unique key and depdencies is fixed

* Warning fixed in dropdown component

* correct prop name used

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-10-12 12:45:35 +05:30
Hetu Nandu
9ac935c424
Fix release cleanup issues (#1132) 2020-10-11 19:02:02 +05:30
Adam
43c0613fb7
Fix/new ui is distorted due to long organization name #735 (#1014)
* Fix for long org names on side menu.

Now ellipsizes with tooltip if Orgname is over the value set in ellipsize prop. Otherwise functions as before.

* added ellipsize prop to index. Fixes #735

20 seems to be a good value that stop org names running onto next line. Tested on Firefox and chrome. Linux debian stretch.

Co-authored-by: root <root@rutabaga.groudon>
2020-10-09 10:55:00 +05:30
Adam
2e63b394d5
Fix the hidden column list is not bounded and overflows in height (#981) (#1024) 2020-10-08 15:33:34 +05:30
Anshul Bansal
776daa61ba
Auto Focus on email fields in auth screens (#923)
Fixes: #610 
Co-authored-by: Anshul <anshul@typito.com>
2020-10-07 12:37:16 +05:30
Arpit Mohan
bb87386406 Merge branch 'master' into release 2020-10-07 06:46:23 +05:30
Hetu Nandu
bf2b4efbfd
Fix for action execution (#1023) 2020-10-06 22:17:16 +05:30
Nikhil Nandagopal
194f27aabb
Feature/analytics (#1022)
* added appname to PAGE_LOAD data and fixed getCurrentApplication method

* Fixed analytics to save and test datasources

* fixed analytics for create action

* added event for action execution

* added a type for event location
2020-10-06 20:40:21 +05:30
Ajay Kumar
9fce3912ea
Fix image widget not showing default image when image property is invalid (#882)
Fixes: #760
2020-10-06 12:06:57 +05:30
satbir121
93a1dc7f87
Revert "Feature: Invite modal (#927)" (#1017)
This reverts commit 63daf74a44.
2020-10-06 11:32:43 +05:30
devrk96
63daf74a44
Feature: Invite modal (#927)
* light and dark mode added in Invite modal

* warnings removed

* create org and invite user test cases fixed

* Application invite design implemented

* manage user icon added

* button width fixed

* PR feedback implemented
2020-10-05 14:05:05 +05:30
Hetu Nandu
858db968f6
Fix issue with radio widget crashing (#922)
* fix types

* Options Validaor checks for empty values

Fixes: #662

Co-authored-by: Sanchit Jain <171220040@nitdelhi.ac.in>
2020-10-05 12:57:44 +05:30
Nikhil Nandagopal
3fdd0a246a
Feature/instrumentation (#744)
* bumped sentry version
modified performance monitor to use a queue internally to make synchronous logging easy
added logging for api pane close / open and various different methods

* added use effect to stop tracking on mount of entity properties

* removed open api tracking

* fixed stop tracking to pop from the end instead of the beginning
added tracking for editor mount and sidebar mount

* added tracking for entity explorer

* moved from app route to sentry app route because passing JSX to app route causes re-renders

* Fixing theme and route change issues.

* added performance tracking for API / Query execution and Page Load actions

* added isntrumentation to open / close actions

* added instrumentation for apis & actions

* reduced sample rate
added async tracking

* added tracking for property pane

* Remove tracking from reducer

* added option to attach async operations to parent transactions

* Fix typo

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Satbir Singh <satbir121@gmail.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-09-28 10:42:23 +05:30
devrk96
dc1e2e124f
Fix: Light mode bugs (#724)
* light mode bugs resolved

* dark and light color type name is renamed

* useCallback added in editableText
2020-09-28 10:36:06 +05:30
satbir121
15f84203c7
Video widget (#684)
* Working version of video player.

* Adding default video url

* Reducing the default widget of video widget

* Fixed tests

* Adding video icon.

* Removing commented code.

* Adding playState, onPause, onStart, onEnd.

* Adding onPlay event.

* Fixing onPlay

* Adding isVisible field.

* Changing video icon.

* Fixing Popover table video.

* Adding an error message for no url.
2020-09-26 18:29:33 +05:30
Nikhil Nandagopal
fa20d54bd0 Merge branch 'master' into release 2020-09-24 21:36:08 +05:30
Nikhil Nandagopal
d5ac05caf8
Feature/instrumentation (#708)
* bumped sentry version
modified performance monitor to use a queue internally to make synchronous logging easy
added logging for api pane close / open and various different methods

* added use effect to stop tracking on mount of entity properties

* removed open api tracking

* fixed stop tracking to pop from the end instead of the beginning
added tracking for editor mount and sidebar mount

* added tracking for entity explorer

* moved from app route to sentry app route because passing JSX to app route causes re-renders

* Fixing theme and route change issues.

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-09-24 21:35:18 +05:30
Hetu Nandu
e51b89df38 Merge branch 'master' into release 2020-09-24 10:19:43 +05:30
Nikhil Nandagopal
662098d771
Manual Performance Tracking utility (#696)
- Created Performance Tracker to use a queue internally to make synchronous logging easy
- Bump sentry sdk versions
- Added performance tracking for 
  - GENERATE_VIEW_MODE_PROPS
  - GENERATE_API_PROPS
  - ENTITY_EXPLORER_ENTITY
  - GENERATE_PROPERTY_PANE_PROPS
  - GENERATE_WIDGET_EDITOR_PROPS
  - CLOSE_API
    - SYNC_PARAMS_SAGA
    - CHANGE_API_SAGA
  - CONSTRUCT_UNEVAL_TREE
  - DATA_TREE_EVALUATION
    - CREATE_DEPENDENCIES
    - SORTED_DEPENDENCY_EVALUATION
    - SET_WIDGET_LOADING
    - VALIDATE_DATA_TREE
  - CONSTRUCT_CANVAS_DSL
 

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-09-24 10:17:37 +05:30
devrk96
028070eeb2
Feature: Variable addition in light and dark theme (#677)
* variables defined in light and dark constants in theme.

* warning message removed

* Fixing create app btn click opening form

* blackShades removed and icon color in application card fixed

* state change fixed

* type of light and dark constants added

Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-09-23 19:36:50 +05:30
Nikhil Nandagopal
29fa3c9715
added code to manually trigger intercom on click (#687)
Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-23 12:38:21 +05:30
devrk96
a297737ca3
Feature: Theme switching between light and dark mode (#578)
* Theme switching feature integrated

* Condition removed

* menu height bugs fixed

* warnings removed
2020-09-22 17:26:11 +05:30
Abhinav Jha
114dfd3cbb
Add Tests: Delete widget and Undo delete widget (#556)
* Add selectors for delete trigger, toast action and copy trigger

* Copy/Paste/Delete/Undo test

Co-authored-by: Nandan <nandan@thinkify.io>
2020-09-21 11:27:54 +05:30
Nikhil Nandagopal
b6071a054e Merge branch 'master' into release 2020-09-19 17:15:46 +05:30
Nikhil Nandagopal
04368d675e Patch for Rich text editor updates 2020-09-19 17:15:19 +05:30
Satbir Singh
e7a1ba0741 Adding onClick property for image widget.
(cherry picked from commit d444b2e169)
2020-09-18 16:41:12 +05:30
Satbir Singh
d444b2e169 Adding onClick property for image widget. 2020-09-18 15:42:57 +05:30
satbir121
bef53b73aa
Making the ovrflow auto. (#559) 2020-09-17 13:27:19 +05:30
satbir121
b9154f6ea9
Homepage redesign with themes (#482)
* Updating homepage body color

* WIP: Fixing scrolls and adding anchors

* Removing divider from bottom of the page.

* Adding hover background color to app card

* Changing edit and launch icons.

* Fixing app name paddding in card.

* Fixing workspaces overflow

* Adding right padding to applications view

* Adding share icon to share btn

* Fixing Application card styles.

* Fixing text decoration in button.

* Adding new workspace button

* Fixing new workspace and new app styles.

* Adding icon sizes.

* Fixing Org Name and Org settings menu.

* Application menu working

* Fixing overlay visibility on app card

* Fixing settings page content width.

* Fixing workspace icon

* Changing app card colors.

* Removing debugger

* Adding app icon.

* Fixing the spaces in application card

* Adding storybook-static folder to gitignore.

* Adding other storybook files.

* Adding menu items for app

* Removing cypress selector from text.

* Menu width issue fixed

* Default app icon color added

* Removing hardcoded colors

* Removing hardcoded colors.

* Light Mode on!

* Showing correct icon and color in menu

* Update color working properly.

* Updating appIcon

* Editable text working.

* Adding validator

* Adding edit permissions to menu

* Removing box shadow on app card.

* Fixing context menu fill color

* Fixing Menu hover issues.

* Fixing menu open close hover issues.

* Fixing settings pages

* Changed Workspace to org.

* Fix: State management in EditableText Component (#540)

* Error state height is fixed as per design

* savingState prop condition fixed

* Fixing createnew.

* Fixing saving state for application card.

* Fixed application card editable text error.

* Fixing issue caused during merge.

* Fixing tests in create org.

* Removing commented code.

* Removing unwanted vars.

* Fixing delete duplicate tests.

* Latest color palette.

* Fixing form and table widget.

* Removing switcher from header

* Removing unused files

* Fixing app card context dropdown

* Show overlay fix

* Adding localStorage support to theme.

* Making dark mode the default.

Co-authored-by: Rohit Kumawat <rohit.kumawat@primathon.in>
2020-09-16 17:20:47 +05:30
Abhinav Jha
436f190555
Feature: Widgets: Cut-Copy-Paste-Delete shortcuts, undo-delete facility (#500) 2020-09-16 15:58:01 +05:30
Nikhil Nandagopal
ce628768bb
Fix/bindings (#554)
* changed chart data to behave as an array <str, str> and not use json stringify to update
added a generic logic to flag all objects with internal bindings as dynamic
moved unescape to only handle at the time of eval and removed new lines before eval

* added a migration for older charts that have their data as strings

* flagged column actions as an action trigger to avoid evaluating it

* minor fix

* fixed chart fields disappearing

* added migration on update

* added migration to constructor

* added a fallback for first time renders

* removed migration from did update

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-16 13:41:24 +05:30
Nikhil Nandagopal
4995706679
Fix chart data evaluation (#548)
* changed chart data to behave as an array <str, str> and not use json stringify to update
added a generic logic to flag all objects with internal bindings as dynamic
moved unescape to only handle at the time of eval and removed new lines before eval

* added a migration for older charts that have their data as strings

* flagged column actions as an action trigger to avoid evaluating it

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-15 22:24:15 +05:30
devrk96
3f9d2e8d8d
Feature: Callout component (#535)
* callout component with story implemented

* text className import fixed

* callout color and background color fixed

* storywrapper import fixed

* fill property fixed

* background prop added
2020-09-15 12:40:53 +05:30
Hetu Nandu
f09b717b38
Retry dynamic import and lazy promises (#543) 2020-09-15 12:29:58 +05:30
devrk96
2b808797f5
Cypress selector added in component system (#534)
* cypress-selector added in component system

* unused import removed
2020-09-14 22:28:54 +05:30
vicky-primathon
c0b803fa99
Fix-table tooltip flicker (#510) 2020-09-11 16:55:48 +05:30
vicky-primathon
e343f9deaa
Table Widget: Date column type: user defined input and display format (#409) 2020-09-11 16:10:15 +05:30
Abhinav Jha
c02a19396f
Fix the stacking context of the sidebar (#533) 2020-09-11 13:50:33 +05:30
Nikhil Nandagopal
7724fe5d82
Feature/intercom (#521)
* removed duplicate user object
removed id field which is never populated
added help modal in applications page and intercom to load in help modal
shutdown intercom on signout to clear existing chats

* added analytics to help modal and invite user
unescaped bindings before evaluation to prune newlines

* updated action confirmation text

* added a check to ignore old properties which are no longer dynamic

* fixed test case

* fix tests

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
Co-authored-by: Hetu Nandu <hetunandu@gmail.com>
2020-09-10 12:56:55 +05:30
satbir121
c1df5a95ac
Fixing storybook build (#517) 2020-09-09 13:20:38 +05:30
vicky-primathon
fb34609c89
selectedRowIndexes changed to selectedRowIndices (#516)
Data type of selectedRowIndices changed to array of numbers
2020-09-09 12:42:15 +05:30
vicky-primathon
da9274de10 Feature: Table Widget - multi row selection (#507) 2020-09-09 11:16:06 +05:30
Nikhil Nandagopal
c421ab12b1
removed duplicate user object (#513)
removed id field which is never populated
added help modal in applications page and intercom to load in help modal
shutdown intercom on signout to clear existing chats

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-09-09 10:48:36 +05:30
devrk96
34ff72b505
Feature: Radio group component (#481)
* Radio group component with story implemented

* radio group implemented using native input and label.

* radio component height fixed in story

* disabled name in theme corrected for radio

* align prop removed
2020-09-09 08:48:54 +05:30
devrk96
6fbab2078d
Feature: Checkbox component (#475)
* checkbox disabled state added and checked UI fixed

* checkbox imported corrected in story

* checkbox implemented using input and label elements.

* align and isChecked props removed

* used styled component for span
2020-09-09 08:47:49 +05:30
devrk96
5d28f8f14e
Feature: Tooltip component with story (#498)
* tooltip component implemented with story

* default props fixed

* used constant classes names

* blueprint classname corrected
2020-09-09 08:46:44 +05:30
devrk96
1cbff7211d
Feature: Toggle component (#490)
* Toggle component implemented with story

* props fixed

* lighten and darken colors implemented

* removed the unused css properties

* removed the used import in story

* toggle hover state fixed

* storywrapper import updated
2020-09-08 15:03:44 +05:30
devrk96
79c3bd6992
default icon selection issue fixed in stories (#495) 2020-09-08 15:00:17 +05:30
akash-codemonk
be2963061e
Add more options to action settings (#473) 2020-09-08 10:27:13 +05:30
devrk96
e99efcf108
icon size prop fixed (#485) 2020-09-03 15:11:20 +05:30
satbir121
3e88578318
Fixing Storybook deploy (#493) 2020-09-03 12:42:22 +05:30
devrk96
78f7039e85
hide edit icon issue fixed (#494) 2020-09-03 11:51:36 +05:30
devrk96
cb2e85785f
Menu item disabled UI fixed (#484) 2020-09-02 14:32:29 +05:30
devrk96
8a0966d1f7
button height issue fixed in all sizes (#483) 2020-09-02 14:28:49 +05:30
devrk96
a7e33a90e2
Feature: Dropdown component (#477)
* dropdown with text and icon implemented

* dropdown with lable implemented and story updated

* Icon import and storyWrapper import updated

* onclick cleaned
2020-09-02 12:16:02 +05:30
Abhinav Jha
70fea0e560
Feature: Add widgets from explorer (#464)
* Deprecate Navbar. Sidebar becomes a panelStack. It now has two panels, WidgetSidebar and Explorer

Co-authored-by: Nandan <nandan@thinkify.io>
2020-09-02 12:14:01 +05:30
devrk96
1adfdb2fcd
Feature: Icon component icon names, props and className updated (#471)
* className added in icon component and used icon names as an array in stories

* button component semicolon fixed

* fill prop added in button component

* name prop and iconName import updated.
2020-09-01 12:54:53 +05:30
devrk96
a071d05e0c
Feature: Text component props and enum values in stories updated (#468)
* text component props updated

* case prop updated

* className added in text component and used enum values as array in stories
2020-08-31 18:34:34 +05:30
akash-codemonk
8f0015eaf3
Show validation errors if any for keyvalue fields (#445)
* Update host field with validation properties
2020-08-31 10:45:04 +05:30
devrk96
f562ecf159
Feature-Icon enum added and size updated. (#463)
* appIcon color, icon enums and size fixed

* icon import updated
2020-08-31 10:29:18 +05:30
satbir121
e2b939416a
Members and org settings page (#424)
* Members and org settings page.

* Adding link back to applications

* Making UI look better.

* Fixing some more css

* Table dropdown onBlur, UI transparency, Popover issue fixed. Added sort arrow (#413)

* table dropdown ui issue and onblur click fixed

* position props value fixed

* tabs tripple click fixed

* Position props in table dropdown made optional

* tabs background color bug removed

* General settings page is bug free.

* Getting the manage users page to work.

* Moving general settings into its own file.

* Removing some unwanted URLs

* User cant change their role or remove themselves

* Changing onClick prop for Icon.

* Fixing tests

* Added loading states to text inputs.

* Added validators for text input

* Fixed border of skeleton for text input

* Adding a loader for Members screen

* Adding Noop to icon button

* Removing console.log

* Fixing imports.

* Moving org reducer to immer.

* Using utils email validator.

* Removing placeholder from text input props.

Co-authored-by: devrk96 <rohit.kumawat@primathon.in>
2020-08-29 00:21:16 +05:30
vicky-primathon
e90d8b6fc1
Feature - Column type displayed in column options of table widget filters (#411)
* Table widget filter type attribute displayed in column options
2020-08-28 19:44:47 +05:30
Hetu Nandu
f7ec5209cf
Add function to download part of the Data tree as a file (#458) 2020-08-28 17:37:37 +05:30
devrk96
241eff7d55
Menu component (#358)
* menu component implemented and tabs selected ui bug fixed

* PR comments resolved

* icon import updated

* Menu item component (#437)

* Adding blank components.

* Adding Todo note for tree

* Adding todo note for LighteningMenu

* ads button component

* Adding storybook support.

* storybook integrated with button component

* ads button component props completed

* button component icon and loading logic implemented

* button component completed

* Added a text knob.

* Adding default text for button.

* Merging theme and other fixes.

* Fixed info button.

* Better types.

* Adding background param to components.

* Re-using vsariant for callount.

* Added props for Text input.

* Adding text component.

* feedback changes added in button and icon component

* type any removed in button component

* function naming corrected

* menu component implemented

* menu-item implemented with text, icon and label

* menu story updated with menu-items

* menu story updated

* storyWrapper added in all stories

* ads text removed

* spinner import updated

* relative import added

Co-authored-by: Satbir Singh <satbir121@gmail.com>
Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com>

Co-authored-by: Satbir Singh <satbir121@gmail.com>
Co-authored-by: satbir121 <39981226+satbir121@users.noreply.github.com>
2020-08-28 16:21:41 +05:30
vicky-primathon
8a0805d77f
Fix: Table widget actions header scrollbar padding (#353)
* Table header scrollbar padding removed. 
* Table row font size changed based on compact mode.
2020-08-28 15:25:20 +05:30
vicky-primathon
859b1f6966
Fix Chart widget crash (#410) 2020-08-28 15:22:18 +05:30
vicky-primathon
6d2721c888
Fix: Table crash when calling toString on null values for sorting (#455) 2020-08-28 14:42:17 +05:30
Nikhil Nandagopal
bdbc73658e
Feature/sentry (#452)
* updated sentry and added performance monitoring

* identify users on sentry

* removed sentry browser

* added the environment for sentry

Co-authored-by: Nikhil Nandagopal <nikhil@appsmith.com>
2020-08-28 14:04:01 +05:30
akash-codemonk
dbfd986d0e
Add action settings tab to api and query pane (#434)
* Add action settings tab to api and query pane

- Ask for confirmation before running an action

* Update  property of actions basedon the updateLayout response

Prevent confirmation dialog for Action run, until  property of action is true

Send an API Request when the user toggles the  property of an Action

* update http method to toggle executeOnLoad for an action to PUT

* Fix save layout response type

* Remove console.log

* If updating executeOnLoad, avoid calling update action API

Co-authored-by: Abhinav Jha <abhinav@appsmith.com>
2020-08-27 21:09:16 +05:30
vicky-primathon
7d9e0cbdc1
Add classes in table widget elements for qa-automation (#435) 2020-08-27 16:50:39 +05:30
Abhinav Jha
76072dcb04
Fix Entity Names (#439)
- Fix Page name restrictions to allow for spaces
- Keep new names of entities until failure
2020-08-27 16:05:15 +05:30
Hetu Nandu
d53dfede0e
Feature/new ux bad drop (#440) 2020-08-27 11:33:25 +05:30
Hetu Nandu
f0a05e8a3f Merge branch 'release' 2020-08-26 18:53:45 +05:30
devrk96
372fb3b33d
Editable text component (#362)
* editable text component started

* success and error callback implemented

* feedback implemented and success or error state corrected

* editable input ui fixed

* PR comments resolved

* isSaving state refactored from PR comment

* icon import updated

* Changing path

* icon import fixed

Co-authored-by: Satbir Singh <satbir121@gmail.com>
2020-08-26 14:34:58 +05:30
Hetu Nandu
487102469f
Add store value action in the action dropdown (#427) 2020-08-26 14:24:03 +05:30
satbir121
f35e2d7f05
Fixing icon path. (#429) 2020-08-26 13:53:43 +05:30
devrk96
6ff6b5e1a1
Search input component (#403)
* search input implemented with both variant

* classname bug resolved in icon component

* PR comments resolved

* ellipsis added for long search keywords
2020-08-26 12:55:27 +05:30
devrk96
4da585a5af
Icon picker component (#404)
* icon picker functionalities and UI implemented

* appicon component added for icon picker

* PR comments resolved

* PR comment on appicon size resolved

* icon picker story fixed and enum added for names
2020-08-26 12:48:04 +05:30
devrk96
d511b6ecab
Color picker component (#405)
* color picker functinalities and ui implemented

* unused import removed

* PR comments resolved
2020-08-26 12:44:41 +05:30
akash-codemonk
3e545e9638
Fix form-encoded body showing 0 (#420) 2020-08-25 17:52:54 +05:30
devrk96
f5f65dd89e
table dropdown functionalities and UI implemented (#407) 2020-08-24 11:30:22 +05:30