Commit Graph

416 Commits

Author SHA1 Message Date
Satbir Singh
0a5c904778 Merge branch 'feature/husky-test' into 'release'
Adding husky test run to prepush.

See merge request theappsmith/internal-tools-client!197
2019-12-18 13:20:00 +00:00
Satbir
fff86f144b Adding husky test run to prepush 2019-12-18 18:39:08 +05:30
Satbir Singh
7be35e5b23 Merge branch 'feature/sel-opt' into 'release'
Selected Option is now available in dropdown widget.

Fixes #383 

Added a concept of derived properties for widgets. A derived property is something that is not stored in dsl because it can be evaluated from stored properties. For example: We do not need to store a `selectedOption` for a dropdown because it can be derived from `selectedIndex` and `options`. Similarly we do not need to store `selectedRow` in a table because it can be derived from `tableData` and `selectedRowIndex`. 

Such properties are constructed on the fly for their usage in js execution and autocomplete.
To add a derived property to a widget add `getDerivedPropertiesMap` function which returns an object like this:

```
{
   <DerivedPropertyName>: (widgetData: FlattenedWidgetProps) => {<<Implements how the derived property is evaluated.>>}
}
```

See merge request theappsmith/internal-tools-client!191
2019-12-18 11:59:12 +00:00
Satbir Singh
01cdbbcabc Selected Option is now available in dropdown widget. 2019-12-18 11:59:12 +00:00
Satbir Singh
f402eaa963 Merge branch 'fix/dropdown-resize' into 'release'
Resize works on dropdowns.

Closes #355

See merge request theappsmith/internal-tools-client!193
2019-12-18 07:23:28 +00:00
Satbir Singh
94dcf6d2af Resize works on dropdowns. 2019-12-18 07:23:28 +00:00
Satbir Singh
e21c502827 Merge branch 'feature/moment' into 'release'
Adding moment to js execution

See merge request theappsmith/internal-tools-client!194
2019-12-18 06:36:48 +00:00
Satbir
b6e7a5758a Adding moment to js execution 2019-12-17 18:07:12 +05:30
Abhinav Jha
cf5fcfe9c6 Merge branch 'feature/userauth' into 'release'
User Auth Flow

The following user scenarios are implemented:

Login
=====
- User should be able to login using email and password
- - Known issue: No redirect happens after login. In fact, an error shows. User should go to `/applications` manually
- User should be able to login using google
- - Know issue: User redirects to the `release` application or `production` applications. If you're using `release` or `production`, you'll be on the same domain.
- User should be able to see validation errors on login page for email and password
- Login button is in loading state when clicked (logging In)
- Login page should start with login button disabled
- Login page shows login errors, if any.
- User should be able to redirect to signup page from the link in the page
- User should be able to redirect to forgot page from the link in the page
- If the email field has any value, the value is carried over to forgot password page.

Sign Up
=======
- User should be able to sign up with email and password
- User should be able to see success message on successful signup.
- User should be able to see password and email validation errors.
- The signup button should work exactly the way it works in the login page
- User should be able to go back to login page from the link on the page.

Forgot Password
===============
- User should be able to see the email field populated if they had something in the email field on the login page. Works only when redirecting from login page's forgot password link.
- User should be able to see validation messages
- User should be able to initiate a request to send a reset token to their provided email
- The reset button should work exactly the way it works on the login page
- User should see the success and failure messages, with actionable links.

Reset Password
==============
- User should be able to reset their password
- User should be able to see success/failure messages with actionable links.
- User should be able to see validation errors.
- User should be able to go back to login page in case they change their mind.

Other changes
=============
- User should see proper error messages when we have a 500 error in forms
- User should redirect to login page if trying without a logged in session on protected routes (for eg: `applications/`)
- Custom form error message tag component which adheres to appsmith's intent colors.




See merge request theappsmith/internal-tools-client!177
2019-12-16 08:49:10 +00:00
Abhinav Jha
ed2ecadbc4 User Auth Flow 2019-12-16 08:49:10 +00:00
Satbir Singh
fb028eb13e Merge branch 'feature/cypress-e2e' into 'release'
Added cypress for e2e tests.

See merge request theappsmith/internal-tools-client!190
2019-12-12 07:50:53 +00:00
Satbir Singh
ab0007317e Added cypress for e2e tests. 2019-12-12 07:50:53 +00:00
Hetu Nandu
e58bc582c7 Merge branch 'feature/page-load-actions' into 'release'
Execute page load actions when loading page

Closes #336 and #282

See merge request theappsmith/internal-tools-client!185
2019-12-11 15:24:27 +00:00
Hetu Nandu
dd03093834 Execute page load actions when loading page 2019-12-11 15:24:27 +00:00
Hetu Nandu
49643ae16c Merge branch 'fix/api-pane-ui-state-per-api' into 'release'
Separate loading states per action

Fixes: #320, #273
* Fixes issue where loading state of one action is shared with others
* Adds a loading overlay when saving an action

See merge request theappsmith/internal-tools-client!188
2019-12-11 15:14:38 +00:00
Hetu Nandu
37a96358f4 Separate loading states per action 2019-12-11 15:14:38 +00:00
Satbir Singh
9111e33d52 Merge branch 'fix/api-pane-styles' into 'release'
Fix minor Api pane style issues

Fixes: #199, #158, #328

See merge request theappsmith/internal-tools-client!189
2019-12-11 11:31:08 +00:00
Hetu Nandu
d1ee106faa style fixes 2019-12-11 16:05:07 +05:30
Hetu Nandu
bc018eaece Merge branch 'feature/widget-validation-error-message' into 'release'
Validation Error Message display

* Implements: #295 
  * Shows a validation error message on the property pane
* Fixes: #380   
  * Fixed invalid prop for input icons

See merge request theappsmith/internal-tools-client!186
2019-12-10 13:30:16 +00:00
Hetu Nandu
d5e08b5836 Validation Error Message display 2019-12-10 13:30:16 +00:00
Abhinav Jha
71a2bbf344 Merge branch 'feature/sideNav-router-integration' into 'release'
Integrate SideNav with react router for faster switching of item

Closes #334

See merge request theappsmith/internal-tools-client!183
2019-12-09 11:31:09 +00:00
Abhinav Jha
34e20f3d1a Integrate SideNav with react router for faster switching of item 2019-12-09 11:31:09 +00:00
Hetu Nandu
9404215422 Merge branch 'feature/base-dyanmic-input' into 'release'
Data Tree Autocomplete

Implements: #293 , #131 , #128 

See merge request theappsmith/internal-tools-client!170
2019-12-06 13:16:08 +00:00
Hetu Nandu
f45d2b9135 Data Tree Autocomplete 2019-12-06 13:16:08 +00:00
Arpit Mohan
85fa63d654 Merge branch 'feature/storybooks' into 'release'
Storybooks integration

- Add storybooks to appsmith UI application.
  - addon-docs - Picks up documentation from the component
  - addon-designs - Picks up figma URL to see widget and design side by side
  - addong-knobs - Allows to toggle props in storybook
- Add a sample story for TextInputWidget

See merge request theappsmith/internal-tools-client!172
2019-12-05 03:16:00 +00:00
Abhinav Jha
b24dcd8467 Storybooks integration 2019-12-05 03:16:00 +00:00
Satbir Singh
09b6fc2cbc Merge branch 'fix/realm-script-enable' into 'release'
Fix: Re-enable realm

See merge request theappsmith/internal-tools-client!182
2019-12-03 10:08:06 +00:00
Abhinav Jha
aa18f31e07 Re-enable realm 2019-12-03 15:33:05 +05:30
Abhinav Jha
26bebfc9ba Merge branch 'feature/code-splitting' into 'release'
Code Splitting

See merge request theappsmith/internal-tools-client!179
2019-12-03 09:21:06 +00:00
Abhinav Jha
0dbb546e8f Code Splitting 2019-12-03 09:21:06 +00:00
Satbir Singh
f0613e4d03 Merge branch 'fix/act-exe' into 'release'
Fixing action execution error caused from js exec.

See merge request theappsmith/internal-tools-client!181
2019-12-03 07:37:17 +00:00
Satbir
f9d1067181 Fixing action execution error caused from js exec. 2019-12-03 13:03:14 +05:30
Satbir Singh
23de859f1e Merge branch 'feature/all-widget-loading' into 'release'
All widgets loading.

See merge request theappsmith/internal-tools-client!178
2019-12-03 04:41:11 +00:00
Satbir Singh
33b2db0349 All widgets loading. 2019-12-03 04:41:10 +00:00
Satbir Singh
5200633d15 Merge branch 'feature/js-executor' into 'release'
Inline js execution

See merge request theappsmith/internal-tools-client!171
2019-12-03 04:37:05 +00:00
Satbir
a886c63c9c Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/js-executor 2019-12-03 09:58:49 +05:30
Satbir
a6e25ef3ba TableAction moved to ActionConstants. 2019-12-03 09:58:14 +05:30
Satbir
1f267954ef Tests for dynamic binding parse. 2019-12-02 15:21:18 +05:30
Satbir
915da9c660 Renaming extract to evalute. 2019-12-02 15:20:25 +05:30
Arpit Mohan
ee2b61d251 Merge branch 'feature/header-breadcrumb-routing' into 'release'
Editor header - Breadcrumbs routing

Changes:
- The first breadcrumb is "Home" which redirects to the homepage (/)
- The second breadcrumb is "Applications" which redirects to applications (/applications)

See merge request theappsmith/internal-tools-client!175
2019-12-02 08:53:39 +00:00
Abhinav Jha
654d63e484 Editor header - Breadcrumbs routing 2019-12-02 08:53:38 +00:00
Satbir
7d4e565c7b Removed error string as a return value of evalute 2019-12-02 13:46:56 +05:30
Satbir
431d127a74 Renaming data binding regex. 2019-12-02 13:07:33 +05:30
Satbir
8cbdd84857 Renaming extractDynamicBoundValue to evaluate. 2019-12-02 13:06:20 +05:30
Satbir
2ac28cde5b Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into feature/js-executor 2019-12-02 09:09:36 +05:30
Satbir
0324e6a745 Fixing tests. 2019-12-02 09:08:11 +05:30
Hetu Nandu
85ba2faecc Merge branch 'feature/plugin-infra' into 'release'
Add support for plugin name based filtering

Started pulling plugins from the server and showing actions and data sources depending of plugin name

See merge request theappsmith/internal-tools-client!169
2019-11-29 05:22:49 +00:00
Hetu Nandu
6cea0e80ad Add support for plugin name based filtering 2019-11-29 05:22:49 +00:00
Hetu Nandu
743984938d Merge branch 'fix/styleName-prop-issue' into 'release'
Renamed styleName prop to accent

Fixes #108 a weird bug with styled-components that passes down styling props to the dom.

See merge request theappsmith/internal-tools-client!167
2019-11-28 07:08:39 +00:00
Hetu Nandu
08ad87fb05 Renamed styleName prop to accent 2019-11-28 07:08:39 +00:00