Skip to content

Commit

Permalink
!!! TASK: Removes Editors for plugins
Browse files Browse the repository at this point in the history
This change is breaking.

We are removing the following Editors and endpoints:
- MasterPluginEditor
- PluginViewEditor
- PluginViewsEditor
- Plugin view endpoints (in JavaScript - Fusion integration)

Resolves: #3534
  • Loading branch information
markusguenther authored and mhsdesign committed Feb 16, 2024
1 parent 7d350f8 commit 7d9bab8
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 429 deletions.
10 changes: 0 additions & 10 deletions Classes/Infrastructure/MVC/RoutesProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,6 @@ public function getRoutes(UriBuilder $uriBuilder): array
controllerName: 'Backend\\Content',
actionName: 'createImageVariant'
),
'loadMasterPlugins' =>
$helper->buildCoreRoute(
controllerName: 'Backend\\Content',
actionName: 'masterPlugins'
),
'loadPluginViews' =>
$helper->buildCoreRoute(
controllerName: 'Backend\\Content',
actionName: 'pluginViews'
),
'uploadAsset' =>
$helper->buildCoreRoute(
controllerName: 'Backend\\Content',
Expand Down
24 changes: 0 additions & 24 deletions packages/neos-ui-backend-connector/src/Endpoints/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export interface Routes {
content: {
imageWithMetadata: string;
createImageVariant: string;
loadMasterPlugins: string;
loadPluginViews: string;
uploadAsset: string;
};
service: {
Expand Down Expand Up @@ -206,26 +204,6 @@ export default (routes: Routes) => {
})).then(response => fetchWithErrorHandling.parseJson(response))
.catch(reason => fetchWithErrorHandling.generalErrorHandler(reason));

const loadMasterPlugins = (workspaceName: WorkspaceName, dimensions: DimensionCombination) => fetchWithErrorHandling.withCsrfToken(() => ({
url: urlWithParams(routes.core.content.loadMasterPlugins, {workspaceName, dimensions}),
method: 'GET',
credentials: 'include',
headers: {
'Content-Type': 'application/json'
}
})).then(response => fetchWithErrorHandling.parseJson(response))
.catch(reason => fetchWithErrorHandling.generalErrorHandler(reason));

const loadPluginViews = (identifier: string, workspaceName: WorkspaceName, dimensions: DimensionCombination) => fetchWithErrorHandling.withCsrfToken(() => ({
url: urlWithParams(routes.core.content.loadPluginViews, {identifier, workspaceName, dimensions}),
method: 'GET',
credentials: 'include',
headers: {
'Content-Type': 'application/json'
}
})).then(response => fetchWithErrorHandling.parseJson(response))
.catch(reason => fetchWithErrorHandling.generalErrorHandler(reason));

const contentDimensions = (dimensionName: DimensionName, chosenDimensionPresets: DimensionPresetCombination) => fetchWithErrorHandling.withCsrfToken(() => ({
url: urlWithParams(`${routes.core.service.contentDimensions}/${dimensionName}.json`, {chosenDimensionPresets}),
method: 'GET',
Expand Down Expand Up @@ -681,8 +659,6 @@ export default (routes: Routes) => {
cutNodes,
clearClipboard,
createImageVariant,
loadMasterPlugins,
loadPluginViews,
uploadAsset,
assetProxyImport,
assetProxySearch,
Expand Down
100 changes: 0 additions & 100 deletions packages/neos-ui-editors/src/Editors/MasterPlugin/index.js

This file was deleted.

117 changes: 0 additions & 117 deletions packages/neos-ui-editors/src/Editors/PluginView/index.js

This file was deleted.

Loading

0 comments on commit 7d9bab8

Please sign in to comment.