Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/base/src/__snapshots__/App.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`App render App when "checkPageAction" is false 1`] = `
<div>
<section
class="css-m36rcd"
class="css-7jjle5"
>
<div
class="dms-layout-side css-g2hyay"
Expand Down Expand Up @@ -337,7 +337,7 @@ exports[`App render App when "checkPageAction" is false 1`] = `
class="dms-layout-content"
>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand All @@ -349,7 +349,7 @@ exports[`App render App when "checkPageAction" is false 1`] = `
/>
</div>
<div
class="css-1n5cj6v"
class="css-1su4mhq"
>
<div
class="ant-card ant-card-loading ant-card-bordered ai-banner-card"
Expand Down Expand Up @@ -1109,7 +1109,7 @@ exports[`App render App when "isUserInfoFetched" is equal false 1`] = `<div />`;
exports[`App render App when token is existed 1`] = `
<div>
<section
class="css-m36rcd"
class="css-7jjle5"
>
<div
class="dms-layout-side css-g2hyay"
Expand Down Expand Up @@ -1544,7 +1544,7 @@ exports[`App render App when token is existed 1`] = `
class="dms-layout-content"
>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand All @@ -1556,7 +1556,7 @@ exports[`App render App when token is existed 1`] = `
/>
</div>
<div
class="css-1n5cj6v"
class="css-1su4mhq"
>
<div
class="ant-card ant-card-loading ant-card-bordered ai-banner-card"
Expand Down
5 changes: 4 additions & 1 deletion packages/base/src/locale/en-US/dmsHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ export default {
aiPerformanceEngine: 'AI Performance Engine',
aiSmartCorrection: 'AI Smart Correction',
paidFeaturePrompt:
'This feature is a paid value-added module. Please contact sales for details'
'This feature is a paid value-added module. Please contact sales for details',
aiBannerExampleDrawerTitle: 'SQL Rewritten Example',
aiBannerExampleDrawerDescription:
'This example shows the SQL comparison after AI smart correction. When using it in practice, please first perform SQL audit, and the system will automatically provide the correction entry for the SQL that triggers the rules.'
},
defaultScene: {
header: {
Expand Down
5 changes: 4 additions & 1 deletion packages/base/src/locale/zh-CN/dmsHome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ export default {
times: '次',
aiPerformanceEngine: 'AI 性能引擎',
aiSmartCorrection: 'AI 智能修正',
paidFeaturePrompt: '当前功能为付费增值模块,请联系商务获取详细信息'
paidFeaturePrompt: '当前功能为付费增值模块,请联系商务获取详细信息',
aiBannerExampleDrawerTitle: 'SQL 重写示例',
aiBannerExampleDrawerDescription:
'本示例展示 AI 智能修正后的 SQL 对比。实际使用时,请先进行 SQL 审核,系统将针对触发规则的 SQL 自动提供修正入口。'
},
defaultScene: {
header: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`test base/page/Account ce should match snapshot 1`] = `
<div>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`test base/page/Account should match snapshot 1`] = `
<div>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -686,7 +686,7 @@ exports[`test base/page/Account should match snapshot 2`] = `
<div>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -1693,7 +1693,7 @@ exports[`test base/page/Account should match snapshot when "getUserInfoLoading"
<div>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`base/AvailabilityZoneList render availability zone table 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -420,7 +420,7 @@ exports[`base/AvailabilityZoneList should render empty tips when request not suc
<body>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`test base/page/CloudBeaver should match snapshot when sql query is disabled 1`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -1472,7 +1472,7 @@ exports[`test base/page/CloudBeaver should match snapshot when sql query is disa
exports[`test base/page/CloudBeaver should match snapshot when sql query is disabled 2`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -2991,7 +2991,7 @@ exports[`test base/page/CloudBeaver should match snapshot when sql query is disa
exports[`test base/page/CloudBeaver should render jump to cloud beaver when sql query is enable 1`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`test base/page/CloudBeaver should match snapshot when sql query is disabled 1`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -630,7 +630,7 @@ exports[`test base/page/CloudBeaver should match snapshot when sql query is disa
exports[`test base/page/CloudBeaver should match snapshot when sql query is disabled 2`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -2478,7 +2478,7 @@ exports[`test base/page/CloudBeaver should match snapshot when sql query is disa
exports[`test base/page/CloudBeaver should render jump to cloud beaver when sql query is enable 1`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ exports[`first should match snapshot when pageState is equal CREATE_TASK 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
class="actiontech-page-header-namespace fixed-style css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -1351,7 +1351,7 @@ exports[`first should match snapshot when pageState is equal SUBMIT_RESULT 2`] =
exports[`first should match snapshot when pageState is equal SUBMIT_WORKFLOW 1`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ exports[`test base/DataExport/Create/CreateExportTask should match snapshot when
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
class="actiontech-page-header-namespace fixed-style css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -897,7 +897,7 @@ exports[`test base/DataExport/Create/CreateExportTask should match snapshot when
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
class="actiontech-page-header-namespace fixed-style css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`test base/DataExport/Create/SubmitWorkflow should match snapshot 1`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -250,7 +250,7 @@ exports[`test base/DataExport/Create/SubmitWorkflow should match snapshot 1`] =
exports[`test base/DataExport/Create/SubmitWorkflow should match snapshot 2`] = `
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ exports[`test base/DataExport/Detail should match snapshot 1`] = `
class="workflow-detail-content"
>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -982,7 +982,7 @@ exports[`test base/DataExport/Detail should match snapshot 2`] = `
class="workflow-detail-content"
>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -3563,7 +3563,7 @@ exports[`test base/DataExport/Detail should match snapshot 3`] = `
class="workflow-detail-content"
>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -6144,7 +6144,7 @@ exports[`test base/DataExport/Detail should match snapshot 4`] = `
class="workflow-detail-content"
>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -8725,7 +8725,7 @@ exports[`test base/DataExport/Detail should match snapshot with reject workflow
class="workflow-detail-content"
>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`test base/DataExport/List render batch close button When the user is no
<div>
<section>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -982,7 +982,7 @@ exports[`test base/DataExport/List render init snapshot 1`] = `
<div>
<section>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -1614,7 +1614,7 @@ exports[`test base/DataExport/List render init snapshot 2`] = `
<div>
<section>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -2733,7 +2733,7 @@ exports[`test base/DataExport/List render table filter items 1`] = `
<div>
<section>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`test base/DataExport ce should match snapshot 1`] = `
<div>
<article>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`page/DataSource/AddDataSource render add database snap 1`] = `
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
class="actiontech-page-header-namespace fixed-style css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -1270,7 +1270,7 @@ exports[`page/DataSource/AddDataSource render conenctable modal when current ser
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
class="actiontech-page-header-namespace fixed-style css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -2872,7 +2872,7 @@ exports[`page/DataSource/AddDataSource render submit when add database api succe
class="css-doq0dk"
>
<div
class="actiontech-page-header-namespace fixed-style css-1xspr0w"
class="actiontech-page-header-namespace fixed-style css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`base/DataSource/BatchImportDataSource render connectable error modal 1`
<body>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -426,7 +426,7 @@ exports[`base/DataSource/BatchImportDataSource render init snap 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down Expand Up @@ -611,7 +611,7 @@ exports[`base/DataSource/BatchImportDataSource render upload file 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ exports[`page/DataSource/DataSourceList render list snap 1`] = `
<body>
<div>
<div
class="actiontech-page-header-namespace css-1xspr0w"
class="actiontech-page-header-namespace css-ex8bfe"
>
<div
class="title"
Expand Down
Loading
Loading