Skip to content

Commit 2de7ef3

Browse files
frano-mNoopDog
authored andcommitted
Clarify the meanings of 'Supplementary Links' vs 'External Resources'. Resolves #1124. (#1128)
1 parent fa285f7 commit 2de7ef3

33 files changed

+317
-183
lines changed

spa/src/app/files/files.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ import { HCATablePaginationComponent } from "./hca-table-pagination/hca-table-pa
7373
import { HCATableProjectsComponent } from "./hca-table-projects/hca-table-projects.component";
7474
import { HCATableSamplesComponent } from "./hca-table-samples/hca-table-samples.component";
7575
import { HCATableSortComponent } from "./hca-table-sort/hca-table-sort.component";
76-
import { HCATooltipComponent } from "./hca-tooltip/hca-tooltip.component";
7776
import { ModalModule } from "../modal/modal.module";
78-
import { ProjectService } from "./project/project.service";
77+
import { ProjectAnalysisPortalsComponent } from "./project-analysis-portals/project-analysis-portals.component";
7978
import { ProjectDataCitationComponent } from "./project-data-citation/project-data-citation.component";
8079
import { ProjectDeprecatedComponent } from "./project-deprecated/project-deprecated.component";
8180
import { ProjectDetailComponent } from "./project-detail/project-detail.component";
@@ -97,6 +96,7 @@ import { ProjectNavComponent } from "./project-nav/project-nav.component";
9796
import { ProjectOverviewComponent } from "./project-overview/project-overview.component";
9897
import { ProjectOverviewDataSummaryComponent } from "./project-overview-data-summary/project-overview-data-summary.component";
9998
import { ProjectReleaseComponent } from "./project-release/project-release.component";
99+
import { ProjectService } from "./project/project.service";
100100
import { ProjectSummaryStatsComponent } from "./project-summary-stats-component/project-summary-stats.component";
101101
import { ProjectViewFactory } from "./project-view/project-view.factory";
102102
import { ReleaseComponent } from "./releases/release.component";
@@ -186,11 +186,11 @@ import { ReleaseService } from "./shared/release.service";
186186
HCATableProjectsComponent,
187187
HCATableSamplesComponent,
188188
HCATableSortComponent,
189-
HCATooltipComponent,
190189
LeftBarComponent,
191190
MatrixPartialQueryMatchWarningComponent,
192191
MatrixUrlRequestCompletedComponent,
193192
MatrixUrlRequestFormComponent,
193+
ProjectAnalysisPortalsComponent,
194194
ProjectDataCitationComponent,
195195
ProjectDeprecatedComponent,
196196
ProjectDetailComponent,

spa/src/app/files/files.routes.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import { ProjectMetadataComponent } from "./project-metadata/project-metadata.co
2121
import { ProjectOverviewComponent } from "./project-overview/project-overview.component";
2222
import { ProjectReleaseComponent } from "./project-release/project-release.component";
2323
import { ProjectSummaryStatsComponent } from "./project-summary-stats-component/project-summary-stats.component";
24-
import { ProjectSupplementaryLinksComponent } from "./project-supplementary-links/project-supplementary-links.component";
2524
import { ReleaseComponent } from "./releases/release.component";
2625
import { ReleaseFilesModalContainerComponent } from "./releases/release-files-modal-container/release-files-modal-container.component";
2726

@@ -62,10 +61,6 @@ export const routes: Route[] = [
6261
path: "expression-matrices",
6362
component: ProjectExpressionMatricesComponent
6463
},
65-
{
66-
path: "supplementary-links",
67-
component: ProjectSupplementaryLinksComponent
68-
},
6964
{
7065
path: "external-resources",
7166
component: ProjectExternalResourcesComponent

spa/src/app/files/hca-content-ellipsis/hca-content-ellipsis.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import { Component, ElementRef, Input, ViewChild } from "@angular/core";
1010

1111
// App dependencies
12-
import { HCATooltipComponent } from "../hca-tooltip/hca-tooltip.component";
12+
import { HCATooltipComponent } from "../../shared/hca-tooltip/hca-tooltip.component";
1313
import { HCAEllipsisTextComponent } from "./hca-ellipsis-text.component";
1414

1515
@Component({

spa/src/app/files/hca-get-data/hca-get-data-file-summary/hca-get-data-file-summary.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import { By, HAMMER_LOADER } from "@angular/platform-browser";
1414
import { CcPipeModule } from "../../../cc-pipe/cc-pipe.module";
1515
import { CountSizePipe } from "../../../cc-pipe/count-size/count-size.pipe";
1616
import { FileSizePipe } from "../../../cc-pipe/file-size/file-size.pipe";
17-
import { HCATooltipComponent } from "../../hca-tooltip/hca-tooltip.component";
1817
import { DEFAULT_FILE_SUMMARY } from "../../shared/file-summary.mock";
18+
import { HCATooltipComponent } from "../../../shared/hca-tooltip/hca-tooltip.component";
1919
import { DownloadViewState } from "../download-view-state.model";
2020
import { HCAGetDataFileSummaryComponent } from "./hca-get-data-file-summary.component";
2121
import { Term } from "../../shared/term.model";

spa/src/app/files/hca-get-data/hca-get-data-summary/hca-get-data-summary.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import { of } from "rxjs";
1414

1515
// App dependencies
1616
import { CcPipeModule } from "../../../cc-pipe/cc-pipe.module";
17+
import { HCATooltipComponent } from "../../../shared/hca-tooltip/hca-tooltip.component";
1718
import { HCAFileFilterResultComponent } from "../../hca-file-filter-result/hca-file-filter-result.component";
1819
import { HCAGetDataFileSummaryComponent } from "../hca-get-data-file-summary/hca-get-data-file-summary.component";
19-
import { HCATooltipComponent } from "../../hca-tooltip/hca-tooltip.component";
2020
import { SearchFileFacetTerm } from "../../search/search-file-facet-term.model";
2121
import { FileFacetDisplayService } from "../../shared/file-facet-display.service";
2222
import { DEFAULT_FILE_SUMMARY } from "../../shared/file-summary.mock";

spa/src/app/files/hca-table-files/hca-table-files.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import { of } from "rxjs";
2424
import { CcPipeModule } from "../../cc-pipe/cc-pipe.module";
2525
import { ConfigService } from "../../config/config.service";
2626
import { ResponsiveService } from "../../shared/responsive/responsive.service";
27+
import { HCATooltipComponent } from "../../shared/hca-tooltip/hca-tooltip.component";
2728
import { AnalysisProtocolPipelineLinkerComponent } from "../analysis-protocol-pipeline-linker/analysis-protocol-pipeline-linker.component";
2829
import { HCAContentEllipsisComponent } from "../hca-content-ellipsis/hca-content-ellipsis.component";
2930
import { HCAEllipsisTextComponent } from "../hca-content-ellipsis/hca-ellipsis-text.component";
@@ -37,7 +38,6 @@ import { HCATableColumnHeaderTitleComponent } from "../hca-table-column-header-t
3738
import { HCATableDataStatusPlaceholderComponent } from "../hca-table-data-status-placeholder/hca-table-data-status-placeholder.component";
3839
import { HCATablePaginationComponent } from "../hca-table-pagination/hca-table-pagination.component";
3940
import { HCATableSortComponent } from "../hca-table-sort/hca-table-sort.component";
40-
import { HCATooltipComponent } from "../hca-tooltip/hca-tooltip.component";
4141
import { DEFAULT_FILE_SUMMARY } from "../shared/file-summary.mock";
4242
import { DownloadService } from "../shared/download.service";
4343
import { DownloadButtonComponent } from "../../shared/download-button/download-button.component";

spa/src/app/files/hca-table-projects/hca-table-projects.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { CopyToClipboardComponent } from "../../shared/copy-to-clipboard/copy-to
2828
import { DownloadButtonComponent } from "../../shared/download-button/download-button.component";
2929
import { FileDownloadComponent } from "../../shared/file-download/file-download.component";
3030
import { ResponsiveService } from "../../shared/responsive/responsive.service";
31+
import { HCATooltipComponent } from "../../shared/hca-tooltip/hca-tooltip.component";
3132
import { SelectProjectIdAction } from "../_ngrx/search/select-project-id.action";
3233
import { AnalysisProtocolPipelineLinkerComponent } from "../analysis-protocol-pipeline-linker/analysis-protocol-pipeline-linker.component";
3334
import { DataDownloadCitationComponent } from "../data-download-citation/data-download-citation.component";
@@ -42,7 +43,6 @@ import { HCATableColumnHeaderTitleComponent } from "../hca-table-column-header-t
4243
import { HCATableDataStatusPlaceholderComponent } from "../hca-table-data-status-placeholder/hca-table-data-status-placeholder.component";
4344
import { HCATablePaginationComponent } from "../hca-table-pagination/hca-table-pagination.component";
4445
import { HCATableSortComponent } from "../hca-table-sort/hca-table-sort.component";
45-
import { HCATooltipComponent } from "../hca-tooltip/hca-tooltip.component";
4646
import { LeftBarComponent } from "../left-bar/left-bar.component";
4747
import { ProjectDownloadMatrixComponent } from "../project-download-matrix/project-download-matrix.component";
4848
import { ProjectTSVUrlRequestStatus } from "../project/project-tsv-url-request-status.model";

spa/src/app/files/hca-table-samples/hca-table-samples.component.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,22 @@ import { of } from "rxjs";
2323
// App components
2424
import { CcPipeModule } from "../../cc-pipe/cc-pipe.module";
2525
import { ConfigService } from "../../config/config.service";
26+
import { CopyToClipboardComponent } from "../../shared/copy-to-clipboard/copy-to-clipboard.component";
27+
import { DownloadButtonComponent } from "../../shared/download-button/download-button.component";
28+
import { HCATooltipComponent } from "../../shared/hca-tooltip/hca-tooltip.component";
29+
import { ResponsiveService } from "../../shared/responsive/responsive.service";
2630
import { AnalysisProtocolPipelineLinkerComponent } from "../analysis-protocol-pipeline-linker/analysis-protocol-pipeline-linker.component";
2731
import { HCAContentEllipsisComponent } from "../hca-content-ellipsis/hca-content-ellipsis.component";
2832
import { HCAEllipsisTextComponent } from "../hca-content-ellipsis/hca-ellipsis-text.component";
2933
import { HCAContentUnspecifiedDashComponent } from "../hca-content-unspecified-bar/hca-content-unspecified-dash.component";
3034
import { HCATableCellComponent } from "../hca-table-cell/hca-table-cell.component";
3135
import { HCATableColumnHeaderComponent } from "../hca-table-column-header/hca-table-column-header.component";
32-
import { CopyToClipboardComponent } from "../../shared/copy-to-clipboard/copy-to-clipboard.component";
3336
import { HCATableColumnHeaderTitleComponent } from "../hca-table-column-header-title/hca-table-column-header-title.component";
3437
import { HCATableDataStatusPlaceholderComponent } from "../hca-table-data-status-placeholder/hca-table-data-status-placeholder.component";
3538
import { HCATablePaginationComponent } from "../hca-table-pagination/hca-table-pagination.component";
3639
import { HCATableSortComponent } from "../hca-table-sort/hca-table-sort.component";
3740
import { HCATableColumnHeaderCountComponent } from "../hca-table-column-header-count/hca-table-column-header-count.component";
38-
import { HCATooltipComponent } from "../hca-tooltip/hca-tooltip.component";
39-
import { DownloadButtonComponent } from "../../shared/download-button/download-button.component";
4041
import { DEFAULT_FILE_SUMMARY } from "../shared/file-summary.mock";
41-
import { ResponsiveService } from "../../shared/responsive/responsive.service";
4242
import { TableScroll } from "../table-scroll/table-scroll.component";
4343
import { TableRendererService } from "../table/table-renderer.service";
4444
import { SAMPLES_TABLE_MODEL } from "./table-state-table-model-samples.mock";
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<ng-container *ngIf="state$ | async as state">
2+
<ng-container *ngIf="state.loaded">
3+
<h4 class="fontsize-m semi-bold">Analysis Portals</h4>
4+
<p class="fontsize-xs">Analysis Portals are external resources providing further analysis, such as
5+
visualizations.</p>
6+
<ng-container [ngSwitch]="state.integratedWithTertiaryPortals">
7+
<ng-container *ngSwitchCase="true">
8+
<project-integrations [integrations]="state.integrations"></project-integrations>
9+
</ng-container>
10+
<no-hits *ngSwitchDefault><p class="fontsize-xs">There are no Analysis Portals associated with this project.</p></no-hits>
11+
</ng-container>
12+
</ng-container>
13+
</ng-container>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/*
2+
* Human Cell Atlas
3+
* https://www.humancellatlas.org/
4+
*
5+
* Styles for project analysis portals component.
6+
*/
7+
8+
no-hits p {
9+
margin-bottom: 0;
10+
}

0 commit comments

Comments
 (0)