Skip to content

Commit

Permalink
Remove angular splitCopy route and component as it was overwritten by…
Browse files Browse the repository at this point in the history
… the angular fullCopy route for quite some time already and nobody complained. So we decided to remove the splitCopy completely
  • Loading branch information
HDinger committed Oct 15, 2024
1 parent 57f8524 commit 251eb77
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 61 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ import {
import {
RevisionActivityComponent,
} from 'core-app/features/work-packages/components/wp-activity/revision/revision-activity.component';
import {
WorkPackageCopySplitViewComponent,
} from 'core-app/features/work-packages/components/wp-copy/wp-copy-split-view.component';
import {
WorkPackageFormAttributeGroupComponent,
} from 'core-app/features/work-packages/components/wp-form-group/wp-attribute-group.component';
Expand Down Expand Up @@ -506,7 +503,6 @@ import { WorkPackageFullCopyEntryComponent } from 'core-app/features/work-packag

// WP Copy
WorkPackageCopyFullViewComponent,
WorkPackageCopySplitViewComponent,

// Embedded table
WorkPackageEmbeddedTableComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import { WorkPackageNewSplitViewComponent } from 'core-app/features/work-package
import { Ng2StateDeclaration } from '@uirouter/angular';
import { ComponentType } from '@angular/cdk/overlay';
import { WpTabWrapperComponent } from 'core-app/features/work-packages/components/wp-tabs/components/wp-tab-wrapper/wp-tab-wrapper.component';
import { WorkPackageCopySplitViewComponent } from 'core-app/features/work-packages/components/wp-copy/wp-copy-split-view.component';

/**
* Return a set of routes for a split view mounted under the given base route,
Expand Down Expand Up @@ -125,23 +124,5 @@ export function makeSplitViewRoutes(baseRoute:string,
'content-right@^.^': { component: newComponent },
},
},
// Split copy route
{
name: `${routeName}.copy`,
url: '/details/{copiedFromWorkPackageId:[0-9]+}/copy',
views: {
'content-right@^.^': { component: WorkPackageCopySplitViewComponent },
},
reloadOnSearch: false,
data: {
baseRoute,
parent: baseRoute,
allowMovingInEditMode: true,
bodyClasses: 'router--work-packages-partitioned-split-view',
menuItem: menuItemClass,
partition: '-split',
mobileAlternative: showMobileAlternative ? 'work-packages.show' : undefined,
},
},
];
}

0 comments on commit 251eb77

Please sign in to comment.