2019-09-09 09:08:54 +00:00
|
|
|
import { combineReducers } from "redux";
|
|
|
|
|
import entityReducer from "./entityReducers";
|
|
|
|
|
import uiReducer from "./uiReducers";
|
2020-12-21 06:14:20 +00:00
|
|
|
import evaluationsReducer from "./evaluationReducers";
|
2019-10-21 15:12:45 +00:00
|
|
|
import { reducer as formReducer } from "redux-form";
|
2019-09-13 10:45:49 +00:00
|
|
|
import { CanvasWidgetsReduxState } from "./entityReducers/canvasWidgetsReducer";
|
2019-09-09 09:08:54 +00:00
|
|
|
import { EditorReduxState } from "./uiReducers/editorReducer";
|
2019-09-27 16:05:33 +00:00
|
|
|
import { ErrorReduxState } from "./uiReducers/errorReducer";
|
2019-09-13 11:59:45 +00:00
|
|
|
import { ActionDataState } from "./entityReducers/actionsReducer";
|
2019-09-18 10:19:50 +00:00
|
|
|
import { PropertyPaneReduxState } from "./uiReducers/propertyPaneReducer";
|
2019-09-25 17:24:23 +00:00
|
|
|
import { WidgetConfigReducerState } from "./entityReducers/widgetConfigReducer";
|
2019-10-18 08:16:26 +00:00
|
|
|
import { WidgetSidebarReduxState } from "./uiReducers/widgetSidebarReducer";
|
2019-11-07 09:32:38 +00:00
|
|
|
import { DatasourceDataState } from "./entityReducers/datasourceReducer";
|
2019-10-31 08:36:04 +00:00
|
|
|
import { AppViewReduxState } from "./uiReducers/appViewReducer";
|
2020-04-28 06:52:53 +00:00
|
|
|
import { DatasourcePaneReduxState } from "./uiReducers/datasourcePaneReducer";
|
2019-11-07 04:59:40 +00:00
|
|
|
import { ApplicationsReduxState } from "./uiReducers/applicationsReducer";
|
2019-11-22 14:02:55 +00:00
|
|
|
import { PageListReduxState } from "./entityReducers/pageListReducer";
|
2019-11-13 07:34:59 +00:00
|
|
|
import { ApiPaneReduxState } from "./uiReducers/apiPaneReducer";
|
2020-05-05 07:50:30 +00:00
|
|
|
import { QueryPaneReduxState } from "./uiReducers/queryPaneReducer";
|
2019-11-29 05:22:49 +00:00
|
|
|
import { PluginDataState } from "reducers/entityReducers/pluginsReducer";
|
2019-12-16 08:49:10 +00:00
|
|
|
import { AuthState } from "reducers/uiReducers/authReducer";
|
2019-12-23 12:16:33 +00:00
|
|
|
import { OrgReduxState } from "reducers/uiReducers/orgReducer";
|
|
|
|
|
import { UsersReduxState } from "reducers/uiReducers/usersReducer";
|
2020-09-16 11:50:47 +00:00
|
|
|
import { ThemeState } from "reducers/uiReducers/themeReducer";
|
2020-01-20 09:00:37 +00:00
|
|
|
import { WidgetDragResizeState } from "reducers/uiReducers/dragResizeReducer";
|
2020-04-14 12:34:14 +00:00
|
|
|
import { ImportedCollectionsReduxState } from "reducers/uiReducers/importedCollectionsReducer";
|
|
|
|
|
import { ProvidersReduxState } from "reducers/uiReducers/providerReducer";
|
2020-02-07 02:32:52 +00:00
|
|
|
import { MetaState } from "./entityReducers/metaReducer";
|
2020-04-14 12:34:14 +00:00
|
|
|
import { ImportReduxState } from "reducers/uiReducers/importReducer";
|
2020-05-28 18:10:26 +00:00
|
|
|
import { HelpReduxState } from "./uiReducers/helpReducer";
|
2020-06-18 07:46:53 +00:00
|
|
|
import { ApiNameReduxState } from "./uiReducers/apiNameReducer";
|
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
|
|
|
import { ExplorerReduxState } from "./uiReducers/explorerReducer";
|
2020-11-03 13:05:40 +00:00
|
|
|
import { PageCanvasStructureReduxState } from "./uiReducers/pageCanvasStructure";
|
2020-08-27 15:39:16 +00:00
|
|
|
import { ConfirmRunActionReduxState } from "./uiReducers/confirmRunActionReducer";
|
2020-09-01 10:31:39 +00:00
|
|
|
import { AppDataState } from "reducers/entityReducers/appReducer";
|
2020-08-26 05:24:44 +00:00
|
|
|
import { DatasourceNameReduxState } from "./uiReducers/datasourceNameReducer";
|
2020-12-21 06:14:20 +00:00
|
|
|
import { EvaluatedTreeState } from "./evaluationReducers/treeReducer";
|
|
|
|
|
import { EvaluationDependencyState } from "./evaluationReducers/dependencyReducer";
|
2020-11-03 13:05:40 +00:00
|
|
|
import { PageWidgetsReduxState } from "./uiReducers/pageWidgetsReducer";
|
2020-12-30 07:31:20 +00:00
|
|
|
import { OnboardingState } from "./uiReducers/onBoardingReducer";
|
2021-01-19 06:17:15 +00:00
|
|
|
import { ReleasesState } from "./uiReducers/releasesReducer";
|
2021-01-14 14:37:21 +00:00
|
|
|
import { LoadingEntitiesState } from "./evaluationReducers/loadingEntitiesReducer";
|
2019-02-10 13:06:05 +00:00
|
|
|
|
|
|
|
|
const appReducer = combineReducers({
|
|
|
|
|
entities: entityReducer,
|
2019-09-09 09:08:54 +00:00
|
|
|
ui: uiReducer,
|
2020-10-21 04:25:32 +00:00
|
|
|
evaluations: evaluationsReducer,
|
2019-10-21 15:12:45 +00:00
|
|
|
form: formReducer,
|
2019-09-09 09:08:54 +00:00
|
|
|
});
|
2019-02-10 13:06:05 +00:00
|
|
|
|
2019-09-09 09:08:54 +00:00
|
|
|
export default appReducer;
|
2019-02-10 13:06:05 +00:00
|
|
|
|
|
|
|
|
export interface AppState {
|
|
|
|
|
ui: {
|
2019-10-18 08:16:26 +00:00
|
|
|
widgetSidebar: WidgetSidebarReduxState;
|
2019-09-09 09:08:54 +00:00
|
|
|
editor: EditorReduxState;
|
2019-09-18 10:19:50 +00:00
|
|
|
propertyPane: PropertyPaneReduxState;
|
2019-09-27 16:05:33 +00:00
|
|
|
errors: ErrorReduxState;
|
2019-11-07 04:59:40 +00:00
|
|
|
appView: AppViewReduxState;
|
|
|
|
|
applications: ApplicationsReduxState;
|
2019-11-13 07:34:59 +00:00
|
|
|
apiPane: ApiPaneReduxState;
|
2019-12-16 08:49:10 +00:00
|
|
|
auth: AuthState;
|
2019-12-23 12:16:33 +00:00
|
|
|
orgs: OrgReduxState;
|
|
|
|
|
users: UsersReduxState;
|
2020-01-20 09:00:37 +00:00
|
|
|
widgetDragResize: WidgetDragResizeState;
|
2020-04-14 12:34:14 +00:00
|
|
|
importedCollections: ImportedCollectionsReduxState;
|
|
|
|
|
providers: ProvidersReduxState;
|
|
|
|
|
imports: ImportReduxState;
|
2020-05-05 07:50:30 +00:00
|
|
|
queryPane: QueryPaneReduxState;
|
2020-04-28 06:52:53 +00:00
|
|
|
datasourcePane: DatasourcePaneReduxState;
|
2020-05-28 18:10:26 +00:00
|
|
|
help: HelpReduxState;
|
2020-06-18 07:46:53 +00:00
|
|
|
apiName: ApiNameReduxState;
|
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
|
|
|
explorer: ExplorerReduxState;
|
2020-11-03 13:05:40 +00:00
|
|
|
pageCanvasStructure: PageCanvasStructureReduxState;
|
|
|
|
|
pageWidgets: PageWidgetsReduxState;
|
2020-08-27 15:39:16 +00:00
|
|
|
confirmRunAction: ConfirmRunActionReduxState;
|
2020-08-26 05:24:44 +00:00
|
|
|
datasourceName: DatasourceNameReduxState;
|
2020-09-16 11:50:47 +00:00
|
|
|
theme: ThemeState;
|
2020-12-30 07:31:20 +00:00
|
|
|
onBoarding: OnboardingState;
|
2021-01-19 06:17:15 +00:00
|
|
|
releases: ReleasesState;
|
2019-09-09 09:08:54 +00:00
|
|
|
};
|
2019-02-10 13:06:05 +00:00
|
|
|
entities: {
|
2019-09-09 09:08:54 +00:00
|
|
|
canvasWidgets: CanvasWidgetsReduxState;
|
2019-09-13 11:59:45 +00:00
|
|
|
actions: ActionDataState;
|
2019-09-25 17:24:23 +00:00
|
|
|
widgetConfig: WidgetConfigReducerState;
|
2019-11-07 09:32:38 +00:00
|
|
|
datasources: DatasourceDataState;
|
2019-11-22 14:02:55 +00:00
|
|
|
pageList: PageListReduxState;
|
2019-11-29 05:22:49 +00:00
|
|
|
plugins: PluginDataState;
|
2020-02-07 02:32:52 +00:00
|
|
|
meta: MetaState;
|
2020-08-14 07:43:01 +00:00
|
|
|
app: AppDataState;
|
2019-09-09 09:08:54 +00:00
|
|
|
};
|
2020-10-21 04:25:32 +00:00
|
|
|
evaluations: {
|
|
|
|
|
tree: EvaluatedTreeState;
|
|
|
|
|
dependencies: EvaluationDependencyState;
|
2021-01-14 14:37:21 +00:00
|
|
|
loadingEntities: LoadingEntitiesState;
|
2020-10-21 04:25:32 +00:00
|
|
|
};
|
2019-02-10 13:06:05 +00:00
|
|
|
}
|