Commit Graph
167 Commits
Author SHA1 Message Date
miracle 1a309b6b63 feat(editor): configure SQL variable syntax 2026-07-11 20:45:07 +08:00
t8y2 1dd4623919 fix(sql-files): distinguish files with duplicate names 2026-07-11 18:32:17 +08:00
zipg 3747f08baa fix(table): refresh data tabs after clearing tables 2026-07-11 17:48:51 +08:00
zipg 085d7661af fix(objects): add safe object browser batch empty action 2026-07-11 17:48:45 +08:00
zipg 8d14a056b7 fix(tdengine): support table row editing 2026-07-11 13:01:33 +08:00
gggaiitx 5bcd24df1c feat(objects): open database objects in side panel 2026-07-11 12:48:57 +08:00
zipg 5d5f7feb4a feat(dameng): support identity columns in table editor 2026-07-11 09:14:35 +08:00
zipg 9cf62a1c71 fix(tdengine): group subtables under super tables 2026-07-11 00:12:45 +08:00
t8y2 375be106f8 fix(editor): keep MySQL routine as one execution target 2026-07-10 23:46:15 +08:00
t8y2 53f2a4f215 fix(spark): apply selected database to queries 2026-07-10 21:45:13 +08:00
onenewcode fc8d407a62 feat(sqlite): support table structure changes 2026-07-10 20:02:56 +08:00
gggaiitx ae4bbe1564 feat(grid): adjust column widths by density 2026-07-10 19:39:28 +08:00
gggaiitx b509520382 fix(grid): prevent horizontal scrollbar row overlap 2026-07-10 19:38:54 +08:00
zipg c35e5c560a feat(query): support editing without selected primary keys 2026-07-10 18:57:37 +08:00
zipg e1d6d1224e feat(oracle): support explain plans 2026-07-10 17:55:03 +08:00
t8y2 8c7e34a6de fix(mysql): edit enum column values 2026-07-10 16:10:54 +08:00
二丫讲梵 ea8b3f9800 feat(tabs): enhance result toolbar layout and labels 2026-07-10 15:54:01 +08:00
t8y2 abee51d625 fix(doris): use internal database for external catalogs 2026-07-10 15:48:56 +08:00
DengQingNian e429c8945b feat(mysql): edit column charset and collation 2026-07-10 15:13:57 +08:00
t8y2 5a666b1f48 fix(ai): improve assistant execution and MCP settings 2026-07-10 14:31:08 +08:00
zipgandzipg 7b2f969356 feat: support emptying multiple selected tables
* Feature: support emptying multiple selected tables

* ci: retrigger checks

* Fix batch empty safety and ClickHouse feedback

---------

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-07-10 13:36:40 +08:00
zipg 77a5943729 fix(editor): update SQL search escaping and match counts 2026-07-10 12:27:41 +08:00
zipgandzipg f73633f622 fix(sqlserver): handle query timeout and multi-result-set pagination
* Fix SQL Server query timeout and result pagination

* Address SQL Server timeout review feedback

* Cover SQL Server lock wait timeout

---------

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-07-10 10:36:11 +08:00
zipg 67edb94b1d feat(sqlserver): support legacy TLS compatibility 2026-07-09 22:45:54 +08:00
二丫讲梵 90276464b2 feat(dataGrid): fix temporal cell editor precision 2026-07-09 20:20:14 +08:00
zipgandzipg 24370135eb fix(editor): skip right quote on repeated single-quote input
Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-07-09 18:25:27 +08:00
zipg ce8cb2b509 fix(oracle): preserve DATE time in display and export 2026-07-09 15:04:34 +08:00
hhzorg d9bb92d1e9 feat(doris): show external catalogs in sidebar 2026-07-09 00:45:29 +08:00
zipgandzipg 47d9257ac2 feat(dameng): support proxy job administration
* Feature: add Dameng agent job management

* fix(duckdb): stabilize worker process tests

* fix(dameng): address job admin review

---------

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-07-09 00:39:06 +08:00
miracle 135d4e15db feat(sql): add support for @set variables in scripts and copy button 2026-07-09 00:34:51 +08:00
zipg b862870e8e fix(data-grid): show timeout actions on table data errors 2026-07-08 23:44:50 +08:00
zipg 0329d9088e feat(dameng): support schema creation 2026-07-08 19:25:20 +08:00
zipg 488f661bf3 fix(sql): allow quoted keyword table navigation 2026-07-08 17:51:03 +08:00
LRcoding 430f097602 fix(hana): improve metadata fallback and SQLScript parameters 2026-07-08 17:25:34 +08:00
Abeautifulsnow a5359798dc feat(redis): add auto-refresh countdown for key TTL display
* @
feat(redis): add auto-refresh countdown for Redis key TTL display

在 Redis 值查看器的 TTL 徽章旁增加自动刷新按钮,选中时显示 TTL 实时倒计时
(每秒递减),倒计时归零自动刷新数据,刷新按钮持续旋转。TTL 到期或网络异常
时自动关闭自动刷新避免死循环。

改动:
- RedisValueViewer.vue:新增 autoRefresh 状态、定时器与倒计时逻辑,模板增加
  Clock 切换按钮,RefreshCw 按钮支持 animate-spin 旋转
- load() 内复位倒计时;onBeforeUnmount 清理定时器

修复(review):
- #I01 TTL 到期/连接断开后自动关闭 autoRefresh 避免无限重试
- #C01 load() reject 增加 .catch() 处理 UnhandledPromiseRejection

i18n:zh-CN / zh-TW / en / ja / es / it / pt-BR 7 种语言补充 autoRefresh key
@

* @
test(redis): extract auto-refresh logic and add unit tests

将自动刷新核心决策逻辑提取为 lib/redis/redisAutoRefresh.ts 纯函数模块,
并编写 11 个单元测试覆盖状态机转换、TTL 显示计算和自动停止条件。

新增:
- lib/redis/redisAutoRefresh.ts:computeAutoRefreshTick / shouldStopAutoRefresh /
  computeDisplayTtl 纯函数
- lib/__tests__/redis/redisAutoRefresh.spec.ts:11 个测试用例

重构:
- RedisValueViewer.vue 改用提取后的纯函数,确保测试覆盖即实际运行逻辑
@
2026-07-08 15:37:27 +08:00
zipgandzipg ae288a0345 fix(sql): 兼容 MySQL 建表注释选项拆分 (#2837)
Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-07-08 13:29:55 +08:00
gggaiitx 6041c3f70b fix(sql): quote all IN-list values uniformly in expaste
Previously, pure numeric values (e.g. 90001543) in the IN clause were not quoted while values with leading zeros (e.g. 00040787) were, causing inconsistent quoting. Now all non-NULL values are uniformly quoted.
2026-07-08 10:36:01 +08:00
t8y2 611f19fd8b fix(sql): keep column completion after subqueries 2026-07-08 00:53:05 +08:00
t8y2 b3f09219ab fix(sql): cover MySQL dynamic SQL variables 2026-07-08 00:21:27 +08:00
onenewcode ba81fa4497 feat(redis): support multiple value formats in viewer (#2766)
* feat(redis): improve value decoding and viewer formats

* fix(redis): preserve stream field/value blobs

* Revert "fix(redis): preserve stream field/value blobs"

This reverts commit 168af0619a.
2026-07-08 00:13:20 +08:00
t8y2 ad9841ab77 fix(import): allow selecting create-table column types 2026-07-08 00:02:47 +08:00
zipg 5b25299417 fix(zookeeper): prevent root znode create path 2026-07-07 22:44:04 +08:00
miracle 9288717ac4 fix(sql): ignore native SQL variables 2026-07-07 22:24:48 +08:00
zipg 6cba08fccb fix(kingbase): 修复连接与元数据查询异常 2026-07-07 22:12:36 +08:00
t8y2 63ff9321a4 fix(editor): cover cross-database column completion 2026-07-07 21:51:04 +08:00
t8y2 42eaddac45 feat(editor): improve qualified table completion 2026-07-07 18:57:46 +08:00
t8y2 5a9ab5c036 feat(editor): add configurable line comment shortcut 2026-07-07 18:32:57 +08:00
一颗红心andCursor 184e235999 feat: synchronize tab titles with saved SQL file renaming (#2739)
- Bidirectional sync between SQL library and tab titles
- Case-insensitive .sql extension via shared ensureSqlExtension
- Revert tab title when rename persistence fails

Close #2648

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 18:09:01 +08:00
zipg d50f1761d6 fix(sql): handle database drag and routine export 2026-07-07 15:54:48 +08:00
zipg d90847bbba feat(ai): support SQL library file references 2026-07-07 15:39:10 +08:00