Commit Graph

434 Commits

Author SHA1 Message Date
Hetu Nandu
a7529e78d3 Merge branch 'fix/recursive-dynamic-binding-resolution' into 'release'
Recursive dynamic binding resolution

Fixes: #299 

See merge request theappsmith/internal-tools-client!207
2019-12-30 07:39:53 +00:00
Hetu Nandu
f1be938bb3 Recursive dynamic binding resolution 2019-12-30 07:39:53 +00:00
Hetu Nandu
705b38d708 Merge branch 'feature/codemirror-integration' into 'release'
Replace monaco-editor with Codemirror

See merge request theappsmith/internal-tools-client!204
2019-12-30 07:35:16 +00:00
Hetu Nandu
146899934a Replace monaco-editor with Codemirror 2019-12-30 07:35:16 +00:00
Abhinav Jha
78b56dd38b Merge branch 'feature/invite-users' into 'release'
Invite Users

Organization Dropdown
=====================
- User must be able to see 
  - The organization dropdown in the headers
  - The name of the organization in the header
  - A list of navigation options on clicking the header; in a dropdown
  - Navigate to the organization settings page on clicking "Organization Settings"
  - View a list of organizations on clicking "Switch Organization"

Invite Users Form
=================
- User must be able to
  - View the Invite Users header
  - Go back to the previous page on clicking "Cancel"
  - Add a list of email addresses in the User emails field by "Enter", "Space" and ","
  - Delete individual email address - by clicking on the close icon, and "Backspace"
  - Select a role for the set of emails
  - See a validation message for each of the user email fields and role select fields
  - Delete an entry of the "role -> emails" set by clicking on the "delete" icon at the end of each sets of fields
  - Add another "role -> emails" set by clicking on "Add more"
  - Submit the list of sets of " role -> emails" by clicking on Invite Users button


Other changes
=============
- Each of the protected pages will check for login on load
- When logged in and trying to access "/" (base URL), user will be redirected to the applications page
- User can navigate to the invite users page from the "Organization settings" page.
- Add black favicon for scaffolding pages, and orange for editor


See merge request theappsmith/internal-tools-client!203
2019-12-23 12:16:33 +00:00
Abhinav Jha
3a5aae9b97 Add favicon. Connect Nav Dropdown. Fix TagInputComponent. Fetch org and user details. Navigate to applications from /, Check for login 2019-12-23 12:16:33 +00:00
Hetu Nandu
6f356f5f00 Merge branch 'feature/path-params-sync' into 'release'
Sync path and params in api pane

Implements: #188 

See merge request theappsmith/internal-tools-client!187
2019-12-23 12:12:58 +00:00
Hetu Nandu
e82f5f3988 Sync path and params in api pane 2019-12-23 12:12:58 +00:00
Hetu Nandu
fe6df3450e Merge branch 'fix/inp-obj' into 'release'
Text validation fails with a stringified value

Closes #386

See merge request theappsmith/internal-tools-client!196
2019-12-19 10:07:19 +00:00
Hetu Nandu
1b2473c6f9 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into release 2019-12-19 15:08:07 +05:30
Abhinav Jha
9d6e8362d2 Merge branch 'fix/bug-418' into 'release'
Fix #418: Delete and Edit widget controls are functioning properly

- Delete and Edit controls for the selected widget were getting overlapped by the widgetName element, which is now fixed.

See merge request theappsmith/internal-tools-client!201
2019-12-19 09:37:40 +00:00
Hetu Nandu
005c00a145 Revert "Selected Option is now available in dropdown widget."
This reverts commit c45198e9927dbb520ef1f3c26f9cfeddbd76995e.
2019-12-19 15:03:27 +05:30
Abhinav Jha
b612e60f49 Fix #418: Delete and Edit widget controls are functioning properly 2019-12-19 14:53:07 +05:30
Abhinav Jha
9f3e69b60c Merge branch 'fix/bug-413' into 'release'
Fix #413: Adhere widget name and controls to designs

- Widget Name now adheres to designs
- Position and sizes of widget controls now adhere to designs.

See merge request theappsmith/internal-tools-client!198
2019-12-19 06:52:31 +00:00
Abhinav Jha
64996d1c3e Fix #413: Adhere widget name and controls to designs 2019-12-19 12:14:31 +05:30
Satbir Singh
63be2d8b1a Merge branch 'fix/dd-css' into 'release'
Fixed dropdown property pane css

Closes #376

See merge request theappsmith/internal-tools-client!195
2019-12-18 17:05:28 +00:00
Satbir Singh
e0999a1795 Fixed dropdown property pane css 2019-12-18 17:05:28 +00:00
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
6c47ee15f2 Text validation fails with a stringified value 2019-12-18 18:05:06 +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