Repository navigation
修复窄屏流程画布、角色搜索和被裁切的操作 - #15
Open
Robert0622 wants to merge 2 commits into
Open
Robert0622 wants to merge 2 commits into
Robert0622 wants to merge 2 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
复现
官方 v0.4.0 安装中,320 像素宽时,展开的节点库把画布挤到 0 像素。375 像素英文界面只剩 48 像素画布,角色搜索框的右边缘在屏幕第 507 像素。还复现了技能市场文字、访问密钥撤销操作被裁切。
修改
窄工作区的节点库默认显示为可展开的图标栏,展开时覆盖画布,桌面保留自己的宽度偏好。流程名称、工具和节点能在首屏查看。缩放、适应视图与小地图可直接操作,反馈浮钮与画布工具留出间距。初次适配会等待画布取得实际尺寸,并保留用户随后的缩放和平移。角色搜索换到独立一行,资产筛选可换行,密钥操作可在一屏内打开确认并取消。
实测
同一数据库、同一流程、相同视口。320 像素下画布可用宽度从 0 变为 201 像素;375 像素下从 48 变为 256 像素。实测首个节点完整可见,实际点过搜索、节点库展开收起、放大、适应视图、小地图显示切换、技能市场和撤销确认。覆盖 320、375、768、1280 像素以及中英文、明暗主题、管理员和成员。另在与源码 CI 相同的 Chromium 套件上运行两条手机视口回归,均通过。
Closes #12
同时用 Git 合并检查验证此移动端样式与全局搜索修改可以一起应用。
组合部署回归
按 v0.4.0 合并八个待审 PR 后再次在隔离 MySQL 部署复验。管理员与普通成员在 320、375、768、1280 CSS 像素下共 86 组页面访问均抵达目标页面。Chromium 源码套件 22 项常规场景通过,另两项分别使用仓库凭据与指定模型完成条件补测。
当前提交的 CI
提交
85c50518be00的 15 项 GitHub 检查全部通过,含 macOS。 查看检查记录