diff --git a/package.json b/package.json
index d13e007aeb..147bcc68e3 100644
--- a/package.json
+++ b/package.json
@@ -5,8 +5,8 @@
"config": {
"webservice_version": "1.15.0",
"use_circle": true,
- "circle_ci_source": "https://app.circleci.com/pipelines/github/dockstore/dockstore/10164/workflows/ea25cb1f-4d5f-4124-86d4-2305408a3784/jobs/35487/artifacts",
- "circle_build_id": "35487"
+ "circle_ci_source": "https://app.circleci.com/pipelines/github/dockstore/dockstore/10185/workflows/bb72bacc-56ac-4b5e-b4a2-dfe7c9ab35f6/jobs/35552/artifacts",
+ "circle_build_id": "35552"
},
"scripts": {
"ng": "npx ng",
diff --git a/src/app/container/info-tab/info-tab.component.html b/src/app/container/info-tab/info-tab.component.html
index 8e4356927a..5f05b83fcd 100644
--- a/src/app/container/info-tab/info-tab.component.html
+++ b/src/app/container/info-tab/info-tab.component.html
@@ -433,15 +433,15 @@
-
+
:
-
+
-
+
warning
No description associated with this tool. See
diff --git a/src/app/container/info-tab/info-tab.component.ts b/src/app/container/info-tab/info-tab.component.ts
index f27a839a14..0c0bb48992 100644
--- a/src/app/container/info-tab/info-tab.component.ts
+++ b/src/app/container/info-tab/info-tab.component.ts
@@ -22,7 +22,7 @@ import { Dockstore } from '../../shared/dockstore.model';
import { ExtendedToolsService } from '../../shared/extended-tools.service';
import { ExtendedDockstoreTool } from '../../shared/models/ExtendedDockstoreTool';
import { SessionQuery } from '../../shared/session/session.query';
-import { ToolDescriptor, ToolVersion, WorkflowVersion } from '../../shared/openapi';
+import { ContainertagsService, ToolDescriptor, ToolVersion, WorkflowVersion } from '../../shared/openapi';
import { DockstoreTool } from '../../shared/openapi/model/dockstoreTool';
import { Tag } from '../../shared/openapi/model/tag';
import { exampleDescriptorPatterns, validationDescriptorPatterns } from '../../shared/validationMessages.model';
@@ -42,10 +42,11 @@ export class InfoTabComponent extends Base implements OnInit, OnChanges {
@Input() selectedVersion: Tag;
@Input() privateOnlyRegistry: boolean;
@Input() extendedDockstoreTool: ExtendedDockstoreTool;
+ public description: string | null;
public validationPatterns = validationDescriptorPatterns;
public exampleDescriptorPatterns = exampleDescriptorPatterns;
public DockstoreToolType = DockstoreTool;
- public tool: DockstoreTool;
+ public tool: ExtendedDockstoreTool;
public topicEditing: boolean;
public TopicSelectionEnum = DockstoreTool.TopicSelectionEnum;
public authors: Array = [];
@@ -61,12 +62,18 @@ export class InfoTabComponent extends Base implements OnInit, OnChanges {
downloadZipLink: string;
isValidVersion = false;
Dockstore = Dockstore;
- constructor(private infoTabService: InfoTabService, private sessionQuery: SessionQuery, private containersService: ExtendedToolsService) {
+ constructor(
+ private infoTabService: InfoTabService,
+ private sessionQuery: SessionQuery,
+ private containersService: ExtendedToolsService,
+ private containerTagsService: ContainertagsService
+ ) {
super();
}
ngOnChanges() {
this.tool = JSON.parse(JSON.stringify(this.extendedDockstoreTool));
+ this.description = null;
if (this.selectedVersion && this.tool) {
this.authors = this.selectedVersion.authors;
this.currentVersion = this.selectedVersion;
@@ -88,6 +95,9 @@ export class InfoTabComponent extends Base implements OnInit, OnChanges {
this.currentVersion.wdl_path
);
}
+ this.containerTagsService
+ .getTagDescription(this.tool.id, this.selectedVersion.id)
+ .subscribe((description) => (this.description = description));
} else {
this.isValidVersion = false;
this.trsLinkCWL = null;
diff --git a/src/app/workflow/info-tab/info-tab.component.html b/src/app/workflow/info-tab/info-tab.component.html
index 7483b5d92a..8b6b93af89 100644
--- a/src/app/workflow/info-tab/info-tab.component.html
+++ b/src/app/workflow/info-tab/info-tab.component.html
@@ -497,15 +497,15 @@
{{ publicAccessibleTestParameterFile ? 'Yes' : 'No' }}
-
+
:
-
+
-
+
warning
No description associated with this {{ entryType$ | async }}.
diff --git a/src/app/workflow/info-tab/info-tab.component.ts b/src/app/workflow/info-tab/info-tab.component.ts
index c6562866dc..502756fe65 100644
--- a/src/app/workflow/info-tab/info-tab.component.ts
+++ b/src/app/workflow/info-tab/info-tab.component.ts
@@ -61,6 +61,7 @@ export class InfoTabComponent extends EntryTab implements OnInit, OnChanges {
public WorkflowType = Workflow;
public TopicSelectionEnum = Workflow.TopicSelectionEnum;
public tooltip = Tooltip;
+ public description: string | null;
workflowPathEditing: boolean;
temporaryDescriptorType: Workflow.DescriptorTypeEnum;
descriptorLanguages$: Observable>;
@@ -110,6 +111,7 @@ export class InfoTabComponent extends EntryTab implements OnInit, OnChanges {
}
this.workflow = this.deepCopy(this.extendedWorkflow);
this.temporaryDescriptorType = this.workflow.descriptorType;
+ this.description = null;
if (this.selectedVersion && this.workflow) {
this.currentVersion = this.selectedVersion;
this.publicAccessibleTestParameterFile = this.selectedVersion?.versionMetadata?.publicAccessibleTestParameterFile;
@@ -132,6 +134,9 @@ export class InfoTabComponent extends EntryTab implements OnInit, OnChanges {
this.workflowsService.getWorkflowVersionOrcidAuthors(this.workflow.id, this.selectedVersion.id).subscribe((orcidAuthors) => {
this.authors = [...this.selectedVersion.authors, ...orcidAuthors];
});
+ this.workflowsService
+ .getWorkflowVersionDescription(this.workflow.id, this.selectedVersion.id)
+ .subscribe((description) => (this.description = description));
} else {
this.currentVersion = null;
this.publicAccessibleTestParameterFile = null;
@@ -140,6 +145,7 @@ export class InfoTabComponent extends EntryTab implements OnInit, OnChanges {
this.isValidVersion = null;
this.downloadZipLink = null;
this.authors = null;
+ this.description = null;
}
}