2020-02-21 07:19:10 +00:00
|
|
|
import { ReduxActionTypes } from "constants/ReduxActionConstants";
|
|
|
|
|
|
|
|
|
|
export const setDefaultApplicationPageSuccess = (
|
|
|
|
|
pageId: string,
|
|
|
|
|
applicationId: string,
|
|
|
|
|
) => {
|
|
|
|
|
return {
|
|
|
|
|
type: ReduxActionTypes.SET_DEFAULT_APPLICATION_PAGE_SUCCESS,
|
|
|
|
|
payload: {
|
|
|
|
|
pageId,
|
|
|
|
|
applicationId,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
};
|
2020-03-06 04:59:24 +00:00
|
|
|
|
|
|
|
|
export const fetchApplications = () => {
|
|
|
|
|
return {
|
|
|
|
|
type: ReduxActionTypes.FETCH_APPLICATION_LIST_INIT,
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const fetchApplication = (applicationId: string) => {
|
|
|
|
|
return {
|
|
|
|
|
type: ReduxActionTypes.FETCH_APPLICATION_INIT,
|
|
|
|
|
payload: {
|
|
|
|
|
applicationId,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
};
|
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 08:52:45 +00:00
|
|
|
|
|
|
|
|
export const publishApplication = (applicationId: string) => {
|
|
|
|
|
return {
|
|
|
|
|
type: ReduxActionTypes.PUBLISH_APPLICATION_INIT,
|
|
|
|
|
payload: {
|
|
|
|
|
applicationId,
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
};
|