Skip to content

Commit 18800ba

Browse files
committed
[Studio] cleanups
1 parent e864be2 commit 18800ba

File tree

11 files changed

+2
-1218
lines changed

11 files changed

+2
-1218
lines changed

src/CoreShop/Bundle/CoreBundle/Menu/MainMenuBuilder.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ public function buildMenu(ItemInterface $menuItem, FactoryInterface $factory, st
215215
->setAttribute('resource', 'coreshop.order')
216216
->setAttribute('function', 'create_order')
217217
->setAttribute('widgetButton', 'coreshopCreateOrder')
218-
->setAttribute('widgetId', 'coreshop-order-creation')
219218
->setExtra('order', 20)
220219
;
221220

@@ -370,7 +369,6 @@ public function buildMenu(ItemInterface $menuItem, FactoryInterface $factory, st
370369
->setAttribute('resource', 'coreshop.core')
371370
->setAttribute('function', 'customer_to_company_assign_to_new')
372371
->setAttribute('widgetButton', 'coreshopAssignCustomerToNewCompany')
373-
->setAttribute('widgetId', 'coreshop-customer-to-company-assign-to-new')
374372
->setExtra('order', 30)
375373
;
376374

@@ -382,7 +380,6 @@ public function buildMenu(ItemInterface $menuItem, FactoryInterface $factory, st
382380
->setAttribute('resource', 'coreshop.core')
383381
->setAttribute('function', 'customer_to_company_assign_to_existing')
384382
->setAttribute('widgetButton', 'coreshopAssignCustomerToExistingCompany')
385-
->setAttribute('widgetId', 'coreshop-customer-to-company-assign-to-existing')
386383
->setExtra('order', 40)
387384
;
388385

src/CoreShop/Bundle/CoreBundle/Resources/assets/pimcore-studio/src/main.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ import { PimcoreRelationWidgetModule } from './modules/pimcore-relation-widget'
2929
import { CustomerAddressSelectWidget } from './modules/extension/order-creation/widgets/CustomerAddressSelectWidget'
3030
import { AssignToNewCompanyButton } from './components/AssignToNewCompanyButton'
3131
import { AssignToExistingCompanyButton } from './components/AssignToExistingCompanyButton'
32-
import { AssignToNewCompanyLauncher } from './modules/customer-company-assignment/AssignToNewCompanyLauncher'
33-
import { AssignToExistingCompanyLauncher } from './modules/customer-company-assignment/AssignToExistingCompanyLauncher'
3432
import {
3533
AssignToNewCompanyPanel,
3634
AssignToExistingCompanyPanel,
@@ -69,16 +67,6 @@ const plugin: IAbstractPlugin = {
6967
onStartup({ moduleSystem }) {
7068
const widgets = container.get<WidgetRegistry>(serviceIds.widgetManager)
7169

72-
// Transient launcher widgets (open Element Selector, close themselves)
73-
widgets.registerWidget({
74-
name: 'coreshop-customer-to-company-assign-to-new',
75-
component: AssignToNewCompanyLauncher,
76-
})
77-
widgets.registerWidget({
78-
name: 'coreshop-customer-to-company-assign-to-existing',
79-
component: AssignToExistingCompanyLauncher,
80-
})
81-
8270
// Persistent detail widgets (one per customer/company selection)
8371
widgets.registerWidget({
8472
name: 'coreshop-customer-to-company-assign-to-new-detail',

src/CoreShop/Bundle/CoreBundle/Resources/assets/pimcore-studio/src/modules/customer-company-assignment/AssignToExistingCompanyLauncher.tsx

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

0 commit comments

Comments
 (0)