bbovenzi commented on code in PR #50626:
URL: https://github.com/apache/airflow/pull/50626#discussion_r2098574577
##########
airflow-core/src/airflow/ui/src/layouts/Nav/UserSettingsButton.tsx:
##########
@@ -48,19 +51,38 @@ export const UserSettingsButton = () => {
return (
<Menu.Root onOpenChange={() => setTime(dayjs())} positioning={{ placement:
"right" }}>
<Menu.Trigger asChild>
- <NavButton icon={<FiUser size="1.75rem" />} title="User" />
+ <NavButton icon={<FiUser size="1.75rem" />} title={translate("user")}
/>
</Menu.Trigger>
<Menu.Content>
+ <Menu.Root>
+ <Menu.TriggerItem>
+ <FiGlobe size="1.25rem" style={{ marginRight: "8px" }} />
+ {translate("language.select")}
+ <FiChevronRight size="1.25rem" style={{ marginLeft: "auto" }} />
+ </Menu.TriggerItem>
+ <Menu.Content>
Review Comment:
Instead of using disabled, lets use a
[RadioItemGroup](https://www.chakra-ui.com/docs/components/menu#radio-items)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]