Commit Graph

5314 Commits

Author SHA1 Message Date
Satbir Singh
55167f89d7 Selected row data is now updated on tableData change 2019-11-14 11:05:45 +00:00
Hetu Nandu
823544ee90 Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!144
2019-11-14 09:42:35 +00:00
Hetu Nandu
b68706ef53 Merge branch 'property-validations' into 'release'
Property validations

Added validation for static and dynamic property changes of the widgets. A small validation error will be shown when the input or evaluated input is not matching the required type of the property input

See merge request theappsmith/internal-tools-client!124
2019-11-14 09:28:51 +00:00
Hetu Nandu
750d69a6c6 Property validations 2019-11-14 09:28:51 +00:00
Hetu Nandu
fe91dd4441 Merge branch 'fix/api-pane-p1' into 'release'
Api Sidebar and Api dropdown fixes

Fixes:
* #244 Added a cursor at the end of the tag, improved tag styles
* #232 #228 #227 #199 Via various styling changes

See merge request theappsmith/internal-tools-client!142
2019-11-14 09:01:23 +00:00
Hetu Nandu
fadb2cae6b Api Sidebar and Api dropdown fixes 2019-11-14 09:01:23 +00:00
Trisha Anand
0184bc42b6 Merge branch 'feature/plugin-datasource-validation' into 'master'
Datasource validation as part of plugin functionality

See merge request theappsmith/internal-tools-server!70
2019-11-14 08:50:02 +00:00
Trisha Anand
31cf94f08e 1. Added datasource validator function in the plugin interface which simply returns true for all the current plugins.
2. Added static method getPluginExecutor as a util function which removes duplicate code from across different files.
2019-11-14 08:50:02 +00:00
Satbir Singh
3010ec3296 Merge branch 'fix/action-execution' into 'release'
Action can be unset. Actions are validated before executing.

Fixes #265 #264 

Previously, if you select an action in the property pane, there was not way to clear it. The actions can be removed now by clicking on a close button next to the dropdown.

Also, front-end code would try to execute an action even if there no actionId selected in the property pane. Now, there is a validation before action execution to check that.

See merge request theappsmith/internal-tools-client!140
2019-11-14 07:42:24 +00:00
Satbir Singh
ff80a4b267 Action can be unset. Actions are validated before executing. 2019-11-14 07:42:24 +00:00
Arpit Mohan
98662714dc Merge branch 'feature/view-published-page' into 'master'
Endpoint to view published page using just PageId

Fixes #83 

We now return all the published layouts for a given pageId in the view mode. In the future, we will whittle the layouts down based on query parameters and other factors to return a single layout in the published page. Today, since most pages only have a single layout, there is no performance impact.

See merge request theappsmith/internal-tools-server!76
2019-11-14 07:06:34 +00:00
Arpit Mohan
f62cd1f21a Endpoint to view published page using just PageId. The layoutId is no longer required. 2019-11-14 07:06:34 +00:00
Arpit Mohan
9267d00d22 Merge branch 'bug/action-with-name' into 'master'
Action only with name now supported

See merge request theappsmith/internal-tools-server!72
2019-11-13 12:26:12 +00:00
Trisha Anand
0d21680f08 Action only with name now supported 2019-11-13 12:26:12 +00:00
Arpit Mohan
4b1f673584 Merge branch 'feature/property-pane-get-api' into 'master'
Adding CRUD API for configurations. The name for the config will be unique across the dataset

Moving the propertyPane API to the config API because it's more generic. Now we will be able to fetch properties using the name of the config parameter. This will allow us to store all the configurations in a single location. This is a more extensible design.

TODO: We still have to make the datastructure of the Config domain more generic. At the moment, it's meant to help the client transition from the older `propertyPane` API to the new `config` API.

See merge request theappsmith/internal-tools-server!71
2019-11-13 12:17:33 +00:00
Arpit Mohan
f4daa33493 Adding CRUD API for configurations. The name for the config will be unique across the dataset. 2019-11-13 12:17:32 +00:00
Hetu Nandu
bbd5bb02c3 Merge branch 'fix/ui-fixes' into 'release'
UI fixes

See merge request theappsmith/internal-tools-client!139
2019-11-13 11:34:11 +00:00
Hetu Nandu
884984bea0 UI fixes 2019-11-13 11:34:11 +00:00
Satbir Singh
9c362f4d1b Merge branch 'fix/radio' into 'release'
Adding delete radio option button and fixing ordering issues.

Fixes #209 

Added delete radio option button.
Ordering issues were happening when you try to add a new option or update an existing option. These issues have been fixed.

In the issue #209 , it was mentioned that value is not very clear. The value is not yet renamed in this PR.

See merge request theappsmith/internal-tools-client!137
2019-11-13 10:35:35 +00:00
Satbir Singh
5653b046df Adding delete radio option button and fixing ordering issues. 2019-11-13 10:35:35 +00:00
Arpit Mohan
72497e927c Merge branch 'feature/user-multi-orgs' into 'master'
User association with multiple organizations

Fixes #68 

A user can now be associated to multiple organizations. By default the first organization that the user joins is the default one. The user can then switch between these organizations and work on them independently. At a given time though, the user will be operating on a single organization in a login session.

See merge request theappsmith/internal-tools-server!57
2019-11-13 10:23:23 +00:00
Trisha Anand
f81e22b1a5 Adding the capability to associate a user with multiple organizations 2019-11-13 10:23:23 +00:00
Hetu Nandu
5886bccbdc Merge branch 'fix/api-pane-p0' into 'release'
Fix various api pane bugs

See merge request theappsmith/internal-tools-client!136
2019-11-13 07:34:59 +00:00
Hetu Nandu
8c8312928a Fix various api pane bugs 2019-11-13 07:34:59 +00:00
Abhinav Jha
63d86bf9fe Merge branch 'feature/appviewer-fixes' into 'release'
AppView display positioning

Fixes for the discrepancy between the builder view and AppViewer.
Fixes for no collision scenarios.

- Fixes #127 Widget sizes don't vary when selected and unselected
- Fixes #219 Widget sizes in builder and appviewer are now the same size
- Fixes #212 Widget names now appear for all widgets when selected
- Fixes #155 Widgets collisions now happen when they should
- Fixes #153 Widgets cannot be dropped on top of one another. Unless, the widget is dropped within a container widget
- Fixes #140 Drop Target grid dots, now, do not bleed off the Drop Target
- Fixes #211 Property Panes now have a close button as well as the widget type title
- Fixes #216 Input Widget now resizes appropriately when trying to resize.


See merge request theappsmith/internal-tools-client!122
2019-11-13 07:00:25 +00:00
Abhinav Jha
03e78f0751 WIP: Allow absolute paths for imports. Refactor ContainerComponent.tsx to PositionedContainer.tsx, CanvasWidgetContainer.tsx, ContainerComponent.tsx. Refactor all widgets and components to adhere to new props and apis. 2019-11-13 07:00:25 +00:00
Trisha Anand
ea5a892da3 Merge branch 'bug/empty-datasource' into 'master'
Datasource without any configuration is not valid. Deter the user from...

Closes #77

See merge request theappsmith/internal-tools-server!69
2019-11-13 06:08:36 +00:00
Trisha Anand
55a29c448c Datasource without any configuration is not valid. Deter the user from creating one in such a scenario 2019-11-13 06:08:36 +00:00
Trisha Anand
0a80fe8d7f Merge branch 'bug/api-names-without-space' into 'master'
Api name validation : Don't allow whitespace

Closes #76

See merge request theappsmith/internal-tools-server!66
2019-11-13 05:51:01 +00:00
Trisha Anand
df904539ca Datasource instead of DatasourceId is expected as part of Action. During create and update action, datasource can also be created, which is automatically saved as part of datasource collection 2019-11-13 05:51:01 +00:00
Hetu Nandu
e771f923ce Merge branch 'hotfix/datasource-issue' into 'release'
hotfix datasource null field issue

See merge request theappsmith/internal-tools-client!138
2019-11-13 05:03:38 +00:00
Hetu Nandu
581a32420b hotfix datasource null field issue 2019-11-13 05:03:38 +00:00
Nikhil Nandagopal
1c8177e217 Merge branch 'hotfix/image' into 'release'
fixed default image

See merge request theappsmith/internal-tools-client!133
2019-11-12 11:58:42 +00:00
Nikhil Nandagopal
73ca13b20e fixed default image 2019-11-12 11:58:42 +00:00
Trisha Anand
923159e2cd Merge branch 'bug/api-sort-by-name' into 'master'
Get all actions returns them in sorted order

Closes #74

See merge request theappsmith/internal-tools-server!68
2019-11-12 09:59:31 +00:00
Trisha Anand
41be720335 Get all actions returns them in sorted order 2019-11-12 09:59:29 +00:00
Trisha Anand
f1878d63ab Merge branch 'feature/redis-session' into 'master'
Redis used for session persistence

See merge request theappsmith/internal-tools-server!67
2019-11-12 09:58:14 +00:00
Trisha Anand
cb4493dc2d Datasource instead of DatasourceId is expected as part of Action. During create and update action, datasource can also be created, which is automatically saved as part of datasource collection 2019-11-12 09:58:14 +00:00
Satbir Singh
448edac175 Merge branch 'fix/chaining' into 'release'
Fixing breaking code in error and success action select.

In Property pane, when you select an action, the followup on success and on error were breaking due to an error in code. Fixed this issue.

See merge request theappsmith/internal-tools-client!132
2019-11-12 09:50:40 +00:00
Satbir Singh
dbbb469dcd Fixing breaking code in error and success action select. 2019-11-12 09:50:40 +00:00
Hetu Nandu
da1b20599b Merge branch 'feature/api-pane-dry-run' into 'release'
Api Dry Run

This feature is to allow the dry run of actions without saving it first.

See merge request theappsmith/internal-tools-client!128
2019-11-12 09:43:14 +00:00
Hetu Nandu
c9914c4246 Api Dry Run 2019-11-12 09:43:13 +00:00
Trisha Anand
54fb13d332 Merge branch 'feature/action-resource-included' into 'master'
Adding datasource as part of action for create/update action, execute action

Closes #60

See merge request theappsmith/internal-tools-server!65
2019-11-12 09:15:09 +00:00
Trisha Anand
e6d9f1df88 Datasource instead of DatasourceId is expected as part of Action. During create and update action, datasource can also be created, which is automatically saved as part of datasource collection 2019-11-12 09:15:09 +00:00
Nikhil Nandagopal
977b6f2956 Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!130
2019-11-12 08:55:01 +00:00
Nikhil Nandagopal
3dd7713aac minor fix 2019-11-12 14:22:13 +05:30
Nikhil Nandagopal
793ab07eed Merge branch 'master' into release
# Conflicts:
#	src/sagas/ActionSagas.ts
#	src/widgets/TableWidget.tsx
2019-11-12 14:09:37 +05:30
Nikhil Nandagopal
62ecb0f00f Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into release 2019-11-12 14:04:13 +05:30
Nikhil Nandagopal
8acfa99096 Merge branch 'feature/date-picker' into 'release'
Feature/date picker

See merge request theappsmith/internal-tools-client!131
2019-11-12 07:57:12 +00:00
Nikhil Nandagopal
3881fe699c Feature/date picker 2019-11-12 07:57:12 +00:00