Skip to content

feat(account): replace default avatar with witch artwork - #951

Open
huyanxius wants to merge 4 commits into
1024XEngineer:mainfrom
huyanxius:feat/950-default-avatar
Open

huyanxius wants to merge 4 commits into
1024XEngineer:mainfrom
huyanxius:feat/950-default-avatar

Conversation

@huyanxius

Copy link
Copy Markdown
Collaborator

默认账号头像从 Windup 小鸟品牌标记替换为已确认的低像素魔女看板娘,并同步更新顶栏账号菜单与账号中心个人资料页;品牌导航标记保持不变。

Why

账号菜单和个人资料页原先重复使用 Windup 小鸟 logo 作为用户默认头像,用户身份与产品看板娘形象脱节。

Changes

  • 新增确认的低像素魔女头像资源。
  • 顶栏账号菜单和账号中心个人资料页统一引用该资源。
  • 更新两处页面断言,锁定默认头像资源不会回退到品牌 logo。

Implementation

  • 复用单一前端 PNG 资源,保持两个现有头像展示点一致。
  • 仅替换用户头像引用,不改品牌 logo、用户资料接口、上传/选择器或持久化契约。

Verification

  • npm run typecheck:通过
  • npm test -- --run src/app/layout/app-header.test.tsx src/pages/account/index.test.tsx:通过,56 tests
  • npm run build:通过
  • npm run lint -- src/app/layout/app-header.tsx src/app/layout/app-header.test.tsx src/pages/account/index.tsx src/pages/account/index.test.tsx:通过
  • git diff --check origin/main...HEAD:通过

Scope

  • 本 PR 不包含:头像选择器、上传自定义头像、后端用户资料字段或持久化改动。
  • 后续事项:如需头像选择或上传,另开 Issue/PR。

Related Issues

Closes #950

The account surfaces repeated the Windup bird mark as the user avatar.

Use the approved low-pixel witch asset in the header menu and profile page, with matching asset assertions.

The brand mark remains unchanged while both default avatar placements share one source.
@vercel

vercel Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
windup Ready Ready Preview Sep 20, 2026 6:24am UTC

@codecov

codecov Bot commented Sep 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #951   +/-   ##
=======================================
  Coverage   91.27%   91.27%           
=======================================
  Files         193      193           
  Lines       13204    13204           
=======================================
  Hits        12052    12052           
  Misses       1152     1152           
Flag Coverage Δ
backend 91.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已检查顶栏账号菜单、账号中心个人资料页、品牌标记保留范围以及相关断言;功能替换符合 Issue #950 的验收条件。建议处理下方资源体积问题后再合并。git diff --check 通过;当前工作区没有可执行的前端依赖,因此无法运行 Vitest、TypeScript 或 Oxlint。

Comment thread frontend/src/app/layout/app-header.tsx Outdated

This branch was successfully deployed

1 active deployment
Preview — 44e938b0 Deployed Sep 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: replace default account avatar with witch artwork

1 participant