Skip to content

Commit b43a6c9

Browse files
Andy/ds 6227 displacemen story map (#2399)
* feat(services): add DisplacementDisclaimerService for shared dialog access * feat(map): add OPERA disclaimer logo to map template * style(map): add OPERA logo positioning and hover effects * feat(map): wire up OPERA logo click to open disclaimer dialog * refactor(info-bar): remove displacement disclaimer text link * refactor(info-bar): remove unused disclaimer dialog code Remove the onOpenDispDataDisclaimer method and related imports (MatDialog, DispDataDisclaimerComponent, MatIcon) since the disclaimer functionality has been moved to the OPERA logo in the map component. * style: fix prettier formatting in map template * feat(search-type-selector): add disclaimer link for Displacement search Add subtle italic "Disclaimer" text below the Search Type selector that opens the OPERA data disclaimer dialog. Only visible when Displacement search type is active. * fix(search-type-selector): adjust disclaimer link size and fix click - Reduce font-size from 14px to 12px to match header text - Use grey color to match "Radar Look Direction" styling - Add pointer-events: auto to ensure click handler works * fix(search-type-selector): update disclaimer styling and fix click - Add margin-left: 10px - Change text to "*Disclaimer" with initial caps - Add display: inline-block, position: relative, z-index: 10 - Use span instead of anchor tag - Add stopPropagation to prevent event bubbling * style(search-type-selector): move disclaimer down 2px * refactor(search-type-selector): use translation key for disclaimer Use 'DISCLAIMER' translation key with asterisk outside the translation. * feat(timeseries-results-menu): add disclaimer link to data credits Add "Disclaimer" link between "OPERA" and "License" in the data credits section that triggers the disclaimer modal. * npm run lint -- --fix * Added icon/link to StoryMaps for Displacement * Removed link and tooltip for OPERA logo on map * npm run lint -- --fix
1 parent 9e367f7 commit b43a6c9

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

src/app/components/map/map.component.html

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,7 @@
9696
@if (
9797
breakpoint > breakpoints.MOBILE && searchType === searchTypes.DISPLACEMENT
9898
) {
99-
<img
100-
src="/assets/opera-disp-logo.png"
101-
class="opera-logo"
102-
(click)="onOpenDispDisclaimer()"
103-
[matTooltip]="'DISPLACEMENT_DATA_DISCLAIMER' | translate"
104-
matTooltipPosition="above"
105-
alt="OPERA Displacement Data Disclaimer"
106-
/>
99+
<img src="/assets/opera-disp-logo.png" class="opera-logo" alt="OPERA Logo" />
107100
}
108101

109102
<app-filters-dropdown></app-filters-dropdown>

src/app/models/hyp3/hyp3-jobs.model.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,8 @@ export const AutoRift: Hyp3JobType = {
312312
export const AriaS1GunwJobType = {
313313
id: 'ARIA_S1_GUNW',
314314
name: 'ARIA_S1_GUNW',
315-
infoUrl: 'https://hyp3-docs.asf.alaska.edu/guides/gunw_product_guide/#aria-sentinel-1-gunw-product-guide',
315+
infoUrl:
316+
'https://hyp3-docs.asf.alaska.edu/guides/gunw_product_guide/#aria-sentinel-1-gunw-product-guide',
316317
description: 'ARIAS1GUNW_JOB_TYPE_DESC',
317318
numProducts: 2,
318319
productTypes: [

0 commit comments

Comments
 (0)