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: bring various details for better experience (#15486)

René Wangb19008ed247f
diff --git a/locales/en-US/auth.json b/locales/en-US/auth.json
index 260b1f7a22d..ece74164900 100644
--- a/locales/en-US/auth.json
+++ b/locales/en-US/auth.json
@@ -105,6 +105,7 @@
"betterAuth.signin.socialOnlyHint": "This email was registered via a third-party social account. Sign in with that provider, or",
"betterAuth.signin.ssoOnlyNoProviders": "Email registration is disabled and no SSO providers are configured. Please contact your administrator.",
"betterAuth.signin.submit": "Sign In",
+ "betterAuth.signup.cardTitle": "Create a {{appName}} Account",
"betterAuth.signup.confirmPasswordPlaceholder": "Confirm your password",
"betterAuth.signup.emailPlaceholder": "Enter your email address",
"betterAuth.signup.error": "Sign up failed, please try again",
diff --git a/locales/zh-CN/auth.json b/locales/zh-CN/auth.json
index e5f673495c9..cf73ef7a0ce 100644
--- a/locales/zh-CN/auth.json
+++ b/locales/zh-CN/auth.json
@@ -105,6 +105,7 @@
"betterAuth.signin.socialOnlyHint": "此邮箱是通过第三方社交账号注册的。请使用该服务提供商登录,或",
"betterAuth.signin.ssoOnlyNoProviders": "邮箱注册已禁用,且未配置 SSO 提供商。请联系管理员。",
"betterAuth.signin.submit": "登录",
+ "betterAuth.signup.cardTitle": "创建 {{appName}} 账号",
"betterAuth.signup.confirmPasswordPlaceholder": "请确认密码",
"betterAuth.signup.emailPlaceholder": "请输入邮箱地址",
"betterAuth.signup.error": "注册遇到了问题。你可以稍后再试",
diff --git a/src/app/[variants]/(auth)/_layout/AuthAgreement.tsx b/src/app/[variants]/(auth)/_layout/AuthAgreement.tsx
new file mode 100644
index 00000000000..1688294421a
--- /dev/null
+++ b/src/app/[variants]/(auth)/_layout/AuthAgreement.tsx
@@ -0,0 +1,39 @@
+'use client';
+
+import { Text } from '@lobehub/ui';
+import { type CSSProperties, memo } from 'react';
+import { Trans, useTranslation } from 'react-i18next';
+
+import { PRIVACY_URL, TERMS_URL } from '@/const/url';
+
+const linkStyle: CSSProperties = {
+ color: 'inherit',
+ cursor: 'pointer',
+ textDecoration: 'underline',
+};
+
+const AuthAgreement = memo(() => {
+ const { t } = useTranslation('auth');
+ return (
+ <Text fontSize={13} style={{ display: 'block', marginBlockStart: 8 }} type={'secondary'}>
+ <Trans
+ i18nKey={'footer.agreement'}
+ ns={'auth'}
+ components={{
+ privacy: (
+ <a href={PRIVACY_URL} style={linkStyle}>
+ {t('footer.terms')}
+ </a>
+ ),
+ terms: (
+ <a href={TERMS_URL} style={linkStyle}>
+ {t('footer.privacy')}
+ </a>
+ ),
+ }}
+ />
+ </Text>
+ );
+});
+
+export default AuthAgreement;
diff --git a/src/app/[variants]/(auth)/_layout/AuthFooterLinks.tsx b/src/app/[variants]/(auth)/_layout/AuthFooterLinks.tsx
new file mode 100644
index 00000000000..68b192573bd
--- /dev/null
+++ b/src/app/[variants]/(auth)/_layout/AuthFooterLinks.tsx
@@ -0,0 +1,29 @@
+'use client';
+
+import { Text } from '@lobehub/ui';
+import { type CSSProperties, memo } from 'react';
+import { useTranslation } from 'react-i18next';
+
+import { PRIVACY_URL, TERMS_URL } from '@/const/url';
+
+const linkStyle: CSSProperties = {
+ color: 'inherit',
+ cursor: 'pointer',
+};
+
+const AuthFooterLinks = memo(() => {
+ const { t } = useTranslation('auth');
+ return (
+ <Text align={'center'} fontSize={13} type={'secondary'}>
+ <a href={TERMS_URL} style={linkStyle}>
+ {t('footer.terms')}
+ </a>
+ <span style={{ marginInline: 8 }}>·</span>
+ <a href={PRIVACY_URL} style={linkStyle}>
+ {t('footer.privacy')}
+ </a>
+ </Text>
+ );
+});
+
+export default AuthFooterLinks;
diff --git a/src/app/[variants]/(auth)/_layout/index.tsx b/src/app/[variants]/(auth)/_layout/index.tsx
index 29411ec464b..d1a1e9a0212 100644
--- a/src/app/[variants]/(auth)/_layout/index.tsx
+++ b/src/app/[variants]/(auth)/_layout/index.tsx
@@ -1,7 +1,6 @@
'use client';
-import { COPYRIGHT_FULL } from '@lobechat/business-const';
-import { Center, Flexbox, Text } from '@lobehub/ui';
+import { Center, Flexbox } from '@lobehub/ui';
import { Divider } from 'antd';
import { cx } from 'antd-style';
import Link from 'next/link';
@@ -10,6 +9,7 @@ import { type FC, type PropsWithChildren } from 'react';
import { ProductLogo } from '@/components/Branding';
import { useIsDark } from '@/hooks/useIsDark';
+import AuthFooterLinks from './AuthFooterLinks';
import AuthLangButton from './AuthLangButton';
import AuthThemeButton from './AuthThemeButton';
import { styles } from './style';
@@ -23,31 +23,22 @@ const AuthContainer: FC<PropsWithChildren> = ({ children }) => {
height={'100%'}
width={'100%'}
>
- <Flexbox
- horizontal
- align={'center'}
- gap={8}
- justify={'space-between'}
- padding={16}
- width={'100%'}
- >
+ <Flexbox horizontal align={'center'} padding={16} width={'100%'}>
<Link aria-label={'LobeHub'} href={'/'} style={{ display: 'inline-flex' }}>
<ProductLogo size={40} />
</Link>
+ </Flexbox>
+ <Center height={'100%'} padding={16} width={'100%'}>
+ {children}
+ </Center>
+ <Flexbox horizontal align={'center'} justify={'space-between'} padding={16} width={'100%'}>
<Flexbox horizontal align={'center'}>
<AuthLangButton size={18} />
<Divider className={styles.divider} orientation={'vertical'} />
<AuthThemeButton size={18} />
</Flexbox>
+ <AuthFooterLinks />
</Flexbox>
- <Center height={'100%'} padding={16} width={'100%'}>
- {children}
- </Center>
- <Center padding={24}>
- <Text align={'center'} type={'secondary'}>
- {COPYRIGHT_FULL}
- </Text>
- </Center>
</Flexbox>
</Flexbox>
);
diff --git a/src/app/[variants]/(auth)/signin/SignInEmailStep.tsx b/src/app/[variants]/(auth)/signin/SignInEmailStep.tsx
index 2712de03da4..e5d425300f2 100644
--- a/src/app/[variants]/(auth)/signin/SignInEmailStep.tsx
+++ b/src/app/[variants]/(auth)/signin/SignInEmailStep.tsx
@@ -4,13 +4,13 @@ import { type FormInstance, type InputRef } from 'antd';
import { Badge, Divider, Form } from 'antd';
import { createStaticStyles } from 'antd-style';
import { ChevronRight, Mail } from 'lucide-react';
-import { useEffect, useRef } from 'react';
-import { Trans, useTranslation } from 'react-i18next';
+import { type CSSProperties, useEffect, useRef } from 'react';
+import { useTranslation } from 'react-i18next';
import AuthIcons from '@/components/AuthIcons';
-import { PRIVACY_URL, TERMS_URL } from '@/const/url';
import AuthCard from '../../../../features/AuthCard';
+import AuthAgreement from '../_layout/AuthAgreement';
const styles = createStaticStyles(({ css, cssVar }) => ({
setPasswordLink: css`
@@ -23,6 +23,14 @@ const styles = createStaticStyles(({ css, cssVar }) => ({
export const EMAIL_REGEX = /^[^\s@]+@[^\s@][^\s.@]*\.[^\s@]+$/;
export const USERNAME_REGEX = /^\w+$/;
+// Pin both the provider logo and the loading spinner to the same spot so the
+// spinner doesn't jump when a social button enters its loading state.
+const PROVIDER_ICON_STYLE: CSSProperties = { left: 12, position: 'absolute', top: 13 };
+
+// Turn a provider id into a display name, e.g. "google" -> "Google".
+const getProviderName = (provider: string) =>
+ provider.toLowerCase().replaceAll(/(^|[_-])([a-z])/g, (_, __, c) => c.toUpperCase());
+
export interface SignInEmailStepProps {
disableEmailPassword?: boolean;
form: FormInstance<{ email: string }>;
@@ -66,47 +74,14 @@ export const SignInEmailStep = ({
);
const getProviderLabel = (provider: string) => {
- const normalized = provider
- .toLowerCase()
- .replaceAll(/(^|[_-])([a-z])/g, (_, __, c) => c.toUpperCase());
+ const normalized = getProviderName(provider);
const normalizedKey = normalized.replaceAll(/[^\da-z]/gi, '');
const key = `betterAuth.signin.continueWith${normalizedKey}`;
return t(key, { defaultValue: `Continue with ${normalized}` });
};
- const footer = (
- <Text fontSize={13} type={'secondary'}>
- <Trans
- i18nKey={'footer.agreement'}
- ns={'auth'}
- components={{
- privacy: (
- <a
- href={PRIVACY_URL}
- style={{ color: 'inherit', cursor: 'pointer', textDecoration: 'underline' }}
- >
- {t('footer.terms')}
- </a>
- ),
- terms: (
- <a
- href={TERMS_URL}
- style={{ color: 'inherit', cursor: 'pointer', textDecoration: 'underline' }}
- >
- {t('footer.privacy')}
- </a>
- ),
- }}
- />
- </Text>
- );
-
return (
- <AuthCard
- footer={footer}
- subtitle={t('signin.subtitle', { appName: BRANDING_NAME })}
- title={'Agent teammates that grow with you'}
- >
+ <AuthCard title={t('signin.subtitle', { appName: BRANDING_NAME })}>
{!serverConfigInit && (
<Flexbox gap={12}>
<Skeleton.Button active block size="large" />
@@ -120,19 +95,11 @@ export const SignInEmailStep = ({
const button = (
<Button
block
+ icon={<Icon icon={AuthIcons(provider, 18)} style={PROVIDER_ICON_STYLE} />}
+ iconProps={{ size: 18, style: PROVIDER_ICON_STYLE }}
key={provider}
loading={socialLoading === provider}
size="large"
- icon={
- <Icon
- icon={AuthIcons(provider, 18)}
- style={{
- left: 12,
- position: 'absolute',
- top: 13,
- }}
- />
- }
onClick={() => onSocialSignIn(provider)}
>
{getProviderLabel(provider)}
@@ -143,14 +110,14 @@ export const SignInEmailStep = ({
(oAuthSSOProviders.length > 1 ||
(oAuthSSOProviders.length === 1 && !disableEmailPassword));
return showLastUsed ? (
- <Badge.Ribbon
- color="var(--ant-color-info-fill-tertiary)"
+ <Badge
+ color="var(--ant-color-info)"
+ count={t('betterAuth.signin.lastUsed')}
key={provider}
- styles={{ content: { color: 'var(--ant-color-info)' } }}
- text={t('betterAuth.signin.lastUsed')}
+ styles={{ root: { display: 'block', width: '100%' } }}
>
{button}
- </Badge.Ribbon>
+ </Badge>
) : (
button
);
@@ -227,6 +194,7 @@ export const SignInEmailStep = ({
}
/>
)}
+ <AuthAgreement />
</AuthCard>
);
};
diff --git a/src/app/[variants]/(auth)/signin/layout.tsx b/src/app/[variants]/(auth)/signin/layout.tsx
new file mode 100644
index 00000000000..e27a5166582
--- /dev/null
+++ b/src/app/[variants]/(auth)/signin/layout.tsx
@@ -0,0 +1,22 @@
+import { BRANDING_NAME } from '@lobechat/business-const';
+import { type PropsWithChildren } from 'react';
+
+import { metadataModule } from '@/server/metadata';
+import { translation } from '@/server/translation';
+import { type DynamicLayoutProps } from '@/types/next';
+import { RouteVariants } from '@/utils/server/routeVariants';
+
+export const generateMetadata = async (props: DynamicLayoutProps) => {
+ const locale = await RouteVariants.getLocale(props);
+ const { t } = await translation('auth', locale);
+
+ return metadataModule.generate({
+ description: t('signin.subtitle', { appName: BRANDING_NAME }),
+ title: t('betterAuth.signin.emailStep.title'),
+ url: '/signin',
+ });
+};
+
+const Layout = ({ children }: PropsWithChildren) => children;
+
+export default Layout;
diff --git a/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx b/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx
index d45a37bbae0..93d2615e483 100644
--- a/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx
+++ b/src/app/[variants]/(auth)/signup/[[...signup]]/BetterAuthSignUpForm.tsx
@@ -1,5 +1,6 @@
'use client';
+import { BRANDING_NAME } from '@lobechat/business-const';
import { Button, Icon, Text } from '@lobehub/ui';
import { Form, Input, type InputRef } from 'antd';
import { Lock, Mail } from 'lucide-react';
@@ -10,6 +11,7 @@ import { useTranslation } from 'react-i18next';
import { AuthCard } from '../../../../../features/AuthCard';
import { trackLoginOrSignupClicked } from '../../../../../features/User/UserLoginOrSignup/trackLoginOrSignupClicked';
+import AuthAgreement from '../../_layout/AuthAgreement';
import { type SignUpFormValues } from './useSignUp';
import { useSignUp } from './useSignUp';
@@ -51,11 +53,7 @@ const BetterAuthSignUpForm = () => {
);
return (
- <AuthCard
- footer={footer}
- subtitle={t('betterAuth.signup.subtitle')}
- title={t('betterAuth.signup.title')}
- >
+ <AuthCard footer={footer} title={t('betterAuth.signup.cardTitle', { appName: BRANDING_NAME })}>
<Form form={form} layout="vertical" onFinish={onSubmit}>
<Form.Item
name="email"
@@ -146,6 +144,7 @@ const BetterAuthSignUpForm = () => {
</Button>
</Form.Item>
</Form>
+ <AuthAgreement />
</AuthCard>
);
};
diff --git a/src/features/ChatInput/ActionBar/Knowledge/useControls.tsx b/src/features/ChatInput/ActionBar/Knowledge/useControls.tsx
index 395e5bef7d9..122548be007 100644
--- a/src/features/ChatInput/ActionBar/Knowledge/useControls.tsx
+++ b/src/features/ChatInput/ActionBar/Knowledge/useControls.tsx
@@ -2,7 +2,7 @@ import { type ItemType } from '@lobehub/ui';
import { Icon } from '@lobehub/ui';
import { createStaticStyles, cssVar, cx } from 'antd-style';
import isEqual from 'fast-deep-equal';
-import { ArrowRight, LibraryBig } from 'lucide-react';
+import { LibraryBig } from 'lucide-react';
import type { ReactNode } from 'react';
import { useTranslation } from 'react-i18next';
@@ -136,7 +136,6 @@ export const useControls = ({
>
<Icon icon={LibraryBig} size={16} />
<span className={cx(styles.viewMoreLabel)}>{t('knowledgeBase.viewMore')}</span>
- <Icon icon={ArrowRight} size={16} />
</button>
);
diff --git a/src/features/ChatInput/ActionBar/Plus/index.tsx b/src/features/ChatInput/ActionBar/Plus/index.tsx
index cb00c365a12..9ae3a9e8875 100644
--- a/src/features/ChatInput/ActionBar/Plus/index.tsx
+++ b/src/features/ChatInput/ActionBar/Plus/index.tsx
@@ -9,6 +9,7 @@ import { css, cssVar, cx } from 'antd-style';
import {
Brain,
CheckIcon,
+ ChevronRight,
CloudCog,
FileUp,
Globe,
@@ -437,6 +438,9 @@ const PlusAction = memo(() => {
? [
{
children: skillMenuItems,
+ // Trailing chevron (replaces base-ui's default triangle submenu arrow,
+ // which is hidden via the .lobe-submenu-chevron rule in ActionDropdown).
+ extra: <Icon className="lobe-submenu-chevron" icon={ChevronRight} size={16} />,
footer: skillMarketFooter,
header: skillMarketHeader,
icon: SkillsIcon,
@@ -560,6 +564,9 @@ const PlusAction = memo(() => {
? [{ type: 'divider' as const }, ...knowledgeItems]
: []),
],
+ // Trailing chevron (replaces base-ui's default triangle submenu arrow,
+ // which is hidden via the .lobe-submenu-chevron rule in ActionDropdown).
+ extra: <Icon className="lobe-submenu-chevron" icon={ChevronRight} size={16} />,
footer: knowledgeFooter,
icon: LibraryBig,
key: 'attachments',
diff --git a/src/features/ChatInput/ActionBar/Tools/useControls.tsx b/src/features/ChatInput/ActionBar/Tools/useControls.tsx
index b0148e113a6..30ecd2aaff4 100644
--- a/src/features/ChatInput/ActionBar/Tools/useControls.tsx
+++ b/src/features/ChatInput/ActionBar/Tools/useControls.tsx
@@ -289,17 +289,6 @@ const styles = createStaticStyles(({ css }) => ({
flex: 1;
text-align: start;
`,
- searchBox: css`
- display: flex;
- align-items: center;
-
- height: 36px;
- margin-inline: -8px;
- padding-inline: 4px;
- border-radius: 10px;
-
- background: ${cssVar.colorFillQuaternary};
- `,
toolLabel: css`
display: flex;
flex: 1;
@@ -341,50 +330,44 @@ const styles = createStaticStyles(({ css }) => ({
background: ${cssVar.colorFillQuaternary};
`,
- statsFooter: css`
- display: flex;
- gap: 14px;
- align-items: center;
-
- margin-block-end: -4px;
- margin-inline: -8px;
- padding-inline: 8px;
- `,
- statsSettingsButton: css`
+ addSkillRow: css`
cursor: pointer;
- display: inline-flex;
- flex: none;
+ display: flex;
+ gap: 8px;
align-items: center;
- justify-content: center;
- width: 24px;
- height: 24px;
- padding: 0;
+ /* width: 320px + margin-inline: -12px anchors the submenu to 320px so it
+ matches the attachment submenu, and lets the row break out of the footer's
+ 12px inline padding to span full width; padding-inline: 12px then re-aligns
+ the icon/text to the same column as the menu rows above. */
+ width: 320px;
+ min-height: 32px;
+ margin-inline: -12px;
+ padding-inline: 12px;
border: 0;
border-radius: 6px;
- color: ${cssVar.colorTextTertiary};
+ font-size: 14px;
+ color: ${cssVar.colorText};
background: transparent;
- transition:
- color 0.2s,
- background 0.2s;
+ transition: background 150ms ${cssVar.motionEaseOut};
&:hover {
- color: ${cssVar.colorTextSecondary};
background: ${cssVar.colorFillTertiary};
}
- `,
- statsItem: css`
- display: inline-flex;
- gap: 5px;
- align-items: center;
- font-size: 12px;
- line-height: 18px;
- color: ${cssVar.colorTextTertiary};
+ /* The footer adds 8px block padding; cancel it on the last action row so the
+ bottom row sits flush against the popup edge instead of leaving a gap. */
+ &:last-child {
+ margin-block-end: -8px;
+ }
+ `,
+ addSkillLabel: css`
+ flex: 1;
+ text-align: start;
`,
}));
@@ -1279,12 +1262,14 @@ export const useControls = ({ closeDropdown }: { closeDropdown?: () => void } =
const renderActivationGroupLabel = ({
autoSwitch,
+ count,
icon,
open,
title,
onToggle,
}: {
autoSwitch?: boolean;
+ count?: number;
icon: ReactNode;
open: boolean;
title: string;
@@ -1303,6 +1288,7 @@ export const useControls = ({ closeDropdown }: { closeDropdown?: () => void } =
<div className={cx(styles.activationGroupTitleBlock)}>
{icon}
<span className={cx(styles.activationGroupTitleText)}>{title}</span>
+ {typeof count === 'number' && <span className={cx(styles.count)}>{count}</span>}
</div>
<div className={cx(styles.activationGroupActions)}>
{autoSwitch && (
@@ -1339,69 +1325,50 @@ export const useControls = ({ closeDropdown }: { closeDropdown?: () => void } =
);
const marketHeader = (
- <div className={cx(styles.searchBox)} onClick={stopPropagation} onKeyDown={stopPropagation}>
- <SearchBar
- allowClear
- placeholder={t('tools.search')}
- size="small"
- style={{ flex: 1 }}
- value={searchKeyword}
- variant="borderless"
- onChange={(event) => setSearchKeyword(event.target.value)}
- onKeyDown={stopPropagation}
- />
- </div>
+ <SearchBar
+ allowClear
+ className="lobe-skill-submenu-search"
+ placeholder={t('tools.search')}
+ size="small"
+ style={{ width: '100%' }}
+ value={searchKeyword}
+ variant="borderless"
+ onChange={(event) => setSearchKeyword(event.target.value)}
+ onClick={stopPropagation}
+ onKeyDown={stopPropagation}
+ />
);
const marketFooter =
allSkillItems.length > 0 || fixedItems.length > 0 ? (
- <div className={cx(styles.statsFooter)}>
- <span className={cx(styles.statsItem)}>
- <Icon icon={Pin} size={12} />
- {allPinnedItems.length + fixedItems.length}
- </span>
- <span className={cx(styles.statsItem)}>
- <Icon icon={Zap} size={12} />
- {allAutoItems.length}
- </span>
- <span
- style={{
- alignItems: 'center',
- display: 'inline-flex',
- gap: 2,
- marginInlineStart: 'auto',
+ <>
+ <button
+ aria-label={t('plus.addSkills', { ns: 'chat' })}
+ className={cx(styles.addSkillRow)}
+ type="button"
+ onClick={(event) => {
+ event.stopPropagation();
+ closeDropdown?.();
+ createSkillStoreModal();
}}
>
- <Tooltip placement="top" title={t('plus.addSkills', { ns: 'chat' })}>
- <button
- aria-label={t('plus.addSkills', { ns: 'chat' })}
- className={cx(styles.statsSettingsButton)}
- type="button"
- onClick={(event) => {
- event.stopPropagation();
- closeDropdown?.();
- createSkillStoreModal();
- }}
- >
- <Icon icon={Store} size={14} />
- </button>
- </Tooltip>
- <Tooltip placement="top" title={t('tools.plugins.management')}>
- <button
- aria-label={t('tools.plugins.management')}
- className={cx(styles.statsSettingsButton)}
- type="button"
- onClick={(event) => {
- event.stopPropagation();
- closeDropdown?.();
- navigate('/settings/skill');
- }}
- >
- <Icon icon={Settings} size={14} />
- </button>
- </Tooltip>
- </span>
- </div>
+ <Icon icon={Store} size={SKILL_ICON_SIZE} />
+ <span className={cx(styles.addSkillLabel)}>{t('plus.addSkills', { ns: 'chat' })}</span>
+ </button>
+ <button
+ aria-label={t('tools.plugins.management')}
+ className={cx(styles.addSkillRow)}
+ type="button"
+ onClick={(event) => {
+ event.stopPropagation();
+ closeDropdown?.();
+ navigate('/settings/skill');
+ }}
+ >
+ <Icon icon={Settings} size={SKILL_ICON_SIZE} />
+ <span className={cx(styles.addSkillLabel)}>{t('tools.plugins.management')}</span>
+ </button>
+ </>
) : undefined;
const marketItems: ItemType[] = [
@@ -1411,6 +1378,7 @@ export const useControls = ({ closeDropdown }: { closeDropdown?: () => void } =
children: pinnedOpen ? pinnedItems : [],
key: 'pinned',
label: renderActivationGroupLabel({
+ count: allPinnedItems.length,
icon: <Icon icon={Pin} size={14} />,
open: pinnedOpen,
title: t('tools.activation.pinned'),
@@ -1435,6 +1403,7 @@ export const useControls = ({ closeDropdown }: { closeDropdown?: () => void } =
key: 'auto',
label: renderActivationGroupLabel({
autoSwitch: true,
+ count: allAutoItems.length,
icon: <Icon icon={Zap} size={14} />,
open: autoOpen,
title: t('tools.activation.auto'),
diff --git a/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx b/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx
index 5882444c321..93eacd7c07f 100644
--- a/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx
+++ b/src/features/ChatInput/ActionBar/components/ActionDropdown.tsx
@@ -93,6 +93,25 @@ const SubmenuScrollStyle = createGlobalStyle`
[data-submenu] > [role='menu'] [role='group']:has([data-skill-activation-group]) > [role='presentation'] {
padding-block: 0;
}
+
+ /* The skill submenu is the only submenu that uses a header slot (the search
+ bar). renderDropdownMenuItems wraps it in DropdownMenuHeader's default
+ 8px/12px padding — which can't be reached via props — leaving the borderless
+ search floating in a tall gap and indented past the rows below. Trim the
+ padding so the search sits snug against the divider and its icon lines up
+ with the 16px icon column shared by the menu rows. */
+ [data-submenu] > [role='menu'] > *:has(.lobe-skill-submenu-search) {
+ padding-block: 4px;
+ padding-inline: 4px;
+ }
+
+ /* Submenu triggers that opt into a custom trailing chevron (the Plus menu's
+ Skills / Attachments rows mark their extra icon with .lobe-submenu-chevron)
+ render that chevron themselves; hide base-ui's default triangle submenu arrow
+ — always the last child of the trigger's content — so the two don't stack. */
+ [role='menuitem']:has(.lobe-submenu-chevron) > * > *:last-child {
+ display: none;
+ }
`;
export type ActionDropdownMenuItem = MenuItemType;
diff --git a/src/locales/default/auth.ts b/src/locales/default/auth.ts
index e4824630d5e..cf76ce823e4 100644
--- a/src/locales/default/auth.ts
+++ b/src/locales/default/auth.ts
@@ -127,6 +127,7 @@ export default {
'betterAuth.signup.submit': 'Sign Up',
'betterAuth.signup.subtitle': 'Start your Agents collaboration space',
'betterAuth.signup.success': 'Sign up successful! Please check your email for verification',
+ 'betterAuth.signup.cardTitle': 'Create a {{appName}} Account',
'betterAuth.signup.title': 'Create Account',
'betterAuth.signup.usernamePlaceholder': 'Enter your username',
'betterAuth.verifyEmail.backToSignIn': 'Back to Sign In',