Commit Graph

159 Commits

Author SHA1 Message Date
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
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
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
Abhinav Jha
613db73b15
Fix: Action move & copy issues (#381)
* Fix: When copying a query, the app tries to open the API page with the queryID

* Fix: When moving a query, the query input box is empty
2020-08-21 11:33:04 +05:30
satbir121
51ce6b320c
Fixing Application crashes when query is moved. (#350) 2020-08-19 11:17:54 +05:30
Abhinav Jha
e22a9c6dc6
Entity Explorer Fixes (#305)
* Fix: modal widget closes when navigating to the widgets pane from explorer

* Fix: Align API input tab with the headers

Fix: align delete and run buttons to the right in queries pane

* Fix: while dragging, the cursor must be 'grabbing'

* Set new widget name in editing mode

* Fix: While property pane is open, changing the widget name in entity explorer does not update the name in the property pane

* Fix: The expanded entity property value popup should not have a label, as its function is only to show the full version of truncated data

* Feature: Edit datasource name from entity explorer

* Fix: Allow users to navigate from the placeholder text

* Fix: When moving or copying apis, navigate to the moved or copied api
2020-08-14 12:48:30 +05:30
NandanAnantharamu
05f190c102
Feature/entity browse (#220)
# New Feature: Entity Explorer
- Entities are actions (apis and queries), datasources, pages, and widgets
- With this new feature, all entities in the application will be available
  to view in the new entity explorer sidebar
- All existing application features from the api sidebar, query sidebar, datasource sidebar and pages sidebar
  now are avialable on the entity explorer sidebar
- Users are now able to quickly switch to any entity in the application from the entity explorer sidebar.
- Users can also search all entities in the application from the new sidebar. Use cmd + f or ctrl + f to focus on the search input
- Users can rename entities from the new sidebar
- Users can also perform contextual actions on these entities like set a page as home page, copy/move actions, delete entity, etc from the context menu available alongside the entities in the sidebar
- Users can view the properties of the entities in the sidebar, as well as copy bindings to use in the application.
2020-08-10 14:22:45 +05:30
Hetu Nandu
01a3d4682f
Fix action batching issue (#181) 2020-07-28 16:11:51 +05:30
Hetu Nandu
fe43680abc
Action test fixes (#130)
* Fixes for tests
* remove marketplace tests
* fix some other tests
* Simplify update datasource
* Add cypress env variables
2020-07-21 19:31:51 +05:30
Hetu Nandu
70955de703
Create fetch actions workflow for view mode (#102)
* Create fetch actions workflow for view mode

* Remove config from autocomplete results
2020-07-15 18:31:35 +05:30
Hetu Nandu
0b86b503aa
Fix move/copy success/failure workflow (#47) 2020-07-07 13:37:37 +05:30
Hetu Nandu
13e173fa77
Action save fixes (#33)
- Increased timeout for move action
- Table header typescript fix
- Fix data tree selectors for better performance
- Debounce update action saga by 500 ms
- Query delete fix
- Query save fix
2020-07-06 19:05:31 +05:30
satbir121
86ea0e8cf2
Fixing api name reseting issue. (#34)
Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 09:49:49 +05:30
Hetu Nandu
4a6717889c
Streamline action save with widgets (#10)
- Remove drafts from actions
- Direct update action from forms
- Debounced saving of actions
- Add org id in default datasource
- Merge query and api run saga
2020-07-03 14:28:58 +05:30
Nikhil Nandagopal
faddd04cb3 updated query templates
added error message for all APIs
2020-06-29 18:18:21 +05:30
Satbir Singh
d640c03386 Query editor auto save. 2020-06-29 08:23:10 +00:00
Satbir Singh
84da0a63fb Fixing api name not getting saved. 2020-06-26 16:52:54 +05:30
Hetu Nandu
fb65b204a8 JSON stringify fixes 2020-06-25 10:04:57 +00:00
Akash N
b153c86f9c Fix query name not updating
- For queries take the payload as it is.
2020-06-23 16:40:26 +05:30
Satbir Singh
bf0c0d737f Changing response request structure. 2020-06-19 21:57:12 +05:30
Hetu Nandu
2d956644df Hot fixes 2020-06-19 13:06:45 +00:00
Hetu Nandu
ded1a130e3 Action draft fixes 2020-06-18 14:16:49 +00:00
Satbir Singh
fd3f4c2028 Fixing performance issue in apiName 2020-06-18 07:46:53 +00:00
Satbir Singh
98f65405a7 Handling api name change error. 2020-06-17 13:16:14 +00:00
Satbir Singh
7e3df81302 Api name editable. 2020-06-16 10:23:19 +00:00
Satbir Singh
13422048e4 Save api on edit. 2020-06-10 17:42:51 +00:00
Hetu Nandu
cb2867069f Action creator evaluated value fixes 2020-06-10 12:16:50 +00:00
Hetu Nandu
d9540f8927 Evaluated value popup 2020-06-04 13:49:22 +00:00
Akash N
1850b8f6b3 Bug fixes
- Show request body instead of request headers
- Get httpMethod directly.
- Add padding at the right for tabs
2020-05-22 03:43:01 +00:00
Hetu Nandu
859abb0443 Action execution success is determined by "data.isExecutionSuccess" field 2020-05-14 06:33:23 +00:00
Hetu Nandu
ff2f32290f Fix content type switching to raw when custom 2020-05-08 12:54:27 +00:00
Hetu Nandu
d33b7e955c Revert back the draft condition
- Initialise headers and query parameters while creating an api
- Do not push fields further on
2020-05-07 10:42:17 +00:00
Hetu Nandu
42f99e766b Merge branch 'fix/api-timeouts' into 'release'
Api timeout changes

See merge request theappsmith/internal-tools-client!554
2020-05-07 08:07:29 +00:00
Hetu Nandu
8572d02b91 Api timeout changes 2020-05-07 08:07:29 +00:00
Hetu Nandu
8e7ba82b3f Revert back the draft condition
- Initialise headers and query parameters while creating an api
- Do not push fields further on
2020-05-07 07:56:37 +00:00
Hetu Nandu
501800d738 Merge branch 'fix/form-issues' into 'release'
Fix issue with reset on form error

See merge request theappsmith/internal-tools-client!524
2020-05-05 08:23:24 +00:00
Hetu Nandu
1cb5b6bf31 Fix issue with reset on form error 2020-05-05 08:23:22 +00:00
Hetu Nandu
0bdb9bea4c feat: dynamic post body in api form
- add info icon
- display helper text and placeholders dynamically
2020-05-05 07:50:30 +00:00
Hetu Nandu
85f57e350f Api pane creation fixes 2020-04-22 09:15:24 +00:00
Satbir Singh
a2086d2b5f Action selector refactor 2020-04-20 05:42:46 +00:00
Nikhil Nandagopal
1a1c703126 added fast get eval with a debounce.
added cache dependency creation but doesn't work
2020-04-10 08:48:00 +00:00
Satbir Singh
bb9fc29409 Page Params 2020-04-01 08:09:57 +00:00
Abhinav Jha
a0872b97f2 Generate widgets from blueprint. Close previously open modals when showing a modal. Fix unicode page name issue in pagelist sidebar 2020-03-27 09:02:11 +00:00
Hetu Nandu
80db9eb030 Performance instrumentation 2020-03-23 12:40:17 +00:00
Satbir Singh
78b8ed0303 Table refresh on page change. 2020-03-19 12:42:58 +05:30
Satbir Singh
1c49672c64 Merge branch 'fix/nav-url' into 'release'
Added a https protocol to navigation url if it does not exist

See merge request theappsmith/internal-tools-client!397
2020-03-18 13:09:54 +00:00
Satbir Singh
356faf1853 Navigation to url fixed. 2020-03-18 09:12:18 +05:30
Satbir Singh
4655322262 Fixing array issues with json pathkeys 2020-03-18 08:35:06 +05:30
Hetu Nandu
0272b29ab2 fix loading issue 2020-03-17 21:27:35 +05:30
Hetu Nandu
af247a181e trigger loading 2020-03-13 14:47:04 +05:30
Hetu Nandu
1bd5a8c5e7 fix page load actions issues 2020-03-13 01:57:39 +05:30
Satbir Singh
cfb967117c More events 2020-03-11 13:59:46 +00:00
Hetu Nandu
d9dee9b16d Form Widget 2020-03-06 09:45:21 +00:00
Satbir Singh
0b9a0cc6ab More events 2020-03-06 04:59:24 +00:00
Hetu Nandu
ce0f3b933a Critical fixes 2020-03-03 06:51:59 +00:00
Hetu Nandu
5e0beb9fe7 Property Pane - Convert control to dynamic 2020-02-26 12:44:56 +00:00
Abhinav Jha
8024fe5131 Feature - update widget name 2020-02-21 12:16:49 +00:00
Abhinav Jha
4045bf4a3d Remove deleted page from list. Disable setting a page as default when it is already the default. Throw error when deleting the homepage. 2020-02-21 07:19:10 +00:00
Hetu Nandu
fb80c4b576 Action refactor 2020-02-18 10:41:52 +00:00
Hetu Nandu
a00e53c70d api fixes 2020-02-13 17:08:34 +05:30
Satbir Singh
84d35aced6 Feature/server side pagination 2020-02-07 02:32:52 +00:00
Abhinav Jha
1dcdf8694f Delete application after api response 2020-02-03 17:49:10 +05:30
Hetu Nandu
6c86253945 Fix components for widget update 2020-01-31 11:13:16 +00:00
Hetu Nandu
0dd25ba2ef Refactor Widget loading 2020-01-30 13:23:04 +00:00
Hetu Nandu
b6898d4ef7 Page Load actions with dependencies 2020-01-30 10:55:37 +00:00
Hetu Nandu
9b00a345ad Various P0 fixes 2020-01-27 13:53:33 +00:00
Hetu Nandu
729599009a Api page association 2020-01-24 09:54:40 +00:00
Hetu Nandu
cc50beb0a0 Add back derived properties 2020-01-17 09:28:26 +00:00
Hetu Nandu
752944ee02 Various api pane and dynamic input improvements 2020-01-03 13:40:31 +00:00
Hetu Nandu
0f908de645 Feature/api cached response autocomplete 2020-01-02 13:46:36 +00:00
Hetu Nandu
e82f5f3988 Sync path and params in api pane 2019-12-23 12:12:58 +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
Satbir Singh
01cdbbcabc Selected Option is now available in dropdown widget. 2019-12-18 11:59:12 +00:00
Hetu Nandu
dd03093834 Execute page load actions when loading page 2019-12-11 15:24:27 +00:00
Hetu Nandu
37a96358f4 Separate loading states per action 2019-12-11 15:14:38 +00:00
Hetu Nandu
f45d2b9135 Data Tree Autocomplete 2019-12-06 13:16:08 +00:00
Satbir
f9d1067181 Fixing action execution error caused from js exec. 2019-12-03 13:03:14 +05:30
Satbir
915da9c660 Renaming extract to evalute. 2019-12-02 15:20:25 +05:30
Satbir
8cbdd84857 Renaming extractDynamicBoundValue to evaluate. 2019-12-02 13:06:20 +05:30
Satbir
48fa52d9ba Adding JS execution functionality. 2019-11-28 09:26:44 +05:30
Hetu Nandu
1825fd7a19 Drafts in API Pane 2019-11-25 09:15:11 +00:00
Hetu Nandu
fbb7742f0e moved to absolute paths for all fiels 2019-11-25 10:37:27 +05:30
Abhinav Jha
d64bbc4015 Use applicationId and pageId to render pages 2019-11-22 14:02:55 +00:00
Hetu Nandu
7beb7fa40c Fixes for dry run 2019-11-20 10:57:05 +00:00
Satbir Singh
2fa2ed72cc Widget loading state. 2019-11-20 08:10:01 +00:00
Hetu Nandu
750d69a6c6 Property validations 2019-11-14 09:28:51 +00:00
Satbir Singh
ff80a4b267 Action can be unset. Actions are validated before executing. 2019-11-14 07:42:24 +00:00
Hetu Nandu
8c8312928a Fix various api pane bugs 2019-11-13 07:34:59 +00:00
Hetu Nandu
c9914c4246 Api Dry Run 2019-11-12 09:43:13 +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
3881fe699c Feature/date picker 2019-11-12 07:57:12 +00:00
Nikhil Nandagopal
2cc0e13006 Merge branch 'release' of gitlab.com:theappsmith/internal-tools-client into release 2019-11-12 12:06:46 +05:30
Satbir Singh
93c1b790d0 Added functionality to execute actions on successful call or on error of an action. 2019-11-12 05:22:32 +00:00
Nikhil Nandagopal
1f40d135f3 Release 2019-11-11 11:42:52 +00:00
Nikhil Nandagopal
f0a57e8aab Master 2019-11-11 11:34:42 +00:00
Nikhil Nandagopal
be25ac3208 Merge branches 'master', 'release' and 'release' of gitlab.com:theappsmith/internal-tools-client into release 2019-11-11 17:01:25 +05:30
Hetu Nandu
f222c34b07 View Dynamic bindings 2019-11-08 11:02:00 +00:00
Hetu Nandu
dc18277abc Merge branch 'release' 2019-11-07 15:45:33 +05:30