Skip to content

fix(navigation): 修复流程切换服务目录时的侧栏闪屏 - #106

Merged
a3384379 merged 1 commit into
mainfrom
codex/fix-navigation-flash
Sep 17, 2026
Merged

a3384379 merged 1 commit into
mainfrom
codex/fix-navigation-flash

Conversation

@a3384379

@a3384379 a3384379 commented Sep 17, 2026 •

Copy link
Copy Markdown
Owner

问题与修改

从流程编排切换到服务目录时,流程页的 height: 100% 覆盖会在父布局恢复自动高度时让侧栏短暂缩到约 704px,Ant Design 的高度过渡随后恢复到视口高度,造成闪屏和页脚跳动。

删除流程页对侧栏高度和外层滚动的旧覆盖,让所有业务页统一使用导航现有的 100dvh 高度及菜单内部滚动区域。

验证

  • 新增 1366×768、1920×1080 两个 Playwright 回归,逐帧检查侧栏高度和页脚位置,确认采样覆盖服务目录路由。
  • 修改前两例均失败,侧栏高度约 704px;修改后通过。
  • Compose 导航验收 9 项、流程编辑器交互 8 项通过,覆盖草稿保留、折叠、移动端和路由往返。
  • 前端 format、lint、build 通过;完整前端覆盖率 421 测试通过(88 文件),分支覆盖率 80.74%;后端 Ruff、mypy 通过,pytest 1449 passed / 7 skipped,覆盖率 90.68%。
  • Linux Chromium 视觉矩阵 3 项通过,27 个现有截图基线无变化。
  • 本地 localhost:3000 已更新,7 个服务健康,ready 数据库/存储/Redis 全部 OK。

GitHub 验收

当前 head d36f39a 的 Frontend、Security、Windows Bundle、Compose、Required Gate 全部通过;Compose 非 S29 浏览器 58 项通过,S29 及备份恢复门禁通过。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-17T15:16:44.442714Z d36f39a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@a3384379 a3384379 added the ci:milestone 功能阶段稳定后触发一次完整远程 CI label Sep 17, 2026
@a3384379
a3384379 merged commit 107d4fe into main Sep 17, 2026
7 checks passed
@a3384379
a3384379 deleted the codex/fix-navigation-flash branch September 17, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:milestone 功能阶段稳定后触发一次完整远程 CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant