Skip to content

Commit

Permalink
Release to Main v4.44.0 (#5361)
Browse files Browse the repository at this point in the history
* Main to Develop v4.43.0 (#5338)

* UAT-v4.42.0

* Release to Main v4.42.0 (#5324)

* WV-3177: Rename EOSDIS Worldview to NASA Worldview (#5316)

* Remove EOSDIS

* Update EOSDIS to ESDIS and LANCE acronyms

* Updated eslint-plugin-n (#5317)

* dependency updates

* WV-3210 Distraction Free Timezone Fix (#5320)

* Added kioskMode check for timezone label

* Separated ternary statements

* Update IMERG to version 7 (#5321)

* UAT-v4.42.0

---------

Co-authored-by: Patrick Moulden <[email protected]>
Co-authored-by: minniewong <[email protected]>
Co-authored-by: PatchesMaps <[email protected]>

* v4.43.0

---------

Co-authored-by: Patrick Moulden <[email protected]>
Co-authored-by: minniewong <[email protected]>
Co-authored-by: PatchesMaps <[email protected]>

* Dependency Updates 07-12-234 (#5345)

* Added check for non BEST layers in build (#5333)

* WV-3104 GIBS API Link in Embed Tab (#5340)

* Added api docs link

* Simplified to a single class

* WV-3154 Replace Social Tab with Citation Tab (#5346)

* Changed the social tab to the citation tab

* Changed citation to cite us & modified intro text

* Fixed test

* WV-3242 index out of bounds error (#5332)

* only insert layers at valid index

* only reload when new palette is AERONET

* reload layers on change to rendered palettes

* Dependency Updates 07-19-2024 (#5358)

* Dependency Updates 07-19-2024

* revert sass bump

* WV-3220 Smaller Extent BBox For Finding High-Resolution Imagery (#5347)

* Added smallerExtent

* Added getSmallerExtent reusable function

* WV-3218: Update welcome.md to point users to the Worldview Image of the Week (#5359)

* Update welcome.md

* open link in new tab

* v4.44.0

---------

Co-authored-by: Patrick Moulden <[email protected]>
Co-authored-by: minniewong <[email protected]>
Co-authored-by: PatchesMaps <[email protected]>
  • Loading branch information
4 people committed Jul 22, 2024
1 parent fa9c9b3 commit 469a805
Show file tree
Hide file tree
Showing 13 changed files with 424 additions and 396 deletions.
4 changes: 2 additions & 2 deletions config/default/common/brand/about/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
mapping library, GIBS imagery can also be accessed from Google Earth, NASA World Wind, and several other
clients. We encourage interested developers to build their own clients or integrate NASA imagery into their
existing ones using these services.</p>
<p><a href="https://earthdata.nasa.gov/faq/worldview-gibs-faq" target="_blank" rel="noopener noreferrer">Frequently
Asked Questions</a></p>
<p>View the <a href="https://earthdata.nasa.gov/faq/worldview-gibs-faq" target="_blank" rel="noopener noreferrer">Frequently
Asked Questions</a> and visit the <a href="https://earthdata.nasa.gov/worldview/worldview-image-archive" target="_blank" rel="noopener noreferrer">Worldview Image of the Week</a> archive which uses data and imagery available in Worldview to highlight recent events, hazards, and disasters.</p>
<hr>
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
},
{
"target": "#wv-share-button",
"content": "Create a custom URL link of your Worldview page and share Worldview via social media with friends and colleagues!",
"content": "Create a custom URL link of your Worldview map view, access information about embedding Worldview, learn how to use imagery directly from GIBS, and remember to cite us!",
"placementBeacon": "bottom"
},
{
Expand Down
20 changes: 3 additions & 17 deletions e2e/features/share/share-test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ test('Clicking the share link button opens the share dialog', async () => {
await expect(shareToolbar).toBeVisible()
})

test('Share tabs link and social are visible and enabled', async () => {
test('Share tabs link and cite us are visible and enabled', async () => {
const linkShareNav = await page.locator('.link-share-nav')
const socialShareNav = await page.locator('.social-share-nav')
const citeUsShareNav = await page.locator('.cite-us-share-nav')
const linkShareActive = await page.locator('.link-share-nav a')
await expect(linkShareNav).toBeVisible()
await expect(socialShareNav).toBeVisible()
await expect(citeUsShareNav).toBeVisible()
await expect(linkShareActive).toHaveClass(/active/)
})

Expand Down Expand Up @@ -72,20 +72,6 @@ test('Share link clipboard with no time query string param in the page url will
expect(shareLinkValue).toContain(`t=${year}-${monthText}-${dayText}`)
})

test('Clicking the social tab displays social share buttons', async () => {
const { shareToolbarButton } = selectors
const facebook = await page.locator('#fb-share')
const twitter = await page.locator('#tw-share')
const reddit = await page.locator('#rd-share')
const email = await page.locator('#email-share')
await shareToolbarButton.click()
await page.locator('.social-share-nav a').click()
await expect(facebook).toBeVisible()
await expect(twitter).toBeVisible()
await expect(reddit).toBeVisible()
await expect(email).toBeVisible()
})

test('Clicking Shorten link works with links less than 2049 characters', async () => {
const { shareToolbarButton } = selectors
const shortQueryString = 'http://localhost:3000/?l=Reference_Labels_15m,Reference_Features_15m,Coastlines_15m,VIIRS_NOAA20_CorrectedReflectance_TrueColor(hidden),VIIRS_SNPP_CorrectedReflectance_TrueColor(hidden),MODIS_Aqua_CorrectedReflectance_TrueColor(hidden),MODIS_Terra_CorrectedReflectance_TrueColor&lg=true&t=2022-08-10-T15%3A15%3A05Z'
Expand Down
Loading

0 comments on commit 469a805

Please sign in to comment.