Commit Graph

37 Commits

Author SHA1 Message Date
Piyush
c38e58b3bc
Fix race between action reducer and handleQueryCreatedSaga (#3236) 2021-02-26 12:28:03 +05:30
akash-codemonk
05b2cd6d29
Fix renaming action goes to the action page (#3201) 2021-02-26 11:15:27 +05:30
akash-codemonk
7daeadd447
Fix current page not changing while switching to an action of another page (#3214) 2021-02-26 10:34:14 +05:30
Piyush
faea2f36ff
Add support for setting.json for pluginType DB (#3156) 2021-02-23 13:57:37 +05:30
Piyush Mishra
148497a1bc
Refactor datasources and actions for stronger type checking (#2167) 2021-01-12 09:47:28 +05:30
Piyush Mishra
7826cee7c3
Null check on actionObj before using it (#2190) 2020-12-14 21:52:45 +05:30
akash-codemonk
294348e1f9
Query pane plugin form should be initializable (#1802) 2020-11-23 11:58:15 +05:30
akash-codemonk
aefafd33dc
Fix switching datasource in the query pane (#1636) 2020-11-11 17:59:26 +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
akash-codemonk
9553fe9b19
Merge datasources and actions in explorer (#1285) 2020-10-29 19:23:10 +05:30
akash-codemonk
a8b40dcd53
Do not show template view if there no templates. (#1330) 2020-10-27 12:03:45 +05:30
akash-codemonk
8b668484ad
Feat/database structure (#525)
Datasource structure ui
2020-09-21 14:41:42 +05:30
Hetu Nandu
9a1658e2c1
Fixes for autocomplete (#351)
* Fix tern guessing for completions

* Probable fix for create api button not working

* Close autocomplete when "Backspace" or "Comma" is pressed

* Only show extra docs when ctrl+space is pressed when hint is selected

* Fix issue with action form state params not disabling after taking an action
2020-08-19 14:51:32 +05:30
Hetu Nandu
c4ac4668c2
Launch polish bug fixes (#337)
* Make sure default page is first in view mode

* Update query form on name change

* Add copy support for deploy link

* Show server error when timeout occurs on first load
2020-08-18 14:18:06 +05:30
Hetu Nandu
1b09c02f2e
Fork app for example apps (#292) 2020-08-13 15:03:44 +05:30
akash-codemonk
a0351bfe81
Get query ui from form config (#205)
* Get query ui from form config

* Update editor config selector

* Show error message when config is undefined

* Move FormLabel to components

* Show dark theme in query editor

* Allow query name to be focused
2020-08-12 11:57:35 +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
akash-codemonk
30b8d3581b
Query pane refactor and fixes (#87)
* Query pane refactor and fixes

* Check if body exists

* Get pluginId from the datasource

* Move plugin image logic to selector

* Show info in new line on the datasource form page

* Update link text to Docs

* Handle string as run api response body

* Remove harcoded height

* Remove all references to ImageAlt except in selector

* Updata info text
2020-07-21 16:06:53 +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
bbbdbd50b5
Name of a newly created api and query is focused on mount. (#21)
* New api and query has name in edit mode

* Curl import new api.

* Changing createApi command for new ui.

* Edit Api name is not visible in UI.

* Removed edit api name click.

Co-authored-by: Satbir Singh <satbir@appsmith.com>
Co-authored-by: Arpit Mohan <me@arpitmohan.com>
Co-authored-by: Satbir Singh <apple@apples-MacBook-Pro.local>
2020-07-06 11:08:39 +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
akash-codemonk
224d0ee49c
Bug fixes (#3)
- Wrap evaluated value to oveflow vertically instead of horizontally
- Stop showing arrows for the port field in datasources
- Show create query option when there are no datasources
- Stop showing loader for query creation error
- Throw error where there is no body in query response
2020-07-01 12:51:02 +05:30
Hetu Nandu
46f0873efe update paths 2020-06-30 15:19:30 +05:30
Satbir Singh
d640c03386 Query editor auto save. 2020-06-29 08:23:10 +00:00
Hetu Nandu
fb65b204a8 JSON stringify fixes 2020-06-25 10:04:57 +00:00
Akash N
598ef55aff Fixes
- Show loader in api home screen when creating a new api action
- Show column lines for table in query pane
2020-06-20 05:29:30 +00:00
Hetu Nandu
ded1a130e3 Action draft fixes 2020-06-18 14:16:49 +00:00
Akash N
69a65f7052 Use isExecutionSuccess flag to handle query execution errors 2020-06-10 12:25:52 +00:00
Hetu Nandu
e2eb590a86 Query pane evaluated value 2020-06-10 07:49:27 +00:00
Hetu Nandu
d9540f8927 Evaluated value popup 2020-06-04 13:49:22 +00:00
Akash N
6bd79982fb Query pane fixes
- Show mongo execute response in seperate cards for each record
- Update postgres read template
- Show query execute error message in the UI.
2020-05-14 18:03:44 +05:30
Akash N
c8ad80d414 Delete datasource after the query pane test is complete. 2020-05-12 08:10:38 +00:00
Hetu Nandu
c2f730edb1 feat: dynamic post body in api form
- add info icon
- display helper text and placeholders dynamically
2020-05-11 09:03:46 +00:00
Hetu Nandu
8572d02b91 Api timeout changes 2020-05-07 08:07:29 +00:00
Akash N
c94a624253 Query pane fixes
- Remove search bar
- Show server error message
2020-05-07 10:40:14 +05:30
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