Skip to content

Commit

Permalink
Merge remote-tracking branch 'Discovery-SearchUI/test' into andy/DS-5…
Browse files Browse the repository at this point in the history
…552-Multiline-ASF
  • Loading branch information
artisticlight committed Oct 19, 2024
2 parents bcb590b + 9ad365c commit ae64da7
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ phases:
commands:
- n 18
- npm set progress=false
- npm install -g @angular/cli@17.2.7
- npm install -g @angular/cli@17.3.10
pre_build:
commands:
- cp src/app/services/envs/env-${MATURITY}.ts src/app/services/env.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,13 @@ export class SceneFilesComponent implements OnInit, OnDestroy, AfterContentInit
};
return this.asfApiService.query<any>(queryParams).pipe(
map(products => products?.results?.length > 0 ? this.productService.fromResponse(products).slice(0, 1) : []),
tap(products => products.map(product => product.productTypeDisplay = scene.metadata.productType + "-STATIC Layer"))
tap(products => products.map(product => {
product.productTypeDisplay = "Local Incidence Angle GeoTIFF";
product.bytes = 0;
product.downloadUrl = product.metadata.opera.additionalUrls.find(url => url.endsWith('local_incidence_angle.tif'));
return product;
}
))
);
} else {
return of([]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ <h2 mat-dialog-title>{{ saveTypeName | uppercase | translate | titlecase }}</h2>
<div mat-dialog-content class="mat-dialog-content">
<div>
<form #saveSearchName="ngForm">
<mat-form-field [class.invalid-input-animation]="isNameError">
<input type="text" autofocus
<mat-form-field [class.invalid-input-animation]="isNameError" hintLabel="Max 20 {{ 'CHARACTERS' | translate }}">
<input type="text"
autofocus
#saveNameInput="ngModel" ngModel
name="searchNameInput"
placeholder="{{ (saveTypeName | uppercase | translate) + ' ' + ( 'NAME' | translate) }}" matInput
placeholder="{{ (saveTypeName | uppercase | translate) + ' ' + ( 'NAME' | translate) }}"
matInput
(input)="onSaveNameInput($event)"
(change)="onSaveNameChange($event)"
[value]="saveName"
[(ngModel)]="saveName">
[(ngModel)]="saveName"
[maxLength]="20">
<mat-hint align="end">{{saveNameInput.value?.length || 0}}/20</mat-hint>
</mat-form-field>
</form>

Expand Down
2 changes: 1 addition & 1 deletion src/app/models/hyp3-jobs.model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const RtcGammaJobType: Hyp3JobType = {
productTypes: [{
dataset: sentinel_1,
productTypes: [
'SLC', 'GRD_HD'
'SLC', 'GRD_HD', 'GRD_HS'
],
beamModes: ['IW'],
polarizations: [
Expand Down
3 changes: 2 additions & 1 deletion src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"CANADAS_OPEN_LICENSE": "Canada's Open Government License",
"CANCEL": "Cancel",
"CENTER_COLUMN_AND_FILES_COLUMN_RIGHT_WILL_POPULATE": "(center column) and Files column (right) will populate.",
"CHARACTERS": "characters",
"CHART": "Chart",
"CHEVRON_RIGHT": "chevron_right",
"CIRCLE DRAW": "Circle Draw",
Expand Down Expand Up @@ -738,7 +739,7 @@
"SETTINGS_OVERSCAN": "settings_overscan",
"SHARE_SEARCH": "Share Search",
"SHARE_WITH_EMAIL": "Share With Email",
"SHORTWAVE_DISPLACEMENT": "Shortwave Displacement",
"SHORTWAVE_DISPLACEMENT": "Short Wave Displacement",
"SHOW_PRODUCT_FILTERS_CRITERIA": "Show product filters criteria",
"SHOW_RAW_DATA": "Show raw data",
"SIGMA0": "sigma0",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"CANADAS_OPEN_LICENSE": "Licencia de Gobierno Abierto de Canadá",
"CANCEL": "Cancelar",
"CENTER_COLUMN_AND_FILES_COLUMN_RIGHT_WILL_POPULATE": "(columna central) y la columna Archivos (derecha) se completarán.",
"CHARACTERS": "caracteres",
"CHART": "Cuadro",
"CHEVRON_RIGHT": "chevron_right",
"CIRCLE DRAW": "Dibujar Circulo",
Expand Down

0 comments on commit ae64da7

Please sign in to comment.