Commit b43a6c9
authored
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 -- --fix1 parent 9e367f7 commit b43a6c9
2 files changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 99 | + | |
107 | 100 | | |
108 | 101 | | |
109 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
| 316 | + | |
316 | 317 | | |
317 | 318 | | |
318 | 319 | | |
| |||
0 commit comments