Skip to content

Commit 59636dd

Browse files
DS-6335 (#2368)
Identifying GCOV (Geocoded Polarimetric Covariance) as the recommended product in the NISAR Science Filters
1 parent 99b48ee commit 59636dd

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

src/app/components/shared/selectors/product-science-selector/product-science-selector.component.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@
1818
>
1919
@for (sciProd of group.sciProd; track sciProd) {
2020
<mat-option [value]="sciProd.value">{{
21-
sciProd.viewValue
22-
}}</mat-option>
21+
sciProd.viewValue
22+
}}
23+
</mat-option>
2324
}
2425
</mat-optgroup>
2526
}
2627
}
28+
<span class="sci-prod-recommended">*{{ 'RECOMMENDED_PRODUCT' | translate }}</span>
2729
</div>
2830

2931
<div class="sci-prod-filter-flex-item">

src/app/components/shared/selectors/product-science-selector/product-science-selector.component.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,10 @@ div.cdk-overlay-pane:has(>.sci-prod-select) {
2929
.sci-prod-optgroup {
3030
font-weight: bold;
3131
}
32+
33+
.sci-prod-recommended {
34+
font-style: italic;
35+
font-weight: 400;
36+
font-size: small;
37+
margin-left: 18px;
38+
}

src/app/components/shared/selectors/product-science-selector/product-science-selector.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class ProductScienceSelectorComponent implements OnInit, OnDestroy {
5151
disabled: false,
5252
sciProd: [
5353
{ value: 'GSLC', viewValue: 'GSLC (Geocoded Single Look Complex)' },
54-
{ value: 'GCOV', viewValue: 'GCOV (Geocoded Polarimetric Covariance)' },
54+
{ value: 'GCOV', viewValue: '*GCOV (Geocoded Polarimetric Covariance)' },
5555
{ value: 'GUNW', viewValue: 'GUNW (Geocoded Interferogram)' },
5656
{ value: 'GOFF', viewValue: 'GOFF (Geocoded Pixel Offsets)' },
5757
],

src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ ul {
462462
.mat-mdc-select-panel {
463463
max-width: fit-content !important;
464464
//max-width: 340px !important;
465-
max-height: 364px !important;
465+
max-height: 400px !important;
466466
}
467467

468468
/* TODO(mdc-migration): The following rule targets internal classes of form-field that may no longer apply for the MDC version. */

0 commit comments

Comments
 (0)