forwardport: cherry-pick EE PR #635 to main [AI-resolved]#804
Merged
forwardport: cherry-pick EE PR #635 to main [AI-resolved]#804
Conversation
Coverage report
Test suite run success3628 tests passing in 810 suites. Report generated by 🧪jest coverage report action from b438eee |
Rain-1214
approved these changes
Mar 27, 2026
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.
Forward-port of changes from
csvw-4.2505.x(原 EE PR actiontech/dms-ui-ee#635).来源仓库:actiontech/dms-ui-ee
来源分支:csvw-4.2505.x
变更说明
checkPagePermission),无权限时隐藏「查看完整报告」和「AI 性能引擎」按钮CompanyNoticeBanner改为position: fixed,通过 CSS 变量--notice-banner-height动态调整内容区和 PageHeader 的top偏移SqlRewrittenExampleDrawer添加示例描述文字(新增 i18n key)SqlRewrittenDrawer支持外部传入title(React.ReactNode)冲突文件
packages/base/src/page/Home/AIBanner/index.tsxAI 解决说明
EE 从
@actiontech/shared导入BasicButton/BasicTag,CE 中这两个组件位于@actiontech/dms-kit→ 已修正为从dms-kit导入;PERMISSIONS/usePermission均在 CE 的@actiontech/shared/lib/features中存在,保持不变。快照说明
EE 侧的 3 个
[test]: update snapshotcommits 已跳过(EE mock 数据与 CE 存在差异),需开发者在本地运行以下命令更新快照:JEST_TEST_VERSION_ENV=ce pnpm jest --testPathPattern="AIBanner" --updateSnapshotChecker 结果
ESLint ✅ Stylelint ✅ Prettier ✅
TypeScript 有 2 个
ErrorBoundary预先存在的错误(CE main 本身问题,与本次变更无关)。Made with Cursor