Files
short-drama-agent-front/design-qa.md
T
GouJ 63e53b03f4 fix: 优化形态图库移动端筛选布局
移动端将搜索、筛选和图标操作拆分为三行,避免状态筛选与四个操作按钮互相挤压。
2026-09-08 14:28:37 +08:00

66 lines
3.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Design QA
- Source visual truth: `/workspace/scratch/6e52996114b8/upload/57970687-58ad-46f8-9977-15ec608a8b12.png`
- Source pixel dimensions: `504 × 158`.
- Intended implementation viewport: dark-theme mobile workspace, focused content width around `393px` CSS pixels.
- Implementation screenshot: unavailable.
- CSS size and density normalization: unavailable because the implementation could not be opened in the cloud browser.
- State: 形态图片页默认筛选区,四个图标操作可见。
## Full-view comparison evidence
The source crop shows the search and type controls on the first row, while the second row combines a wide status select with four icon buttons. The second row is visually crowded and leaves the controls competing for the same horizontal space.
The mobile implementation now uses three explicit rows at container widths up to `460px`: full-width search, two equal-width selects, then a full-width right-aligned icon action row. The existing `10px` internal rhythm and icon ordering are preserved.
A local Sites preview started successfully, but the cloud browser rejected `terminal.local` with `net::ERR_BLOCKED_BY_CLIENT`. Therefore no browser-rendered implementation screenshot is available.
## Focused region comparison evidence
- Row 1: search spans both grid columns.
- Row 2: subject type and image status use equal-width `minmax(0, 1fr)` columns.
- Row 3: the four icon actions occupy the complete row and align to the right.
- Spacing: both column and row gaps are `10px`.
- Accessibility and behavior: filter labels, layout switching, refresh, batch action, and mobile-disabled popovers remain unchanged.
These are code-level checks only and do not replace a rendered focused-region comparison.
## Required fidelity surfaces
- Fonts and typography: no typography or truncation rules changed.
- Spacing and layout rhythm: mobile controls now follow a stable three-row grid instead of compressing the status select and actions together.
- Colors and visual tokens: existing dark-theme surface and control tokens are unchanged.
- Image quality and asset fidelity: no image behavior or assets changed.
- Copy and content: all search, type, status, and icon action labels are preserved.
## Findings
- [P1] Browser-rendered comparison unavailable
- Location: 形态图片移动端筛选区。
- Evidence: the required cloud browser returns `net::ERR_BLOCKED_BY_CLIENT` for the healthy local preview.
- Impact: exact responsive wrapping, control heights, touch spacing, and console state cannot be visually certified.
- Fix: capture the page in an available browser near `393px` content width and compare the three-row filter layout.
## Primary interactions tested
Automated tests verify the mobile two-column grid, full-width search row, equal select row, full-width right-aligned icon row, filter behavior, icon ordering, layout switching, and refresh workflow. All 275 tests pass.
## Console errors checked
Not checked because the page could not be opened in the cloud browser.
## Comparison history
- Iteration 1: the source identified crowding between the status filter and the four icon actions.
- Iteration 2: separated mobile controls into search, equal filters, and action rows; the full test/build suite passed, while browser capture remained blocked.
## Implementation checklist
- [x] Give mobile search the full first row.
- [x] Give type and status filters equal widths on the second row.
- [x] Move four icon actions to a dedicated right-aligned third row.
- [x] Preserve existing filter and action behavior.
- [ ] Capture and compare the rendered mobile state in the cloud browser.
final result: blocked