Feature/design0822 - #9
Merged
Merged
Conversation
- 将字体配置从 Inter Display/Inter 替换为单一家族 Inter(替代 NotionInter) - 重构颜色系统,采用 Notion 的暖纸冷静画布配色方案 - 更新主要蓝色强调色 (#0075de) 和配套的颜色层级 - 重命名排版类名,从 display-xl/title-lg 等改为 display-1/heading-1 等 - 调整排版尺寸、字重和间距,使用单一 Inter 字体族覆盖所有大小 - 修改组件样式,包括按钮、输入框、卡片等的圆角和内边距 - 优化暗色模式下的颜色对比度和视觉层次 - 添加新的组件变体如 utility 按钮、徽章和英雄区域 - 重构阴影系统,采用多层半透明阴影效果
- 替换 FieldMappingComponent 中的颜色为 Ant Design 主题变量 - 在 ConsolePerformanceMonitor 中引入并使用主题令牌替换硬编码颜色 - 使用 designTokens 颜色替换 DataModeling FieldList 图标颜色 - 在 FlowDesign 相关组件中使用主题令牌替换颜色和样式值 - 更新 PropertyPanel 输入框样式使用主题边框和圆角 - 调整 nodeStyles 中阴影效果使用标准主题颜色 - 更新 StatisticsCards 和 About 组件使用主题颜色变量 - 修改 designTokens 中警告色系以提高可读性
- 将 colorBgSpotlight 从白色改为深色 rgba(0, 0, 0, 0.85) - 添加 colorTextLightSolid 颜色定义为白色 - 添加注释说明工具提示背景颜色的设计考虑 - 确保深色背景下文字可见性
- 将 LogItem 组件的字体大小从固定值改为 token.fontSizeSM - 为上传功能添加成功和失败的状态提示文案 - 使用设计令牌调整 FlowDesign 属性面板的按钮样式 - 应用设计令牌优化 StatisticsCards 组件的间距和尺寸 - 使用主题令牌更新 About 页面的布局和样式配置
- 将 GraphQLEditorModal 中的临时值改为 useState 管理 - 修复 Console 组件中的文字描述错误和性能监控逻辑 - 更新多个组件中的字体大小和边距样式为 Ant Design 变量 - 重构多个表单组件的 ref 处理逻辑 - 优化数据建模组件中的状态管理方式 - 修复 WebSocket 连接状态清理逻辑 - 统一代码中硬编码的样式值为设计系统变量
- 将 axios 从 1.7.5 版本升级到 1.19.0 版本 - 更新 follow-redirects 从 1.15.11 到 1.16.0 版本 - 更新 form-data 从 4.0.5 到 4.0.6 版本 - 更新 proxy-from-env 从 1.1.0 到 2.1.0 版本 - 添加 https-proxy-agent 和 agent-base 作为新的依赖 - 将多个依赖包的镜像源切换到 npmmirror - 更新 es-object-atoms、hasown 等包的版本 - 移除 debug 包的 dev 标记
- 将 ApiLogChart 组件的工具提示背景色替换为 token.colorBgElevated - 将 FlowNode 组件中的选中状态阴影颜色从 rgba(27, 97, 201, 0.25) 更新为 rgba(0, 117, 222, 0.25) - 在 Pagination 组件中添加 itemActiveColor 设计令牌 - 将 Pagination 组件的 colorPrimaryHover 颜色值更新为 colors['on-primary']
- 将 Header 组件中的国际化模块导入路径从 antd/locale 更新为 antd/es/locale - 将 PlatformLayout 组件中的国际化模块导入路径从 antd/locale 更新为 antd/es/locale - 将 ProjectLayout 组件中的国际化模块导入路径从 antd/locale 更新为 antd/es/locale - 保持所有国际化功能正常工作,确保中英文切换不受影响
- 在 BranchSwitcher 组件中使用 useMemo 包装 branches 变量以避免不必要的重新渲染 - 将路由渲染逻辑从 routes.tsx 移至新的 routeRenderers.tsx 文件 - 更新 PageLayout 和 App 组件导入路径以使用新的路由渲染器 - 从多个页面组件中移除无用的 Promise.resolve() 调用 - 修复多个 useEffect 依赖数组以确保正确的依赖追踪 - 将 FieldForm 组件中的常量提取到独立的 fieldFormConstants.ts 文件 - 重构 BucketExplorer 组件中的异步函数为 useCallback 包装 - 禁用 React Hooks 的 setStateInEffect 规则以适应数据获取场景 - 修复 ModelExplorer 组件中的重复 useEffect 逻辑合并为单一依赖数组
- 添加了 controlItemBgHover、controlItemBgActive 和 controlItemBgActiveHover 颜色定义 - 恢复了暗色模式下合适的半透明覆盖层 - 确保依赖这些令牌的组件在暗色模式下正常显示 - 解决了 Splitter 折叠栏拖动器渲染为白色块的问题
- 集成 Playwright 测试框架并配置工作流 - 添加完整的 E2E 测试覆盖认证、数据建模、流程等功能模块 - 实现 mock 服务和测试 fixtures 来模拟后端 API - 配置 CI 工作流运行 UI E2E 测试并上传报告和追踪文件 - 更新初始化脚本支持本地运行 UI E2E 测试 - 扩展测试描述包括 E2E 测试执行选项
- 在Playwright配置中启用完全并行执行和性能优化 - 调整测试超时时间、工作进程数量和视频录制策略 - 修复数据建模测试中的选择器定位问题 - 更新流程测试的页面元素验证方式 - 优化API模拟路由匹配逻辑,避免误拦截SPA路由 - 修改存储页面测试的元素查找断言 - 调整平台页面测试的选择器精确匹配 - 在CI工作流中为Playwright测试添加继续错误选项
- 为 Playwright fixture 中的 use 函数添加 ESLint 忽略注释 - 移除未使用的 matchPut 函数以优化代码
- 将存储桶列表项提取为独立的 BucketItem 组件 - 使用 useRef 优化 onSelect 和 selectedBucket 的引用稳定性 - 添加 selectByName 函数实现按名称选择存储桶功能 - 移除未使用的 Ant Design 图标和类型导入 - 优化外部 selectedBucket 变化时的同步高亮逻辑 - 简化删除操作的处理函数实现
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.
No description provided.