mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-27 15:13:37 +08:00
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:
parent
b3e74c4f56
commit
f06d88607f
@ -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 />)
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user