fix(desktop): update about page product name

Show Code Council in the About tab so the UI matches the desktop product branding.

Co-Authored-By: Claude GPT-5.5 <noreply@anthropic.com>
This commit is contained in:
你的姓名 2026-06-14 01:27:07 +08:00
parent b3e74c4f56
commit f06d88607f
2 changed files with 9 additions and 2 deletions

View File

@ -1379,6 +1379,13 @@ describe('Settings > About tab', () => {
})
})
it('shows the current product name', async () => {
render(<Settings />)
expect(await screen.findByRole('heading', { name: 'Code Council' })).toBeInTheDocument()
expect(screen.getByAltText('Code Council')).toBeInTheDocument()
})
it('renders release notes with markdown formatting', async () => {
render(<Settings />)

View File

@ -4125,8 +4125,8 @@ function AboutSettings() {
return (
<div className="w-full min-w-0 flex flex-col items-center py-6">
{/* Logo + App Name + Version */}
<img src={publicAssetPath('app-icon.png')} alt="Claude Code Haha" className="w-20 h-20 mb-4" />
<h1 className="text-xl font-bold text-[var(--color-text-primary)]">Claude Code Haha</h1>
<img src={publicAssetPath('app-icon.png')} alt="Code Council" className="w-20 h-20 mb-4" />
<h1 className="text-xl font-bold text-[var(--color-text-primary)]">Code Council</h1>
{version && (
<div className="mt-1 flex items-center gap-2 text-xs text-[var(--color-text-tertiary)]">
<span>{t('settings.about.version')} {version}</span>