Skip to content

Commit 7d9bab8

Browse files
markusguenthermhsdesign
authored andcommitted
!!! TASK: Removes Editors for plugins
This change is breaking. We are removing the following Editors and endpoints: - MasterPluginEditor - PluginViewEditor - PluginViewsEditor - Plugin view endpoints (in JavaScript - Fusion integration) Resolves: #3534
1 parent 7d350f8 commit 7d9bab8

File tree

9 files changed

+0
-429
lines changed

9 files changed

+0
-429
lines changed

Classes/Infrastructure/MVC/RoutesProvider.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,6 @@ public function getRoutes(UriBuilder $uriBuilder): array
6767
controllerName: 'Backend\\Content',
6868
actionName: 'createImageVariant'
6969
),
70-
'loadMasterPlugins' =>
71-
$helper->buildCoreRoute(
72-
controllerName: 'Backend\\Content',
73-
actionName: 'masterPlugins'
74-
),
75-
'loadPluginViews' =>
76-
$helper->buildCoreRoute(
77-
controllerName: 'Backend\\Content',
78-
actionName: 'pluginViews'
79-
),
8070
'uploadAsset' =>
8171
$helper->buildCoreRoute(
8272
controllerName: 'Backend\\Content',

packages/neos-ui-backend-connector/src/Endpoints/index.ts

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ export interface Routes {
2626
content: {
2727
imageWithMetadata: string;
2828
createImageVariant: string;
29-
loadMasterPlugins: string;
30-
loadPluginViews: string;
3129
uploadAsset: string;
3230
};
3331
service: {
@@ -206,26 +204,6 @@ export default (routes: Routes) => {
206204
})).then(response => fetchWithErrorHandling.parseJson(response))
207205
.catch(reason => fetchWithErrorHandling.generalErrorHandler(reason));
208206

209-
const loadMasterPlugins = (workspaceName: WorkspaceName, dimensions: DimensionCombination) => fetchWithErrorHandling.withCsrfToken(() => ({
210-
url: urlWithParams(routes.core.content.loadMasterPlugins, {workspaceName, dimensions}),
211-
method: 'GET',
212-
credentials: 'include',
213-
headers: {
214-
'Content-Type': 'application/json'
215-
}
216-
})).then(response => fetchWithErrorHandling.parseJson(response))
217-
.catch(reason => fetchWithErrorHandling.generalErrorHandler(reason));
218-
219-
const loadPluginViews = (identifier: string, workspaceName: WorkspaceName, dimensions: DimensionCombination) => fetchWithErrorHandling.withCsrfToken(() => ({
220-
url: urlWithParams(routes.core.content.loadPluginViews, {identifier, workspaceName, dimensions}),
221-
method: 'GET',
222-
credentials: 'include',
223-
headers: {
224-
'Content-Type': 'application/json'
225-
}
226-
})).then(response => fetchWithErrorHandling.parseJson(response))
227-
.catch(reason => fetchWithErrorHandling.generalErrorHandler(reason));
228-
229207
const contentDimensions = (dimensionName: DimensionName, chosenDimensionPresets: DimensionPresetCombination) => fetchWithErrorHandling.withCsrfToken(() => ({
230208
url: urlWithParams(`${routes.core.service.contentDimensions}/${dimensionName}.json`, {chosenDimensionPresets}),
231209
method: 'GET',
@@ -681,8 +659,6 @@ export default (routes: Routes) => {
681659
cutNodes,
682660
clearClipboard,
683661
createImageVariant,
684-
loadMasterPlugins,
685-
loadPluginViews,
686662
uploadAsset,
687663
assetProxyImport,
688664
assetProxySearch,

packages/neos-ui-editors/src/Editors/MasterPlugin/index.js

Lines changed: 0 additions & 100 deletions
This file was deleted.

packages/neos-ui-editors/src/Editors/PluginView/index.js

Lines changed: 0 additions & 117 deletions
This file was deleted.

0 commit comments

Comments
 (0)