diff --git a/doc/release/RELEASE-NOTES.md b/doc/release/RELEASE-NOTES.md index 596f8fa14..fd59723c2 100644 --- a/doc/release/RELEASE-NOTES.md +++ b/doc/release/RELEASE-NOTES.md @@ -29,7 +29,10 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html * Updated the `Deploy to AWS` GitHub workflow to rely on the required `deploy-env` input instead of inferring the `environment` from the tag name. Previously, this approach was necessary because the `[Release] Deploy` workflow did not trigger `Deploy to AWS` via the API with the specified `environment` - it only created a tag that triggered the workflow automatically. With the latest changes, the `environment` is now explicitly passed in the `[Release] Deploy` workflow. It has also been confirmed that no branch or input combination can result in an undefined `environment`. As a result, the fallback to `None` for the `environment` value was removed from the `Deploy to AWS` workflow. ### What's new -* *Describe what's new here. The changes that can impact user experience should be listed in this section.* +* [OSDEV-1998](https://opensupplyhub.atlassian.net/browse/OSDEV-1998) - The following changes were made: + * Added an additional "Data Cleaning Service" subheader to the "How It Works" > "Premium Features" section. + * Updated the list of supported languages/countries under the "globe" icon (added support for Chinese and changed the order). + * Removed the Twitter icon from the social media icons/links in the footer. ### Release instructions: * Ensure that the following commands are included in the `post_deployment` command: diff --git a/src/react/src/__tests__/components/Footer.test.js b/src/react/src/__tests__/components/Footer.test.js index 90aabb70c..30160b531 100644 --- a/src/react/src/__tests__/components/Footer.test.js +++ b/src/react/src/__tests__/components/Footer.test.js @@ -48,12 +48,9 @@ test('Footer component', () => { const linkedinLink = screen.getByText('LinkedIn'); expect(linkedinLink.parentElement).toHaveAttribute('href', 'https://www.linkedin.com/company/open-supply-hub/'); - const twitterLink = screen.getByText('Twitter'); - expect(twitterLink.parentElement).toHaveAttribute('href', 'https://twitter.com/OpenSupplyHub'); - const youtubeLink = screen.getByText('YouTube'); expect(youtubeLink.parentElement).toHaveAttribute('href', 'https://www.youtube.com/channel/UCy-66mcBwX2wlUM6kvKUrGw'); const githubLink = screen.getByText('Github'); - expect(githubLink.parentElement).toHaveAttribute('href', 'https://github.com/opensupplyhub/pyoshub'); + expect(githubLink.parentElement).toHaveAttribute('href', 'https://github.com/opensupplyhub/open-supply-hub'); }); diff --git a/src/react/src/components/AddLocationData.jsx b/src/react/src/components/AddLocationData.jsx index d5c51e558..4b06fb893 100644 --- a/src/react/src/components/AddLocationData.jsx +++ b/src/react/src/components/AddLocationData.jsx @@ -118,7 +118,7 @@ function AddLocationData({ classes, userHasSignedIn, fetchingSessionSignIn }) { className={classes.secondaryButton} onClick={() => openInNewTab( - `${InfoLink}/${InfoPaths.contribute}`, + `${InfoLink}/${InfoPaths.dataCleaningService}`, ) } > diff --git a/src/react/src/components/Navbar/InternationalMenu.jsx b/src/react/src/components/Navbar/InternationalMenu.jsx index 29cbcf72d..26f043c56 100644 --- a/src/react/src/components/Navbar/InternationalMenu.jsx +++ b/src/react/src/components/Navbar/InternationalMenu.jsx @@ -48,6 +48,13 @@ function Submenu() { > বাংলা + + 简体中文 + - Portuguese + Português - Türkiye - - - Tiếng Việt + Türkçe diff --git a/src/react/src/components/Navbar/MobileInternationalMenu.jsx b/src/react/src/components/Navbar/MobileInternationalMenu.jsx index 8a956af6a..29c9a5863 100644 --- a/src/react/src/components/Navbar/MobileInternationalMenu.jsx +++ b/src/react/src/components/Navbar/MobileInternationalMenu.jsx @@ -59,37 +59,37 @@ export default function MobileInternationalMenu({
- India + 简体中文
- Portuguese + India
- Türkiye + Português
- Tiếng Việt + Türkçe
diff --git a/src/react/src/util/constants.jsx b/src/react/src/util/constants.jsx index e7d369373..f801e5c36 100644 --- a/src/react/src/util/constants.jsx +++ b/src/react/src/util/constants.jsx @@ -25,7 +25,7 @@ export const CSRF_TOKEN_KEY = 'csrfToken'; export const InfoPaths = { storiesResources: 'stories-resources', privacyPolicy: 'privacy-policy', - contribute: 'data-cleaning-service', + dataCleaningService: 'data-cleaning-service', preparingData: 'resources/preparing-data', dataQuality: 'resources/a-free-universal-id-matching-algorithm', claimedFacilities: 'stories-resources/claim-a-facility', @@ -822,6 +822,11 @@ export const NavbarItems = [ label: 'API', href: `${InfoLink}/${InfoPaths.api}`, }, + { + type: 'link', + label: 'Data Cleaning Service', + href: `${InfoLink}/${InfoPaths.dataCleaningService}`, + }, { type: 'link', label: 'Embedded Map', @@ -970,24 +975,6 @@ export const SocialMediaLinks = [ ), href: 'https://www.linkedin.com/company/open-supply-hub/', }, - { - label: 'Twitter', - Icon: () => ( - - - - ), - href: 'https://twitter.com/OpenSupplyHub', - }, { label: 'YouTube', Icon: () => ( @@ -1022,7 +1009,7 @@ export const SocialMediaLinks = [ /> ), - href: 'https://github.com/opensupplyhub/pyoshub', + href: 'https://github.com/opensupplyhub/open-supply-hub', }, ];