fix: address lineage review feedback

This commit is contained in:
SuLea-IT committed 2026-05-03 06:02:39 +08:00
1 parent 5a37f584aa
commit 4d6cd5351c
26 files changed
+671 -139

No files matched your search

+26
View File
@@ -189,9 +189,33 @@ export default {
open: "View Field Lineage",
loading: "Reading metadata {done}/{total}",
empty: "No related lineage found",
noFiltered: "No results match the current filters",
targetField: "Current Field",
searchPlaceholder: "Search tables, fields, views, or SQL snippets...",
showing: "Showing {shown}/{total} results",
all: "All",
certain: "Certain",
likely: "Likely",
possible: "Possible",
queryHistory: "Query History",
openTable: "Open table",
copy: "Copy name",
copied: "Copied",
kind: {
foreignKey: "Foreign Key",
viewReference: "View",
historyReference: "SQL History",
sameName: "Same Name",
},
description: {
foreignKeyIncoming: "{target} points to the current field through a foreign key. This is a verified dependency.",
foreignKeyOutgoing: "The current field references {target} through a foreign key. This is a verified dependency.",
viewLikely: "The view definition mentions both the target table and field, usually indicating query dependency.",
viewPossible: "The view definition mentions a same-name field but not the target table, so it needs confirmation.",
historyLikely: "A historical SQL statement mentions both the target table and field. Use it as impact-analysis context.",
historyPossible: "A historical SQL statement mentions a same-name field. It may be related but needs context.",
sameName: "Another table has a same-name field. This may share business meaning but is not a verified database dependency.",
},
cancel: "Cancel",
refresh: "Analyze Again",
},
@@ -362,6 +386,8 @@ export default {
restore: "Restore to editor",
copy: "Copy SQL",
delete: "Delete",
confirmDelete: "Delete this query history entry?",
confirmClear: "Clear all query history?",
},
dangerDialog: {
title: "Dangerous Operation",
+26
View File
@@ -189,9 +189,33 @@ export default {
open: "查看字段血缘",
loading: "正在读取元数据 {done}/{total}",
empty: "没有找到相关血缘",
noFiltered: "当前筛选条件下没有结果",
targetField: "当前字段",
searchPlaceholder: "搜索表、字段、视图或 SQL 片段...",
showing: "显示 {shown}/{total} 条结果",
all: "全部",
certain: "确定",
likely: "高置信",
possible: "可能相关",
queryHistory: "查询历史",
openTable: "打开对应表",
copy: "复制名称",
copied: "已复制",
kind: {
foreignKey: "外键",
viewReference: "视图",
historyReference: "历史 SQL",
sameName: "同名字段",
},
description: {
foreignKeyIncoming: "{target} 通过外键指向当前字段,这是已确认的依赖。",
foreignKeyOutgoing: "当前字段通过外键引用 {target},这是已确认的依赖。",
viewLikely: "视图定义同时提到目标表和字段,通常表示查询依赖。",
viewPossible: "视图定义提到了同名字段,但没有同时命中目标表,需要人工确认。",
historyLikely: "历史 SQL 同时提到目标表和字段,可作为排查影响面的参考。",
historyPossible: "历史 SQL 提到了同名字段,可能相关但需要确认上下文。",
sameName: "其他表存在同名字段,可能代表相同业务含义,但不是已验证的数据库依赖。",
},
cancel: "取消读取",
refresh: "重新分析",
},
@@ -362,6 +386,8 @@ export default {
restore: "恢复到编辑器",
copy: "复制 SQL",
delete: "删除",
confirmDelete: "确认删除这条查询历史吗?",
confirmClear: "确认清空所有查询历史吗?",
},
dangerDialog: {
title: "危险操作",