From 80d5078363ee7161fda5c0b8f7f73eeb24260958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E7=AB=A0=E6=B5=A9?= Date: Sun, 25 Oct 2026 13:03:44 +0800 Subject: [PATCH] =?UTF-8?q?fix(qa):=20=E4=BF=AE=E6=AD=A3=E4=BA=94=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=AD=9B=E9=80=89=E5=8C=BA=E5=9F=9F=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原因:旧版宽屏查询区强制单行,新增的全宽筛选行被推到可视区外。 修复:查询区允许换行,五字段筛选独立排在查询和同步操作之后。 验证:新增回归断言先红后绿;完整 make verify 本地必需项已通过;候选未部署。 --- CHANGELOG.md | 6 ++++++ web/src/QAOperations.test.tsx | 6 ++++++ web/src/qaOps.css | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30bbe63..7c8e3fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,6 +76,12 @@ > `0.1.12`),由 `scripts/version.py` 从 git **算出来**;开发交付的独立说明写入本文件“开发快照”章节,并打 `snapshot/vX.Y.Z` 注释标签 ⇒ 每次开发交付均可追溯, > 但"发布版本"仍然只能由人定(CI 不会自动升版本、不会打 tag)。 +## 开发快照 snapshot/v0.1.56 - 2026-10-25 + +### Fixed + +- 五项字段筛选独立换行,保留时间、关键词、查询与同步操作的完整可见范围,修正宽屏旧单行样式挤出筛选区的问题。 + ## 开发快照 snapshot/v0.1.55 - 2026-10-25 ### Changed diff --git a/web/src/QAOperations.test.tsx b/web/src/QAOperations.test.tsx index 14a8a6e..ea8d1dc 100644 --- a/web/src/QAOperations.test.tsx +++ b/web/src/QAOperations.test.tsx @@ -235,6 +235,12 @@ it('names the ledger explicitly as 问题流水表', () => { expect(html).toContain('>问题流水表') }) +it('keeps five field filters in a dedicated wrapped row after all primary query actions', () => { + const css = readFileSync(new URL('./qaOps.css', import.meta.url), 'utf8') + expect(css).not.toMatch(/\.qa-ops-query\s*\{[^}]*flex-wrap:\s*nowrap/) + expect(css).toMatch(/\.qa-field-filters\s*\{[^}]*order:\s*1/) +}) + it('uses matching query/sync action sizing and keeps synchronization status outside the button baseline', () => { const css = readFileSync(new URL('./qaOps.css', import.meta.url), 'utf8') expect(css).toContain('.qa-ops-query .qa-query-action') diff --git a/web/src/qaOps.css b/web/src/qaOps.css index 3c2bdae..71a4db7 100644 --- a/web/src/qaOps.css +++ b/web/src/qaOps.css @@ -488,7 +488,7 @@ padding: 12px 16px; } .qa-ops-query { - flex-wrap: nowrap; + flex-wrap: wrap; gap: 8px; padding: 8px 10px; } @@ -707,6 +707,7 @@ .qa-field-filters { display: flex; + order: 1; flex: 1 0 100%; flex-wrap: wrap; align-items: flex-end;