2019-10-18 08:16:26 +00:00
|
|
|
import React, { Component } from "react";
|
2019-12-03 09:21:06 +00:00
|
|
|
import { Helmet } from "react-helmet";
|
2019-09-09 10:30:22 +00:00
|
|
|
import { connect } from "react-redux";
|
2020-11-04 11:40:59 +00:00
|
|
|
import { RouteComponentProps, withRouter } from "react-router-dom";
|
2020-12-18 13:18:47 +00:00
|
|
|
import { BuilderRouteParams } from "constants/routes";
|
2019-11-25 05:07:27 +00:00
|
|
|
import { AppState } from "reducers";
|
2019-10-29 12:02:58 +00:00
|
|
|
import MainContainer from "./MainContainer";
|
2020-04-16 11:56:36 +00:00
|
|
|
import { DndProvider } from "react-dnd";
|
2020-04-21 14:19:12 +00:00
|
|
|
import TouchBackend from "react-dnd-touch-backend";
|
2019-10-24 09:23:50 +00:00
|
|
|
import {
|
|
|
|
|
getCurrentApplicationId,
|
|
|
|
|
getCurrentPageId,
|
2020-01-24 09:54:40 +00:00
|
|
|
getIsEditorInitialized,
|
2020-11-04 11:40:59 +00:00
|
|
|
getIsEditorLoading,
|
2020-08-07 06:56:47 +00:00
|
|
|
getIsPublishingApplication,
|
2020-11-04 11:40:59 +00:00
|
|
|
getPublishingError,
|
2019-11-22 14:02:55 +00:00
|
|
|
} from "selectors/editorSelectors";
|
2020-12-18 13:18:47 +00:00
|
|
|
import { Hotkey, Hotkeys, Spinner } from "@blueprintjs/core";
|
2020-10-12 13:06:05 +00:00
|
|
|
import { HotkeysTarget } from "@blueprintjs/core/lib/esnext/components/hotkeys/hotkeysTarget.js";
|
2019-11-22 14:02:55 +00:00
|
|
|
import { initEditor } from "actions/initActions";
|
2020-04-16 11:56:36 +00:00
|
|
|
import { editorInitializer } from "utils/EditorUtils";
|
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 {
|
|
|
|
|
ENTITY_EXPLORER_SEARCH_ID,
|
2020-09-02 06:44:01 +00:00
|
|
|
WIDGETS_SEARCH_ID,
|
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
|
|
|
} from "constants/Explorer";
|
|
|
|
|
import CenteredWrapper from "components/designSystems/appsmith/CenteredWrapper";
|
2020-08-14 09:47:47 +00:00
|
|
|
import { getCurrentUser } from "selectors/usersSelectors";
|
|
|
|
|
import { User } from "constants/userConstants";
|
2020-08-27 15:39:16 +00:00
|
|
|
import ConfirmRunModal from "pages/Editor/ConfirmRunModal";
|
2020-08-28 17:23:07 +00:00
|
|
|
import * as Sentry from "@sentry/react";
|
2020-09-16 10:28:01 +00:00
|
|
|
import {
|
|
|
|
|
copyWidget,
|
|
|
|
|
cutWidget,
|
2020-11-04 11:40:59 +00:00
|
|
|
deleteSelectedWidget,
|
|
|
|
|
pasteWidget,
|
2020-09-16 10:28:01 +00:00
|
|
|
} from "actions/widgetActions";
|
|
|
|
|
import { isMac } from "utils/helpers";
|
2020-08-14 09:47:47 +00:00
|
|
|
|
2019-08-29 11:22:09 +00:00
|
|
|
type EditorProps = {
|
2019-10-24 09:23:50 +00:00
|
|
|
currentApplicationId?: string;
|
2019-11-22 14:02:55 +00:00
|
|
|
currentPageId?: string;
|
2020-10-12 13:06:05 +00:00
|
|
|
initEditor: (applicationId: string, pageId: string) => void;
|
2019-10-31 08:36:04 +00:00
|
|
|
isPublishing: boolean;
|
2019-11-22 14:02:55 +00:00
|
|
|
isEditorLoading: boolean;
|
2020-01-24 09:54:40 +00:00
|
|
|
isEditorInitialized: boolean;
|
2020-11-04 11:40:59 +00:00
|
|
|
isEditorInitializeError: boolean;
|
2019-10-31 08:36:04 +00:00
|
|
|
errorPublishing: boolean;
|
2020-09-16 10:28:01 +00:00
|
|
|
copySelectedWidget: () => void;
|
|
|
|
|
pasteCopiedWidget: () => void;
|
|
|
|
|
deleteSelectedWidget: () => void;
|
|
|
|
|
cutSelectedWidget: () => void;
|
2020-08-14 09:47:47 +00:00
|
|
|
user?: User;
|
2020-08-07 06:56:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
type Props = EditorProps & RouteComponentProps<BuilderRouteParams>;
|
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
|
|
|
@HotkeysTarget
|
2020-08-07 06:56:47 +00:00
|
|
|
class Editor extends Component<Props> {
|
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
|
|
|
public renderHotkeys() {
|
|
|
|
|
return (
|
|
|
|
|
<Hotkeys>
|
|
|
|
|
<Hotkey
|
|
|
|
|
global={true}
|
2020-10-19 11:26:39 +00:00
|
|
|
combo="mod + f"
|
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
|
|
|
label="Search entities"
|
|
|
|
|
onKeyDown={(e: any) => {
|
2020-09-02 06:44:01 +00:00
|
|
|
const entitySearchInput = document.getElementById(
|
|
|
|
|
ENTITY_EXPLORER_SEARCH_ID,
|
|
|
|
|
);
|
|
|
|
|
const widgetSearchInput = document.getElementById(
|
|
|
|
|
WIDGETS_SEARCH_ID,
|
|
|
|
|
);
|
|
|
|
|
if (entitySearchInput) entitySearchInput.focus();
|
|
|
|
|
if (widgetSearchInput) widgetSearchInput.focus();
|
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
|
|
|
e.preventDefault();
|
|
|
|
|
e.stopPropagation();
|
|
|
|
|
}}
|
|
|
|
|
/>
|
2020-09-16 10:28:01 +00:00
|
|
|
<Hotkey
|
|
|
|
|
global={true}
|
2020-10-19 11:26:39 +00:00
|
|
|
combo="mod + c"
|
2020-09-16 10:28:01 +00:00
|
|
|
label="Copy Widget"
|
|
|
|
|
group="Canvas"
|
2020-12-18 13:18:47 +00:00
|
|
|
onKeyDown={() => {
|
2020-09-16 10:28:01 +00:00
|
|
|
this.props.copySelectedWidget();
|
|
|
|
|
}}
|
|
|
|
|
preventDefault
|
|
|
|
|
stopPropagation
|
|
|
|
|
/>
|
|
|
|
|
<Hotkey
|
|
|
|
|
global={true}
|
2020-10-19 11:26:39 +00:00
|
|
|
combo="mod + v"
|
2020-09-16 10:28:01 +00:00
|
|
|
label="Paste Widget"
|
|
|
|
|
group="Canvas"
|
2020-12-18 13:18:47 +00:00
|
|
|
onKeyDown={() => {
|
2020-09-16 10:28:01 +00:00
|
|
|
this.props.pasteCopiedWidget();
|
|
|
|
|
}}
|
|
|
|
|
preventDefault
|
|
|
|
|
stopPropagation
|
|
|
|
|
/>
|
|
|
|
|
<Hotkey
|
|
|
|
|
global={true}
|
|
|
|
|
combo="del"
|
|
|
|
|
label="Delete Widget"
|
|
|
|
|
group="Canvas"
|
2020-12-18 13:18:47 +00:00
|
|
|
onKeyDown={() => {
|
2020-09-16 10:28:01 +00:00
|
|
|
if (!isMac()) this.props.deleteSelectedWidget();
|
|
|
|
|
}}
|
|
|
|
|
preventDefault
|
|
|
|
|
stopPropagation
|
|
|
|
|
/>
|
|
|
|
|
<Hotkey
|
|
|
|
|
global={true}
|
|
|
|
|
combo="backspace"
|
|
|
|
|
label="Delete Widget"
|
|
|
|
|
group="Canvas"
|
2020-12-18 13:18:47 +00:00
|
|
|
onKeyDown={() => {
|
2020-09-16 10:28:01 +00:00
|
|
|
if (isMac()) this.props.deleteSelectedWidget();
|
|
|
|
|
}}
|
|
|
|
|
preventDefault
|
|
|
|
|
stopPropagation
|
|
|
|
|
/>
|
|
|
|
|
<Hotkey
|
|
|
|
|
global={true}
|
|
|
|
|
combo="del"
|
|
|
|
|
label="Delete Widget"
|
|
|
|
|
group="Canvas"
|
2020-12-18 13:18:47 +00:00
|
|
|
onKeyDown={() => {
|
2020-09-16 10:28:01 +00:00
|
|
|
this.props.deleteSelectedWidget();
|
|
|
|
|
}}
|
|
|
|
|
preventDefault
|
|
|
|
|
stopPropagation
|
|
|
|
|
/>
|
|
|
|
|
<Hotkey
|
|
|
|
|
global={true}
|
2020-10-19 11:26:39 +00:00
|
|
|
combo="mod + x"
|
2020-09-16 10:28:01 +00:00
|
|
|
label="Cut Widget"
|
|
|
|
|
group="Canvas"
|
2020-12-18 13:18:47 +00:00
|
|
|
onKeyDown={() => {
|
2020-09-16 10:28:01 +00:00
|
|
|
this.props.cutSelectedWidget();
|
|
|
|
|
}}
|
|
|
|
|
preventDefault
|
|
|
|
|
stopPropagation
|
|
|
|
|
/>
|
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
|
|
|
</Hotkeys>
|
|
|
|
|
);
|
|
|
|
|
}
|
2019-10-31 08:36:04 +00:00
|
|
|
public state = {
|
2020-04-16 11:56:36 +00:00
|
|
|
registered: false,
|
2019-10-31 08:36:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
componentDidMount() {
|
2020-04-16 11:56:36 +00:00
|
|
|
editorInitializer().then(() => {
|
|
|
|
|
this.setState({ registered: true });
|
|
|
|
|
});
|
2020-03-24 14:05:19 +00:00
|
|
|
const { applicationId, pageId } = this.props.match.params;
|
|
|
|
|
if (applicationId && pageId) {
|
|
|
|
|
this.props.initEditor(applicationId, pageId);
|
2019-10-31 08:36:04 +00:00
|
|
|
}
|
|
|
|
|
}
|
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
|
|
|
|
2020-12-18 13:18:47 +00:00
|
|
|
shouldComponentUpdate(nextProps: Props, nextState: { registered: boolean }) {
|
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
|
|
|
return (
|
|
|
|
|
nextProps.currentPageId !== this.props.currentPageId ||
|
|
|
|
|
nextProps.currentApplicationId !== this.props.currentApplicationId ||
|
|
|
|
|
nextProps.isEditorInitialized !== this.props.isEditorInitialized ||
|
|
|
|
|
nextProps.isPublishing !== this.props.isPublishing ||
|
|
|
|
|
nextProps.isEditorLoading !== this.props.isEditorLoading ||
|
|
|
|
|
nextProps.errorPublishing !== this.props.errorPublishing ||
|
2020-11-04 11:40:59 +00:00
|
|
|
nextProps.isEditorInitializeError !==
|
|
|
|
|
this.props.isEditorInitializeError ||
|
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
|
|
|
nextState.registered !== this.state.registered
|
|
|
|
|
);
|
2019-11-22 14:02:55 +00:00
|
|
|
}
|
|
|
|
|
|
2019-08-29 11:22:09 +00:00
|
|
|
public render() {
|
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
|
|
|
if (!this.props.isEditorInitialized || !this.state.registered) {
|
|
|
|
|
return (
|
|
|
|
|
<CenteredWrapper style={{ height: "calc(100vh - 48px)" }}>
|
|
|
|
|
<Spinner />
|
|
|
|
|
</CenteredWrapper>
|
|
|
|
|
);
|
2019-11-22 14:02:55 +00:00
|
|
|
}
|
2019-02-07 05:07:09 +00:00
|
|
|
return (
|
2020-04-16 11:56:36 +00:00
|
|
|
<DndProvider
|
2020-04-21 14:19:12 +00:00
|
|
|
backend={TouchBackend}
|
|
|
|
|
options={{
|
|
|
|
|
enableMouseEvents: true,
|
|
|
|
|
}}
|
2020-04-16 11:56:36 +00:00
|
|
|
>
|
|
|
|
|
<div>
|
|
|
|
|
<Helmet>
|
|
|
|
|
<meta charSet="utf-8" />
|
|
|
|
|
<title>Editor | Appsmith</title>
|
|
|
|
|
</Helmet>
|
|
|
|
|
<MainContainer />
|
|
|
|
|
</div>
|
2020-08-27 15:39:16 +00:00
|
|
|
<ConfirmRunModal />
|
2020-04-16 11:56:36 +00:00
|
|
|
</DndProvider>
|
2019-09-09 10:30:22 +00:00
|
|
|
);
|
2019-02-07 05:07:09 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-24 09:23:50 +00:00
|
|
|
const mapStateToProps = (state: AppState) => ({
|
|
|
|
|
currentApplicationId: getCurrentApplicationId(state),
|
|
|
|
|
currentPageId: getCurrentPageId(state),
|
2020-08-07 06:56:47 +00:00
|
|
|
errorPublishing: getPublishingError(state),
|
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
|
|
|
isPublishing: getIsPublishingApplication(state),
|
2019-11-22 14:02:55 +00:00
|
|
|
isEditorLoading: getIsEditorLoading(state),
|
2020-01-24 09:54:40 +00:00
|
|
|
isEditorInitialized: getIsEditorInitialized(state),
|
2020-08-14 09:47:47 +00:00
|
|
|
user: getCurrentUser(state),
|
2019-10-18 08:16:26 +00:00
|
|
|
});
|
2019-08-26 12:41:21 +00:00
|
|
|
|
2019-10-24 09:23:50 +00:00
|
|
|
const mapDispatchToProps = (dispatch: any) => {
|
|
|
|
|
return {
|
2020-03-24 14:05:19 +00:00
|
|
|
initEditor: (applicationId: string, pageId: string) =>
|
|
|
|
|
dispatch(initEditor(applicationId, pageId)),
|
2020-09-16 10:28:01 +00:00
|
|
|
copySelectedWidget: () => dispatch(copyWidget(true)),
|
|
|
|
|
pasteCopiedWidget: () => dispatch(pasteWidget()),
|
|
|
|
|
deleteSelectedWidget: () => dispatch(deleteSelectedWidget(true)),
|
|
|
|
|
cutSelectedWidget: () => dispatch(cutWidget()),
|
2019-10-24 09:23:50 +00:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2020-08-28 17:23:07 +00:00
|
|
|
export default withRouter(
|
|
|
|
|
connect(mapStateToProps, mapDispatchToProps)(Sentry.withProfiler(Editor)),
|
|
|
|
|
);
|