gongxiangp2/design-qa.md
2026-07-09 20:27:06 +08:00

59 lines
4.1 KiB
Markdown

**Findings**
- No actionable P0/P1/P2 issues remain for the current Stitch alignment pass.
**Source Visual Truth**
- Personal desktop: `D:\AI Code\gongxiangp2\文件\stitch_\stitch_\_7\screen.png`
- Public desktop: `D:\AI Code\gongxiangp2\文件\stitch_\stitch_\_1\screen.png`
- Create desktop: `D:\AI Code\gongxiangp2\文件\stitch_\stitch_\_2\screen.png`
- Personal mobile: `D:\AI Code\gongxiangp2\文件\stitch_\stitch_\_10\screen.png`
- Public mobile: `D:\AI Code\gongxiangp2\文件\stitch_\stitch_\_11\screen.png`
**Implementation Screenshots**
- Personal desktop: `D:\AI Code\gongxiangp2\outputs\performance-survey-stitch-qa\personal-desktop.png`
- Public desktop: `D:\AI Code\gongxiangp2\outputs\performance-survey-stitch-qa\public-desktop.png`
- Create desktop: `D:\AI Code\gongxiangp2\outputs\performance-survey-stitch-qa\manage-desktop.png`
- Personal mobile: `D:\AI Code\gongxiangp2\outputs\performance-survey-stitch-qa\personal-mobile.png`
- Public mobile: `D:\AI Code\gongxiangp2\outputs\performance-survey-stitch-qa\public-mobile.png`
- Create mobile: `D:\AI Code\gongxiangp2\outputs\performance-survey-stitch-qa\manage-mobile.png`
**Viewport And State**
- Desktop: `1280 x 720`, routes `tab=personal`, `tab=public`, `tab=manage`.
- Mobile: `430 x 900`, routes `tab=personal`, `tab=public`, `tab=manage`.
- Data state: local authenticated state with the currently available local data; empty ledgers are expected where the local dataset has no rows.
**Full-View Comparison Evidence**
- Header/nav: dashboard pages now use one unified material-platform dark app bar with left avatar/title, centered tabs on desktop, and right brand text. The previous personal/public/create color split has been removed per the latest product direction.
- Layout: dashboard content is constrained to `1200px` on desktop, matching the Stitch public/create composition and avoiding edge-to-edge content at common desktop widths.
- Tables/cards: monthly ledger and public ledger use flat bordered tables/cards with minimal blue score emphasis. Empty states are flat dashed containers.
- Forms: create page uses the two-zone Stitch structure: month/template on the left, assessed people/evaluators/department on the right. Inputs, selects, search dropdowns, and selected chips use white fill and thin borders.
- Mobile: mobile pages no longer show purple background, duplicate header elements, or old workflow stat cards.
**Focused Region Comparison**
- Header region: compared against `_7`, `_1`, and `_2`; active tab and brand placement follow Stitch, while color mode is intentionally unified to the native material-platform dark bar.
- Filter/form controls: compared against `_1` and `_2`; controls use thin borders, square/low-radius shape, and restrained blue focus/active states.
- Mobile top and bottom navigation: compared against `_10` and `_11`; app-level navigation is simplified and no longer conflicts with content.
**Patches Made Since Previous QA Pass**
- Removed the global platform header from `/performance-survey` dashboard pages.
- Moved dashboard navigation into a unified dark top app bar.
- Reworked dashboard containers to a 1200px white, low-noise layout.
- Restyled public filters, employee search, department tree, selected chips, and score detail drawer.
- Restyled create form to match the Stitch two-column composition.
- Removed noisy mobile identity line and fake icon glyphs from bottom navigation.
- Removed the earlier white desktop header branch for public/create states.
**Open Questions**
- Current local data is sparse/empty, so row-rich table states were verified structurally rather than with dense production-like rows.
**Implementation Checklist**
- Header duplication removed.
- Personal, public, and create routes visually verified in desktop.
- Personal, public, and create routes visually verified in mobile.
- Page-specific controls remain interactive and data-backed.
- `npm run lint -- --file "app/performance-survey/[[...path]]/page.tsx"` passed.
**Follow-up Polish**
- If the team wants exact mobile icon parity, add a real icon font/library through the app asset pipeline instead of text glyphs or CSS icons.
final result: passed