aura-web/design-qa.md

44 lines
1.8 KiB
Markdown

# Design QA
Date: 2026-06-12
## Source Visual Truth
- VI reference image: `/Users/cheyne/Library/Containers/com.tencent.xinWeChat/Data/Documents/xwechat_files/klji8o7ki_9a9c/temp/RWTemp/2026-06/e8e4c8be4c09458aeb31c70b9a1f45ba/f95f6b7b7b37a8ebeb3ef7b99d60e90f.png`
- Target style: Kaiwu blue-white tech UI, deep navy text, blue action color, light cards, clear mobile workflow entry.
## Screenshot Evidence
- Desktop login: `artifacts/mobile-qa/desktop-login.png`
- Desktop chat: `artifacts/mobile-qa/desktop-chat.png`
- Desktop stats: `artifacts/mobile-qa/desktop-stats.png`
- Mobile login: `artifacts/mobile-qa/mobile-login.png`
- Mobile chat: `artifacts/mobile-qa/mobile-chat.png`
- Mobile stats: `artifacts/mobile-qa/mobile-stats.png`
- Mobile workflows: `artifacts/mobile-qa/mobile-workflows.png`
- Mobile prompt library: `artifacts/mobile-qa/mobile-prompts.png`
- Mobile agent init modal fixed: `artifacts/mobile-qa/mobile-agentsnew-fixed.png`
## Viewports And States
- Desktop: 1440px wide.
- Mobile: 390 x 844.
- Authenticated local mock state used for `/agents/new` visual verification.
## Checks
- `npx tsc -b --pretty false`: passed.
- `npm run build`: passed.
- Inline style scan on changed H5/web target scope: passed.
- Target file line-count scan: highest changed target file is 248 lines.
- Mobile `/agents/new` DOM check: `scrollWidth=390`, `hasHorizontalOverflow=false`, modal width 374, hero grid one column, avatar grid three columns, no overflow offenders.
## Findings
- Initial `/agents/new` mobile modal used a desktop two-column modal layout and six-column avatar grid, causing the confirm button to overflow.
- Fixed with scoped H5 modal overrides and by moving AgentEditor modal/capability/panel styles out of inline style into CSS classes.
## Final Result
passed