diff --git a/src/assets/translations/en/main.json b/src/assets/translations/en/main.json
index 313775f8356..d94c9ce0279 100644
--- a/src/assets/translations/en/main.json
+++ b/src/assets/translations/en/main.json
@@ -1585,6 +1585,21 @@
"body": "Use PIN layout shown on your device to find the location to press on the PIN pad.",
"button": "Unlock"
},
+ "currentPin": {
+ "header": "Enter Your Current PIN",
+ "body": "Confirm the PIN you use today, then you can choose a new one.",
+ "button": "Continue"
+ },
+ "newPin": {
+ "header": "Create New PIN",
+ "body": "Use the PIN layout shown on your device to choose a new PIN.",
+ "button": "Continue"
+ },
+ "newPinConfirm": {
+ "header": "Confirm New PIN",
+ "body": "Re-enter your new PIN using the layout shown on your device.",
+ "button": "Confirm"
+ },
"settings": {
"menuLabels": {
"bootloader": "Bootloader",
@@ -1613,7 +1628,9 @@
"timeout": "Your device goes to sleep after 10 minutes of inactivity by default. However, you can change this.",
"buttonPrompt": "Press and hold the button on your KeepKey to change the device %{setting}.",
"updateSuccess": "%{setting} successfully updated!",
- "updateFailed": "An error occurred whilst updating the %{setting}.",
+ "updateFailed": "%{setting} update failed",
+ "passphraseEnabled": "Passphrase protection enabled. You'll be asked for a passphrase each time you connect.",
+ "passphraseDisabled": "Passphrase protection disabled",
"timeoutDuration": "%{minutes} minutes"
},
"alerts": {
diff --git a/src/components/Layout/Header/NavBar/DrawerWalletHeader.tsx b/src/components/Layout/Header/NavBar/DrawerWalletHeader.tsx
index acfad409ba2..682fe84bcb0 100644
--- a/src/components/Layout/Header/NavBar/DrawerWalletHeader.tsx
+++ b/src/components/Layout/Header/NavBar/DrawerWalletHeader.tsx
@@ -1,27 +1,14 @@
-import { CloseIcon, RepeatIcon } from '@chakra-ui/icons'
-import {
- Flex,
- Icon,
- IconButton,
- Menu,
- MenuButton,
- MenuDivider,
- MenuGroup,
- MenuItem,
- MenuList,
- Text,
-} from '@chakra-ui/react'
+import { Flex, Icon, IconButton, Menu, MenuButton, MenuList, Text } from '@chakra-ui/react'
import type { FC } from 'react'
import { memo, useCallback, useMemo } from 'react'
import { FiArrowLeft } from 'react-icons/fi'
-import { TbDots, TbEdit, TbEyeOff, TbHistory, TbSettings } from 'react-icons/tb'
+import { TbDots, TbEdit, TbHistory, TbSettings } from 'react-icons/tb'
import { useTranslate } from 'react-polyglot'
import { useNavigate } from 'react-router-dom'
-import { WalletImage } from './WalletImage'
+import { DrawerWalletMenu } from './DrawerWalletMenu'
import { QRCodeIcon } from '@/components/Icons/QRCode'
-import { SUPPORTED_WALLETS } from '@/context/WalletProvider/config'
import type { InitialState } from '@/context/WalletProvider/WalletProvider'
import { useNewConversation } from '@/features/agenticChat/hooks/useNewConversation'
import { useModal } from '@/hooks/useModal/useModal'
@@ -34,10 +21,12 @@ import { useAppDispatch, useAppSelector } from '@/state/store'
const settingsIcon =
const dotsIcon =
-const eyeOffIcon =
const qrCodeIcon =
const historyIcon =
const newChatIcon =
+// 'full' is 100% of the popper, which sizes to content, so cap against the viewport instead
+const menuMaxWidth = { base: 'calc(100vw - 1rem)', md: 'xs' }
+const menuMinWidth = { base: 0, md: 'xs' }
type DrawerHeaderProps = {
walletInfo: InitialState['walletInfo']
@@ -116,19 +105,6 @@ export const DrawerWalletHeader: FC = memo(
navigate('/manage-hidden-assets')
}, [navigate])
- const repeatIcon = useMemo(() => , [])
- const closeIcon = useMemo(() => , [])
-
- const ConnectMenuComponent = useMemo(
- () => connectedType && SUPPORTED_WALLETS[connectedType]?.connectedMenuComponent,
- [connectedType],
- )
-
- const walletImageIcon = useMemo(
- () => ,
- [walletInfo, maybeMipdProvider?.info],
- )
-
const actionButtons = useMemo(() => {
if (isChatOpen) {
return (
@@ -192,7 +168,7 @@ export const DrawerWalletHeader: FC = memo(
size='md'
onClick={handleSettingsClick}
/>
-