feat(apollo-vertex): add language switcher [AGVSOL-1055, AGVSOL-1045]#133
feat(apollo-vertex): add language switcher [AGVSOL-1055, AGVSOL-1045]#133alincadariu merged 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🤖 AI Code Review (Claude)Code Review: Add Language Switcher to Apollo Vertex ShellSummaryThis PR adds a language toggle component to the Apollo Vertex shell, allowing users to switch between 13 supported languages. The component is integrated into the sidebar (both collapsed and expanded states) and dispatches custom events for i18n integration. Code Quality ✅The implementation is clean and well-structured:
Minor observation (non-blocking): The Security ✅No security concerns identified:
Type Safety ✅TypeScript usage is appropriate:
Suggestion (non-blocking): Consider creating a typed event interface: export interface LanguageChangedEvent extends CustomEvent {
detail: { selectedLanguageId: string };
}Testing
|
3de304d to
7aa9208
Compare
7aa9208 to
1c532a9
Compare
1c532a9 to
47a6c07
Compare
47a6c07 to
844bc4b
Compare
844bc4b to
7731397
Compare
2fa9af6 to
cd32a34
Compare
apps/apollo-vertex/app/vertex-components/language-toggle/page.mdx
Outdated
Show resolved
Hide resolved
apps/apollo-vertex/registry/language-toggle/language-toggle.tsx
Outdated
Show resolved
Hide resolved
apps/apollo-vertex/app/vertex-components/language-toggle/page.mdx
Outdated
Show resolved
Hide resolved
0386ca5 to
4c170e6
Compare
d3e331b to
9496242
Compare
b137ac1 to
700b433
Compare
700b433 to
3624dfc
Compare
Current Stack
Managed with stacked-prs |
The goal: consumer would only need to provide the translation files.
This PR adds: