Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style(contacts): rename contact detail "View" action to "Manage" (#22890)

Arvin Xu85232b9f552c
diff --git a/locales/en-US/common.json b/locales/en-US/common.json
index 42e1510f596..292f9a8b1e2 100644
--- a/locales/en-US/common.json
+++ b/locales/en-US/common.json
@@ -191,6 +191,7 @@
"contacts.info.handle": "Handle",
"contacts.info.mail": "Email",
"contacts.info.sendMail": "Send email",
+ "contacts.manage": "Manage",
"contacts.noDescription": "No description yet",
"contacts.notFound": "This contact no longer exists or is not visible to you",
"contacts.pinned": "Pinned",
@@ -198,7 +199,6 @@
"contacts.sort.title": "Name",
"contacts.sort.tooltip": "Sort",
"contacts.sort.updatedAt": "Recently updated",
- "contacts.view": "View",
"contacts.viewProfile": "View profile",
"continue": "Continue",
"copy": "Copy",
diff --git a/locales/zh-CN/common.json b/locales/zh-CN/common.json
index c2efc40ae15..e1dfff8cf3b 100644
--- a/locales/zh-CN/common.json
+++ b/locales/zh-CN/common.json
@@ -191,6 +191,7 @@
"contacts.info.handle": "标识",
"contacts.info.mail": "邮箱",
"contacts.info.sendMail": "发邮件",
+ "contacts.manage": "管理",
"contacts.noDescription": "还没有简介",
"contacts.notFound": "该联系人不存在或你无权查看",
"contacts.pinned": "置顶",
@@ -198,7 +199,6 @@
"contacts.sort.title": "名称",
"contacts.sort.tooltip": "排序",
"contacts.sort.updatedAt": "最近更新",
- "contacts.view": "查看",
"contacts.viewProfile": "查看资料",
"continue": "继续",
"copy": "复制",
diff --git a/packages/locales/src/default/common.ts b/packages/locales/src/default/common.ts
index 17d77502e57..91f74fd3b29 100644
--- a/packages/locales/src/default/common.ts
+++ b/packages/locales/src/default/common.ts
@@ -440,10 +440,10 @@ export default {
'contacts.info.handle': 'Handle',
'contacts.info.mail': 'Email',
'contacts.info.sendMail': 'Send email',
+ 'contacts.manage': 'Manage',
'contacts.noDescription': 'No description yet',
'contacts.notFound': 'This contact no longer exists or is not visible to you',
'contacts.sendMessage': 'Send message',
- 'contacts.view': 'View',
'contacts.viewProfile': 'View profile',
'contacts.pinned': 'Pinned',
'contacts.sort.title': 'Name',
diff --git a/src/features/ContactList/ContactDetail.tsx b/src/features/ContactList/ContactDetail.tsx
index 588827e920f..edf24aa618c 100644
--- a/src/features/ContactList/ContactDetail.tsx
+++ b/src/features/ContactList/ContactDetail.tsx
@@ -8,7 +8,7 @@ import {
MessageCircleIcon,
MoreHorizontalIcon,
PencilLineIcon,
- SquareArrowOutUpRightIcon,
+ Settings2Icon,
UserRoundIcon,
UserRoundXIcon,
} from 'lucide-react';
@@ -200,7 +200,7 @@ const ContactCard = memo<Extract<ContactCardState, { status: 'ready' }>>(
</WorkspaceLink>
{agentId && channelsEnabled && (
<WorkspaceLink to={chatUrl} {...stylex.props(styles.tile)}>
- <TileContent icon={SquareArrowOutUpRightIcon} label={t('contacts.view')} />
+ <TileContent icon={Settings2Icon} label={t('contacts.manage')} />
</WorkspaceLink>
)}
<DropdownMenu items={moreItems}>