From 8edf6f6c1ce26923439f3474f54904d05d076714 Mon Sep 17 00:00:00 2001 From: Rupinder Date: Thu, 14 May 2020 18:13:14 +0530 Subject: Designer > Breadcrumb 1. Change Package name to current package name 2. Make package name link open to package view Issue-ID: CCSDK-2247 Change-Id: Ica060beff9a0785d80c69cf971623dd45ebe75fe Signed-off-by: Rupinder --- .../configuration-dashboard.component.html | 6 ++--- .../configuration-dashboard.component.ts | 6 ++--- .../packages/designer/designer.component.html | 4 ++-- .../packages/designer/designer.component.ts | 18 ++++++++++++++- .../packages/designer/designer.service.ts | 16 +++++++++++-- .../source-view/source-view.component.html | 4 ++-- .../designer/source-view/source-view.component.ts | 21 +++++++++++++---- .../designer/source-view/source-view.service.ts | 26 ++++++++++++++++++++++ .../packages/packages.routing.module.ts | 6 ++--- 9 files changed, 87 insertions(+), 20 deletions(-) create mode 100644 cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/source-view/source-view.service.ts (limited to 'cds-ui') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html index 9e1c9b709..4042c8881 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.html @@ -8,7 +8,7 @@
@@ -217,7 +217,7 @@
- +
@@ -387,7 +387,7 @@

0 selected

-
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts index 6de76f949..0578b10f8 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts @@ -206,7 +206,7 @@ export class ConfigurationDashboardComponent implements OnInit { this.router.navigate(['/packages']); } - goToDesignerMode() { - this.router.navigate(['/packages/designer']); - } + goToDesignerMode(id) { + this.router.navigate(['/packages/designer', id]); + } } diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html index 6e072b18d..3e3528c00 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.html @@ -10,7 +10,7 @@