Skip to content

Translate OAuth links #1438

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

Merged
merged 9 commits into from
May 27, 2025
Merged

Translate OAuth links #1438

merged 9 commits into from
May 27, 2025

Conversation

sejas
Copy link
Member

@sejas sejas commented May 26, 2025

Related issues

Proposed Changes

  • Use localized OAuth and signup links

Testing Instructions

  • Run npm start.
  • Change the language in Studio by pressing Cmd + ..
  • Go to the Sync, Preview, or Assistant tab and click on Login to open the authentication link.
  • Observe that the web page respects the Studio language.
  • Click on Signup. You will see the page in the Studio language or a notice to switch to that language.
login-signup-with-studio-locale.mp4

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@sejas sejas self-assigned this May 26, 2025
@sejas sejas requested a review from a team May 26, 2025 15:51
@sejas sejas changed the title Add/stu 527 translate oauth link Translate OAuth links May 26, 2025
Copy link
Contributor

@bcotrim bcotrim left a comment

Choose a reason for hiding this comment

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

Code looks good and worked as described!
Unit tests are passing, although I see some errors:
image

I don't think they are related to this PR, but as we discussed we should aim to have our tests running without noise. I'll open a follow-up PR to fix it.
Edit: Actually it seems the errors logs are caused from this PR, at least I don't see them on trunk. On the CI for the latest trunk commit I don't see any issues, and on the CI for this PR I see it.

LGTM 👍

@sejas sejas merged commit 64aa61f into trunk May 27, 2025
12 checks passed
@sejas sejas deleted the add/STU-527-translate-oauth-link branch May 27, 2025 22:04
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.

2 participants