Skip to content

Commit 3d6fdf1

Browse files
authored
Yoreley/dec 27 (#2384)
* NEW KEYS - 2026 * Remove "New" tag from Displacement Search type
1 parent 8562d1a commit 3d6fdf1

8 files changed

Lines changed: 9 additions & 33 deletions

File tree

src/app/components/results-menu/scenes-list-header/scenes-list-header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@
490490
[matMenuTriggerData]="{
491491
selected: (selectedEventProducts$ | async),
492492
}"
493-
matTooltip="Copy ids/urls"
493+
matTooltip="{{ 'COPY_IDS_URLS' | translate }}"
494494
>
495495
<fa-icon class="list-icon" [icon]="copyIcon"></fa-icon>
496496
</mat-button-toggle>

src/app/components/shared/selectors/dataset-selector/dataset-selector.component.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@
3737
dataset.id === 'SENTINEL-1' ||
3838
dataset.id === 'SENTINEL-1 BURSTS'
3939
) {
40-
<span
41-
matTooltip="Available for On Demand Processing (HyP3)"
42-
>
40+
<span matTooltip="{{ 'HYP3_AVAILABLE' | translate }}">
4341
<mat-icon class="hyp3-icon" svgIcon="hyp3"></mat-icon>
4442
</span>
4543
}
@@ -48,7 +46,7 @@
4846
}
4947
@if (dataset.id === 'NISAR') {
5048
<span class="disclaimer">
51-
<em> (coming soon!) </em>
49+
<em> ({{ 'COMING_SOON' | translate }}) </em>
5250
</span>
5351
}
5452
@if (dataset.subName) {

src/app/components/shared/selectors/mission-selector/mission-selector.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<input
44
type="text"
55
matInput
6-
placeholder="Filter Campaign"
6+
placeholder="{{ 'FILTER_CAMPAIGN' | translate }}"
77
formControlName="missionFilter"
88
/>
99
</mat-form-field>
@@ -24,7 +24,7 @@
2424
style="margin-right: 10px"
2525
class="clickable v-mid"
2626
mat-list-icon
27-
matTooltip="Clear selected mission"
27+
matTooltip="{{ 'CLEAR_SELECTED_MISSION' | translate }}"
2828
>{{ 'CLEAR' | translate }}</mat-icon
2929
>
3030
</div>

src/app/components/shared/selectors/sarviews-event-search-selector/sarviews-event-search-selector.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
>
1818
@for (event of filteredEvents$ | async; track event) {
1919
<mat-option [value]="event.description">
20-
<div matTooltip="event description, id, or type">
20+
<div matTooltip="{{ 'EVENT_DESCRIPTION_ID_TYPE' | translate }}">
2121
@if (!!event.description) {
2222
<span>
2323
{{ event.description }}

src/app/components/shared/selectors/search-type-selector/search-type-selector.component.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@
4848
<div class="fx-80 menu-item-content">
4949
<div class="item-title">
5050
{{ type.nameKey | translate }}
51-
@if (type.nameKey === 'DISPLACEMENT') {
52-
<span class="badge-new">{{
53-
'NEW' | translate | titlecase
54-
}}</span>
55-
}
5651
</div>
5752
<div
5853
class="item-content"

src/app/components/shared/selectors/search-type-selector/search-type-selector.component.scss

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -232,22 +232,6 @@
232232
top: 3px;
233233
}
234234

235-
.badge-new {
236-
color: #236192;
237-
font-style: italic;
238-
font-size: 15px;
239-
padding: 3px 8px;
240-
border-radius: 12px;
241-
font-weight: bold;
242-
animation: fadeInUp 1.5s ease-out forwards;
243-
position: absolute;
244-
margin-left: 3px;
245-
margin-top: -2px;
246-
text-shadow: 0.3px 0.3px 1.5px rgba(35, 97, 146, 0.2);
247-
filter: brightness(1.05);
248-
}
249-
250-
251235
@keyframes fadeInUp {
252236
0% {
253237
opacity: 0;

src/app/components/shared/selectors/search-type-selector/search-type-selector.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import * as models from '@models';
2121
import { EnvironmentService, ScreenSizeService } from '@services';
2222
import { AnalyticsEvent, Breakpoints, derivedDatasets } from '@models';
2323
import { TranslateService, TranslateModule } from '@ngx-translate/core';
24-
import { NgClass, AsyncPipe, TitleCasePipe } from '@angular/common';
24+
import { NgClass, AsyncPipe } from '@angular/common';
2525
import { MatLabel, MatSuffix } from '@angular/material/input';
2626
import { MatButton } from '@angular/material/button';
2727
import { MatTooltip } from '@angular/material/tooltip';
@@ -52,7 +52,6 @@ declare global {
5252
MatSuffix,
5353
MatCardActions,
5454
AsyncPipe,
55-
TitleCasePipe,
5655
TranslateModule,
5756
],
5857
})

src/app/components/sidebar/saved-searches/saved-search/saved-search.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@
9090
<div
9191
[matTooltip]="
9292
search.searchType === searchType
93-
? 'Update Saved Search With Current Filters'
94-
: 'Current Search Wrong Type'
93+
? ('UPDATE_SAVED_SEARCH' | translate)
94+
: ('SEARCH_TYPE_MISMATCH' | translate)
9595
"
9696
>
9797
<button

0 commit comments

Comments
 (0)