Skip to content

fix(web): clean angularjs office code #17738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
/packages/manager/apps/nasha @ovh/dev-manager-infra-all
/packages/manager/apps/netapp @ovh/dev-manager-infra-all
/packages/manager/apps/nutanix @ovh/dev-manager-hpc-all
/packages/manager/apps/office @ovh/dev-manager-web-all
/packages/manager/apps/overthebox @ovh/dev-manager-web-all
/packages/manager/apps/pci @ovh/dev-manager-pci-all
/packages/manager/apps/pci-* @ovh/dev-manager-pci-all
Expand Down Expand Up @@ -102,7 +101,6 @@
/packages/manager/modules/netapp @ovh/dev-manager-infra-all
/packages/manager/modules/new-billing @ovh/dev-manager-gcj-all
/packages/manager/modules/nutanix @ovh/dev-manager-hpc-all
/packages/manager/modules/office @ovh/dev-manager-web-all
/packages/manager/modules/overthebox @ovh/dev-manager-web-all
/packages/manager/modules/pci @ovh/dev-manager-pci-all
/packages/manager/modules/pci-universe-components @ovh/dev-manager-pci-all
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const webShopConfig = (
tracking: 'web::orders::email-microsoft-exchange::order',
}
: null,
features.office && ORDER_URLS[region].orderOffice
features['web-office'] && ORDER_URLS[region].orderOffice
? {
label: 'order_item_office',
icon: OFFICE365_SVG,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ export const webFeatures = [
'emails:delegate',
'emails',
'exchange:web-dashboard',
'office',
'office-reseller',
'sharepoint',
'web:microsoft',
'cloud-web',
'cloud-database',
Expand Down Expand Up @@ -261,7 +259,7 @@ export default function WebSidebar() {
label: t('sidebar_microsoft'),
icon: getIcon('ms-Icon ms-Icon--WindowsLogo'),
routeMatcher: new RegExp(
`^(/configuration)?/(exchange|office|sharepoint)`,
`^(/configuration)?/(exchange|web-office)`,
),
subItems: [
{
Expand All @@ -282,19 +280,6 @@ export default function WebSidebar() {
}));
},
},
features.office && {
id: 'office',
label: t('sidebar_license_office'),
icon: getIcon('ms-Icon ms-Icon--OfficeLogo'),
routeMatcher: new RegExp(`/office`),
async loader() {
const services = await loadServices('/license/office');
return services.map((service) => ({
icon: getIcon('ms-Icon ms-Icon--OfficeLogo'),
...service,
}));
},
},
features['web-office'] && {
id: 'web-office',
label: t('sidebar_license_office'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,27 +110,6 @@ webCloudUniverse.children = [
},
],
},
{
id: 'web-paas',
idAttr: 'web-paas-link',
universe: webCloudUniverse.id,
translation: 'sidebar_web_paas',
children: [
{
id: 'platform-sh',
idAttr: 'platform-sh-link',
universe: webCloudUniverse.id,
translation: 'sidebar_platform_sh',
serviceType: 'WEBPAAS_SUBSCRIPTION',
routing: {
application: 'web',
hash: '#/paas/webpaas/projects',
},
features: ['web-paas'],
},
],
features: ['web-paas'],
},
{
id: 'emails',
idAttr: 'emails-link',
Expand Down Expand Up @@ -192,20 +171,8 @@ webCloudUniverse.children = [
idAttr: 'microsoft-link',
universe: webCloudUniverse.id,
translation: 'sidebar_microsoft',
features: ['office', 'web-office', 'exchange'],
features: ['web-office', 'exchange'],
children: [
{
id: 'office',
idAttr: 'office-link',
universe: webCloudUniverse.id,
translation: 'sidebar_license_office',
serviceType: 'LICENSE_OFFICE',
routing: {
application: 'web',
hash: '#/office/license',
},
features: ['office'],
},
{
id: 'web-office',
idAttr: 'web-office-link',
Expand All @@ -230,18 +197,6 @@ webCloudUniverse.children = [
},
features: ['exchange'],
},
{
id: 'sharepoint',
idAttr: 'sharepoint-link',
universe: webCloudUniverse.id,
translation: 'sidebar_sharepoint',
serviceType: 'MSSERVICES_SHAREPOINT',
routing: {
application: 'web',
hash: '#/sharepoint',
},
features: ['sharepoint'],
},
],
},
];
Expand Down
7 changes: 0 additions & 7 deletions packages/manager/apps/office/.eslintrc.json

This file was deleted.

Loading
Loading