Commit Graph
91 Commits
Author SHA1 Message Date
zipg 896580f1c5 feat(saved-sql): restore editor position 2026-07-05 00:34:00 +08:00
t8y2 cec17844a9 feat(structure): disable Oracle-like integer length 2026-07-04 23:17:51 +08:00
onenewcode f48e751d90 fix(redis): 修复 Redis set 类型的值中有乱码 (#2554) 2026-07-04 23:03:29 +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
t8y2 90f0594e93 feat(sql): add semantic SQL completion engine 2026-07-04 13:20:13 +08:00
二丫讲梵 90d2ede740 feat(sidebar): add connection copy paste shortcuts 2026-07-04 12:19:56 +08:00
t8y2 b80f3e8088 feat(connection): add HTTP tunnel 2026-07-03 22:11:03 +08:00
t8y2 2f9a0869a9 feat(connection): duplicate selected connections 2026-07-03 16:59:16 +08:00
Abeautifulsnow fe4908321e feat(ai): support editing sent user messages
* feat(ai): support editing sent user messages

Adds inline edit support for user messages in the AI chat panel.
Hover over a user message to reveal the edit button; confirming the
edit truncates all subsequent history and re-sends with the new content.

* fix(ai): fix IME composition and ref-focus regression in message edit

- Handle IME composition events in onEditKeydown to prevent accidental
  submission on Enter during CJK candidate selection
- Replace per-render :ref focus callback with nextTick + data attribute
  to avoid cursor jumping on every keystroke
- Extract visibleToActualIndex into aiMessageEdit.ts for testability
- Add 8 unit tests covering index mapping with contextSummary messages

* fix(ai): prevent data loss and mention pollution in message edit

- Guard connection/config before truncating messages to prevent silent data
  loss when send() bails early
- Clear selectedMentions before resend to prevent stale chips from polluting
  edited message content
2026-07-03 15:18:56 +08:00
二丫讲梵 f1f4518b67 feat(ai-table-mentions): 增加AI表格提及候选项的过滤和格式化功能 (#2502)
- 引入AI表格提及候选项的限制常量
- 实现过滤候选项的函数,支持根据表名过滤
- 添加单元测试以验证提及解析和候选项过滤的功能
2026-07-03 14:17:43 +08:00
LRcoding 21cec24e75 fix(mysql): support cleartext password auth option (#2499) 2026-07-03 13:47:47 +08:00
Spencer.Chang cb42a4184a fix(editor): avoid run gutter for MySQL REPLACE function 2026-07-03 10:36:03 +08:00
t8y2 ff73a1df42 fix(editor): keep semicolon cursor on statement 2026-07-03 00:00:44 +08:00
大峰 9083dc0e53 fix(editor): support qualified table navigation 2026-07-02 22:00:51 +08:00
Abeautifulsnow e7dffeca37 fix(ai): tool call status cards, table overflow, streaming TextDelta
* fix(ai): merge tool call status cards

* fix(ai): constrain markdown table overflow

* fix(ai): restore streaming of answer text via TextDelta events

The on_chunk closure was missing live AgentEvent::TextDelta emission for text content, causing the AI answer text to appear all at once after the turn completed. Reasoning deltas were unaffected.

Root cause: commit c30033628 rewrote the on_chunk closure and accidentally dropped the TextDelta emit line while keeping ReasoningDelta intact.

Fix: restore TextDelta emit in on_chunk for incremental streaming, and remove the post-turn full-TextDelta workaround which would duplicate content.

* test(ai): extract chunk_to_events and add streaming event tests

Extract the event-generation logic from the on_chunk closure into a pure function chunk_to_events() to make it testable, and add 6 unit tests covering all chunk content combinations: text-only, reasoning-only, mixed, empty, and edge cases.

This ensures a regression like the one fixed in the previous commit (where TextDelta emission was dropped while ReasoningDelta was kept) would be caught by tests.
2026-07-02 18:49:50 +08:00
Spencer.Chang b249768322 fix(grid): improve condition history dropdown behavior 2026-07-02 16:46:46 +08:00
8747df53ef fix(mongodb): support multi-command execution
* fix mongodb multi-command execution

* fix(connection): 复制连接时保持在同一组内

- 修改 `addConnection` 方法以支持指定目标组 ID
- 更新 `duplicateConnection` 函数以传递目标组 ID
- 添加测试用例以验证复制连接的功能

* fix: add MongoDB data transfer entry

* feat(editor): SQL 编辑器选区大小写转换

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>

* fix(editor): 修复SQL快捷执行导致执行全量SQL的问题 (#2384)

- 将执行SQL语句的逻辑从直接请求改为通过事件发射
- 增强了代码的可扩展性和可维护性

* fix(sidebar): cache tooltip overflow measurement

* fix(dialog): allow dragging window from modal overlay

* fix(oracle): reuse shared pool for data tabs

* fix(sidebar): reduce comment text repaint cost

* fix(saved-sql): preserve folder on metadata save

* fix(agent): execute transaction control SQL as statements

* feat(vector): add Qdrant/Milvus collection dimension display (#2396)

* fix(oracle): 修复时间字段编辑和表结构修改报错

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>

* fix(agents): limit common version bumps

---------

Co-authored-by: 二丫讲梵 <eryajf@163.com>
Co-authored-by: zipg <geeky@foxmail.com>
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
Co-authored-by: t8y2 <1156263951@qq.com>
Co-authored-by: lexmin0412 <zhangle_dev@outlook.com>
2026-07-02 12:19:38 +08:00
t8y2 6ee535de34 fix(sidebar): cache tooltip overflow measurement 2026-07-02 11:35:37 +08:00
二丫讲梵 de7f2fe6b6 fix(editor): 修复SQL快捷执行导致执行全量SQL的问题 (#2384)
- 将执行SQL语句的逻辑从直接请求改为通过事件发射
- 增强了代码的可扩展性和可维护性
2026-07-02 11:18:14 +08:00
Abeautifulsnow d55a708d6a feat(query): add manual transaction controls 2026-07-02 01:30:31 +08:00
luoianun 95e3cb6571 fix(presto): optimize metadata completion 2026-07-01 19:05:45 +08:00
t8y2 d88e1b1e6a fix(mcp): use node entry for Windows configs 2026-07-01 13:40:48 +08:00
zipgandstaff 5d2ce9f189 fix(sqlserver): restrict identity to compatible column types
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:48:37 +08:00
zipgandstaff a224a6747c fix: handle oracle plsql statement ranges
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:26:03 +08:00
Moe. 1a8b52410f fix(navicat): prefer ConnType when importing connections 2026-07-01 01:23:51 +08:00
zipgandstaff ea2b5d1bfd Fix:支持 SQL Server 新增字段设置自增 (#2254)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 23:30:50 +08:00
zipgandstaff 73a996ebe6 Fix: 修复 SQL Server 修改默认值时报错 (#2190)
* Fix SQL Server default constraint DDL

* Polish SQL Server default display

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 20:14:50 +08:00
t8y2 25dcbeb7e4 feat(oscar): add OSCAR database support 2026-06-30 20:07:55 +08:00
Guoyu Su 9d97197a61 fix(web): respect base path for icon assets (#2192) 2026-06-30 20:01:10 +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
zipgandstaff 58e02fcae1 Fix: 修复 MySQL DESC UPDATE 行内执行按钮解析 (#2243)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:25:14 +08:00
zipgandstaff ccb91784b3 perf(editor): cache executable statement ranges for large SQL scrolling
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 18:05:37 +08:00
zipg e3ec2228d3 fix: 优化 WHERE 字段补全排序 2026-06-29 19:42:53 +08:00
zipg 7173f07968 修复 Oracle 表别名补全语法 2026-06-29 12:06:49 +08:00
zipg b29fd75e99 Fix:避免 SQL 预览高亮失败导致白屏 2026-06-29 11:14:59 +08:00
t8y2 d01ffb0d55 feat(web): support context path deployments 2026-06-29 09:14:37 +08:00
大峰 190b5b4ad8 fix(editor): support schema-qualified table navigation 2026-06-29 01:51:20 +08:00
二丫讲梵 df43561738 feat(editor): add executable statement markers and per-statement run 2026-06-28 12:13:29 +08:00
zipg 38d300bd35 fix(mysql): 修复 enum/set 字段长度显示异常 2026-06-28 09:59:07 +08:00
zipgandzipg 5a8b129edf fix(schema-diff): reduce MySQL metadata query pressure
Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-06-27 23:57:22 +08:00
Spencer.Chang 350d2a3533 feat(connection): add Dremio JDBC connection support 2026-06-27 23:44:27 +08:00
t8y2 bc5ae91abd fix(ai): open assistant links externally 2026-06-27 16:40:04 +08:00
t8y2 c289dda97d fix(mysql): skip delimiter commands in editor 2026-06-27 15:04:13 +08:00
miracle de39c1662d feat: ZK 节点树改为真正懒加载 (#1987)
* feat: lazy load zookeeper nodes

* fix: preserve zookeeper focused path hierarchy
2026-06-27 15:02:09 +08:00
t8y2 73120883b6 fix(dameng): separate materialized view metadata 2026-06-27 14:29:44 +08:00
kkk000111999 ff810f3058 fix(sql-format): format source and DDL with proper dialects 2026-06-27 12:36:13 +08:00
t8y2 fbcf3591d0 feat(settings): add MCP config templates for AI clients 2026-06-26 19:15:12 +08:00
zipgandstaff de10296f69 fix: 修复 AI SQL 方言上下文 (#1943)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-26 17:40:41 +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