Commit Graph
169 Commits
Author SHA1 Message Date
dde8d4584f feat(sqlfile): add refresh, locate, and context menu to SQL Files panel (#2715)
* feat(sqlfile): add refresh, locate, and context menu to SQL Files panel

- Add per-folder Refresh and Reveal-in-file-manager buttons on each opened
  folder header, plus a Refresh-all button on the panel toolbar. Re-scan
  prunes expand state for paths that no longer exist after refresh.
- Add right-click context menus (via CustomContextMenu) for files, folders,
  folder headers, and the panel background: open, execute SQL file, reveal
  in file manager, copy path, expand/collapse all, refresh, remove folder.
- Highlight the selected tree row on click/right-click; clicking empty space
  clears the selection.
- Wire "Execute SQL file" from the panel into the App-level
  SqlFileExecutionDialog via connectionStore.sqlFileSource.filePath + a new
  prefillFilePath prop, so the dialog opens with the file preview preloaded.
- Add zh-CN/en strings under sqlFileTree.

* chore(i18n): autofill new translations

* fix(sqlfile): clear prefillFilePath on close, dedupe i18n keys

---------

Co-authored-by: wanqinghua <wanqhua@gmail.com>
Co-authored-by: dbx-i18n-bot <github-actions[bot]@users.noreply.github.com>
Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-07 10:34:32 +08:00
t8y2 7155992e04 feat(import): create table during data import 2026-07-07 02:01:02 +08:00
t8y2 9cbe857a2a feat(update): 应用内更新提示支持英文 release notes 2026-07-07 00:26:56 +08:00
jischengandt8y2 5db0fc4fb1 fix(grid): reuse local result rows for csv/xlsx export instead of re-running query
* fix(grid): reuse local result rows for csv/xlsx export instead of re-running query

Exporting the full result set ("导出当前结果集全部数据 CSV") previously
re-executed the source SQL on the database via the backend streaming path
(exportQueryResultViaBackend -> start_query_result_export), and the frontend
fallback (fullExportResult/fetchTabResultForExport) did the same. For a slow
query this means running it a second time just to export rows already on
screen, which can hang or crash (e.g. a 2-minute paimon query returning 30
rows).

When the in-memory result already holds the complete set (no server-side
pagination, not truncated, no further pages), skip both re-executing paths and
write the displayed rows directly. Large/truncated/paginated results keep the
original streaming behavior unchanged.

* fix(grid): export raw in-memory result for complete local result set

---------

Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-06 20:06:57 +08:00
ahua 7ff4d9f804 fix(sqlfile): make folder list update reactively 2026-07-06 18:47:45 +08:00
gggaiitx 2fd2b0e770 fix: allow default database for tree-schema databases
TREE_SCHEMA mode databases (saphana, jdbc, postgres, etc.) use an empty string to represent the default database selection. The previous check treated empty string as no database selected and incorrectly blocked query execution.
2026-07-06 18:22:56 +08:00
miracle b118ca31ed [Feat]:实现SQL变量替换 (#2597) 2026-07-06 13:21:45 +08:00
zipgandstaff 5c35755219 Feature:新增多套应用配色主题 (#2559)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-05 00:34:47 +08:00
t8y2 223ecbec20 fix(oracle): skip rowid for view data queries 2026-07-04 17:07:43 +08:00
t8y2 7e7c4944e9 refactor(desktop): organize lib modules by domain 2026-07-04 13:53:52 +08:00
gggdsgandCursor e7ec2ecaf2 fix(mongodb): route find result sorting through shell sort clauses
Use find().sort() for MongoDB query grid sorting instead of SQL ORDER BY,
and normalize document browser sort input the same way as filters.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-03 15:47:38 +08:00
t8y2 1ff3676531 fix(data): use saved row limit for table opens 2026-07-03 14:00:39 +08:00
t8y2 6f2e4774f4 feat(updates): add AtomGit update download source 2026-07-03 11:01:27 +08:00
CSXFanMeng 82e9df1853 feat(export): add all-database export 2026-07-02 21:16:56 +08:00
二丫讲梵 af9ad39ffb feat(sidebar): 添加一键折叠所有节点功能
- 在侧边栏中添加了“折叠所有”按钮,用户可以一键折叠所有展开的节点。
- 更新了相关的国际化文本,支持多语言。
- 增加了 collapseAllGroups 和 collapseExpandedTreeNodes 函数以支持新功能。
2026-07-02 18:50:01 +08:00
zipgandstaff 4efff9a190 fix(editor): prompt before closing unsaved SQL tabs
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 16:43:55 +08:00
onenewcode 71e618dd46 fix: support mysql install scripts without selected database (#2356) 2026-07-02 13:18:49 +08:00
ff1a0f5eda fix: 隔离 MySQL 大库场景前台查询与后台元数据加载 (#2354)
* fix: isolate data tab mysql queries from metadata loads

* refactor(completion): drop unused limiter snapshot and share concurrency constant

---------

Co-authored-by: zero <zero@zeroMacmini.local>
Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-01 20:03:09 +08:00
t8y2 74165cc045 fix(data): decouple table open limit from result page size 2026-07-01 15:14:32 +08:00
t8y2 c2bae3b957 fix(grid): refresh copied insert after row edits 2026-07-01 02:10:47 +08:00
啥都不会 427d0c548b fix(mysql): allow create database without selection 2026-06-30 21:56:47 +08:00
jischeng 112fce1050 fix(data-tab): fall back to LIMIT 0 preview for snapshot-less lake tables (#2197)
Lake/external tables (e.g. Paimon in StarRocks) return 'There is currently no snapshot' on data reads when no snapshot exists yet, while metadata reads (DESC/SHOW CREATE) still succeed. Opening such a table surfaced the raw server error because executeTabSql stores the failure as an 'Error' result and never reached the column fetch. Detect that error result and retry the preview with LIMIT 0, which returns the table structure (columns + empty grid). Skip the synthetic-row-id re-query on this path since it is another data read that would fail the same way.
2026-06-30 18:42:05 +08:00
zipg 95be4fb195 fix: 修复 SQL Server 列注释显示 2026-06-30 17:31:57 +08:00
funnytime 3e7cf30ce5 feat(grid): add data grid quick entry 2026-06-30 09:14:44 +08:00
zipg 6e1b49bc34 Fix: 修复 MSSQL 空表 Canvas 新增行丢失 2026-06-29 11:11:22 +08:00
t8y2 ca30e8ff2d fix(grid): expand auto-fit column width 2026-06-29 01:44:35 +08:00
zipg 7e5b6b8e77 fix: highlight formatted json in cell detail 2026-06-28 23:47:21 +08:00
zipg e2f6edba9c fix: support mongodb copy insert statements 2026-06-28 22:09:16 +08:00
zipg 33422ec921 feat(mongodb): support editing find query results 2026-06-28 18:59:27 +08:00
zipg 585a6e2d40 fix(mongodb): expand nested JSON strings when copying rows as JSON 2026-06-28 18:57:03 +08:00
二丫讲梵 433907e96e feat(grid): support result source labels 2026-06-28 13:58:23 +08:00
t8y2 a7f3e6bbb4 feat(export): name result files from tab title 2026-06-28 12:48:53 +08:00
zipg 9a730ce188 fix(grid): 修复 Ctrl 点选单元格变成区间选择 2026-06-28 10:33:25 +08:00
zipg a25bd5441f feat(grid): add expanded overflow cell editor 2026-06-28 02:09:31 +08:00
t8y2 474b2bc6ce fix(dameng): defer table metadata refresh 2026-06-27 15:54:25 +08:00
eryajf 76e2d33cd3 feat(update): add configurable update download source 2026-06-26 22:25:42 +08:00
二丫讲梵 10aff74072 feat(export-tracker): 增强导出任务跟踪功能 (#1958)
- 添加了对数据库导出、SQL 文件导出和数据传输任务的支持
- 引入了新的状态和错误处理机制
- 实现了任务的重叠检查,防止同时进行相同目标表的数据传输
- 更新了 API 调用以支持新的任务类型
- 增加了相应的国际化文本
- 添加了单元测试以确保新功能的正确性
2026-06-26 18:50:25 +08:00
zipgandstaff 04021d39f8 fix: 优化单元格详情布局 (#1920)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 16:13:18 +08:00
二丫讲梵 861200d664 fix: 修复webdav自动定时同步异常的问题 (#1921) 2026-06-26 15:35:48 +08:00
49e79eb934 feat: 支持 SQL 参数查询
* Fix: 支持 SQL 参数查询

* Fix: 修复前端格式检查

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
Co-authored-by: t8y2 <1156263951@qq.com>
2026-06-26 14:19:05 +08:00
zipgandstaff 74d57982c9 feat: 执行查询前提示选择数据库
* Improve:执行查询前提示选择数据库

* Fix:补齐连接配置测试字段

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 14:03:27 +08:00
t8y2 367d3682d2 fix(desktop): use custom window controls on Linux 2026-06-26 11:11:22 +08:00
t8y2 dff94d60f5 fix(oceanbase): show oracle mode schemas in sidebar 2026-06-26 02:03:00 +08:00
lexmin0412 c2376494d3 feat(vector): add ChromaDB support 2026-06-26 01:41:36 +08:00
zipg d5b483b050 fix(tdengine): fix table data preview 2026-06-25 22:58:25 +08:00
t8y2 42541d1146 fix(export): align row limits and progress 2026-06-25 17:01:32 +08:00
zipg 150daadb53 fix(grid): optimize data grid interactions 2026-06-25 13:51:14 +08:00
t8y2 bf9ef4365b feat(vector): add weaviate support 2026-06-25 00:31:27 +08:00
t8y2 b89df5a43c feat(sql): save external files locally 2026-06-24 23:13:17 +08:00
t8y2 15546387db feat(editor): filter schema selector options 2026-06-24 22:12:32 +08:00