改进第四组交互质量所需的 UI 基础能力 - #54
Merged
Merged
Conversation
Deploying inkcre-web-design with
|
| Latest commit: |
0b5d9da
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://3ce6e304.design-dd4.pages.dev |
| Branch Preview URL: | https://pr-54.design-dd4.pages.dev |
This branch was successfully deployed
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.
目的与范围
这是 client-web 第四组交互质量的 UI 生产者依赖,消费任务为 InKCre/client-web#118,用户教程继续在 InKCre/docs#31 更新;不单独扩大为 Wizard 或异步请求框架。
验证
完整
pnpm check通过,包括类型、lint、生成物、Token 导入夹具、独立 tarball 安装与公开入口、23 个 Story / 125 个 Variant 构建。实际构建浏览器检查:自定义 footer 保存时仅保存按钮转圈,取消禁用;Escape 不能关闭提交中的 Dialog;失败保留草稿并恢复按钮,重试可以成功。Loading 的可访问状态名可唯一定位。实际 Web 源码联调已验证 Settings Dropdown 的搜索图标、留白、桌面与 360px 容器表现;完整隔离数据库 E2E 11/11 通过,包括默认/自定义 Dialog 的取消按钮不转圈。
这些 Web 结果是源码联调证据,不是正式包或公开 client-web preview 验收。需要先通过正常 Version PR 发布,再由 client-web 锁定正式版本复验。
风险与回退
Dialog 自定义动作过去隐式继承 spinner,现在必须由执行按钮显式绑定
isLoading;交互禁用仍由 Dialog 提供,迁移说明已列出。rem 在默认 16px 根字号下维持既有间距,较大根字号随之扩大。消费者应复核长文本与窄容器。无数据库迁移、凭据或生产部署配置变化。回退时先撤销消费者对新组件的使用,再回退 UI 版本;不从分支发布包。