Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOP-4060 adds language selector to unified footer on docs' pages. #928

Merged
merged 13 commits into from
Oct 3, 2023

Conversation

caesarbell
Copy link
Collaborator

@caesarbell caesarbell commented Oct 2, 2023

Stories/Links:

DOP-4060

Current Behavior:

current behavior

Staging Links:

staged with hiding language selector

staged with showing language selector

Notes:

This enables the language selector for the unified footer on all docs pages and points the href to the A/C of the ticket. This feature is also hidden behind a feature flag that is enabled only for non-prod env at this time.

Copy link
Collaborator

@seungpark seungpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@caesarbell can you verify what the end result of selecting eng/chinese on the dropdown should be? i'm not sure if we should be navigating them to a certain production page, or just changing the footer language, etc.

src/components/DocumentBody.js Outdated Show resolved Hide resolved
src/components/DocumentBody.js Show resolved Hide resolved
src/components/DocumentBody.js Show resolved Hide resolved
src/components/DocumentBody.js Outdated Show resolved Hide resolved
src/components/DocumentBody.js Outdated Show resolved Hide resolved
@caesarbell
Copy link
Collaborator Author

@caesarbell can you verify what the end result of selecting eng/chinese on the dropdown should be? i'm not sure if we should be navigating them to a certain production page, or just changing the footer language, etc.

This is from the ticket A/C

There is a way to swap between the english-language version of the site, located at https://mongodbcom-cdn.website.staging.corp.mongodb.com/docs-qa/,  and the Chinese-language version, located at [https://mongodbcom-cdn.website.staging.corp.mongodb.com/zh-cn/docs-qa/](https://mongodbcom-cdn.website.staging.corp.mongodb.com/%7B*%7Dzh-cn%7B*%7D/docs-qa/)

@caesarbell caesarbell requested a review from seungpark October 2, 2023 19:16
Copy link
Collaborator

@seungpark seungpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes LGTM ! will follow up with review for autobuilder changes

src/components/DocumentBody.js Show resolved Hide resolved
Copy link
Collaborator

@rayangler rayangler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one small change 🙂

src/components/DocumentBody.js Outdated Show resolved Hide resolved
@caesarbell caesarbell requested a review from rayangler October 3, 2023 17:17
@caesarbell caesarbell merged commit 66aba67 into master Oct 3, 2023
2 checks passed
@caesarbell caesarbell deleted the DOP-4060 branch October 3, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants