perf(export): 优化导出ui体验和性能
* docs(getting-started): set brew upgrade to use official homebrew cask * fix(mysql): make admin show handling dialect aware * fix(data-compare): create missing target tables during sync * feat(sql): suggest join conditions from foreign keys * fix(sidebar): use filtered order for range selection * fix(tabs): close connection tabs on disconnect * fix(sqlserver): execute cte queries without wrapping * fix(opengauss): open table structure editor * perf(export): 优化导出ui体验和性能 * perf(export): 优化导出ui体验和性能 * fix(export): normalize status casing and fix web route issues - Add missing table export web routes (POST /export/table, SSE progress, cancel) - Fix tauri table export Promise to wait for terminal events - Change cancel to return Ok(()) so it doesn't get overwritten as Error - Unify ExportStatus to PascalCase across all frontend components - Fix http.ts table export POST body wrapping - Fix duplicate pub mod in dbx-web routes * fix(export): return export file for browser download in web mode Write table export output to temp dir, register a download endpoint, and trigger browser download from the frontend when export completes. * fix(export): avoid table export progress races --------- Co-authored-by: Francesco Lucarelli <francesco06lucarelli@gmail.com> Co-authored-by: t8y2 <1156263951@qq.com> Co-authored-by: dqn <someonegdeng@qq.com>
This commit is contained in:
22 files changed
+1282
-159
No files matched your search
@@ -654,6 +654,18 @@ export default {
|
||||
sortUnsupported: "This SQL does not support full-result sorting. Try again with a single SELECT query.",
|
||||
truncatedHint: "Results truncated to {count} rows. Use the footer pagination or adjust rows per page.",
|
||||
},
|
||||
exportProgress: {
|
||||
title: "Exporting Table Data",
|
||||
fetching: "Fetching data from database...",
|
||||
writing: "Writing to file...",
|
||||
done: "Export completed!",
|
||||
error: "Export failed",
|
||||
cancelled: "Export cancelled.",
|
||||
rowsCount: "{exported} / {total} rows",
|
||||
rowsExported: "{count} rows exported",
|
||||
cancel: "Cancel",
|
||||
close: "Close",
|
||||
},
|
||||
welcome: {
|
||||
title: "Database Workspace",
|
||||
subtitle: "Choose a connection on the left to browse schema, or open a query tab directly.",
|
||||
|
||||
@@ -587,6 +587,18 @@ export default {
|
||||
sortUnsupported: "Este SQL no admite ordenamiento del resultado completo. Intenta con una consulta SELECT simple.",
|
||||
truncatedHint: "Los resultados están limitados a 10.000 filas. Usa LIMIT/OFFSET en tu consulta para paginar.",
|
||||
},
|
||||
exportProgress: {
|
||||
title: "Exportando datos de la tabla",
|
||||
fetching: "Obteniendo datos de la base de datos...",
|
||||
writing: "Escribiendo en el archivo...",
|
||||
done: "¡Exportación completada!",
|
||||
error: "Error de exportación",
|
||||
cancelled: "Exportación cancelada.",
|
||||
rowsCount: "{exported} / {total} filas",
|
||||
rowsExported: "{count} filas exportadas",
|
||||
cancel: "Cancelar",
|
||||
close: "Cerrar",
|
||||
},
|
||||
welcome: {
|
||||
title: "Espacio de trabajo de base de datos",
|
||||
subtitle:
|
||||
|
||||
@@ -644,6 +644,18 @@ export default {
|
||||
sortUnsupported: "当前 SQL 不支持全量排序,请改为单条 SELECT 查询后再尝试。",
|
||||
truncatedHint: "结果已截断,仅显示前 {count} 行。可通过底部分页继续加载,或调整每页行数。",
|
||||
},
|
||||
exportProgress: {
|
||||
title: "导出表数据",
|
||||
fetching: "正在从数据库获取数据...",
|
||||
writing: "正在写入文件...",
|
||||
done: "导出完成!",
|
||||
error: "导出失败",
|
||||
cancelled: "导出已取消。",
|
||||
rowsCount: "已导出 {exported} / {total} 行",
|
||||
rowsExported: "已导出 {count} 行",
|
||||
cancel: "取消",
|
||||
close: "关闭",
|
||||
},
|
||||
welcome: {
|
||||
title: "数据库工作台",
|
||||
subtitle:
|
||||
|
||||
Reference in new issue
Block a user