Commit Graph
3749 Commits
Author SHA1 Message Date
zipg dd4d099e30 fix(grid): darken selected-cell border and align paint theme fallbacks
Two CI failures blocked the previous revision:

- The branch was 592 commits behind main, so it still carried the
  dataGridSelectionContrast snapshot test that upstream has since
  removed. Rebased on the current main, which drops it.
- dataGridPaintTheme.spec.ts asserts a contrast ratio of at least 3
  between the selected-cell border and fill. Against the deeper
  rgb(179, 208, 254) fill the old rgb(59, 130, 246) border only reached
  2.34, so the light border is darkened to rgb(37, 99, 235) (3.29).

The paint theme fallback constants and the spec expectations are updated
to match, so the rendered color and the resolved tokens stay in sync.
2026-09-20 17:28:33 +08:00
Lee bc74d5a73e fix(grid): improve selected row 2026-09-20 17:28:19 +08:00
t8y2 8a56515e61 fix(mcp): guide Redis database selection
Closes #9684
2026-09-20 14:26:36 +08:00
t8y2 eebb08227b fix(ai): update partner default models 2026-09-20 13:59:35 +08:00
二丫讲梵 908eab3c3a feat(meilisearch): import JSON and enhance document export 2026-09-20 13:50:39 +08:00
Terry Yao 853a408d30 fix(objects): open view data tab on double-click and stop source toggle-off 2026-09-20 13:49:05 +08:00
高桥凉介 47f6f1934e fix(driver-store): scroll long driver and plugin lists in place 2026-09-20 12:56:52 +08:00
zipg 758d21167a fix(sidebar): pin vgroup rows before flat rows on sort 2026-09-20 12:52:50 +08:00
efeire 33afb0b432 feat(oceanbase-oracle): split execution time from client wait 2026-09-20 12:31:47 +08:00
xcstatus 1294708eea feat(mcp): add native MySQL session transactions 2026-09-20 12:23:12 +08:00
luo jiyin 01bd07bb97 ci(win7): enable safe Rust compile caching 2026-09-20 12:18:04 +08:00
Ken 8074971399 fix(ai): fix database selector long-name tooltip and layout 2026-09-20 12:17:51 +08:00
Elias 4a5dca63fb fix(xugu): require database before connecting 2026-09-20 12:17:37 +08:00
Melody Ruch ffe1e3a2ee fix(sql): keep Oracle anonymous blocks with local routines whole 2026-09-20 12:17:15 +08:00
zipg 929c72407d improve(updates): run component updates in background 2026-09-20 12:17:03 +08:00
zipg b0cac9f714 fix(ddl): resolve DDL view formatting dialect by database type 2026-09-20 12:16:25 +08:00
t8y2 b040600e47 fix(sidebar): preserve virtual table group ordering during refresh
Closes #9665
2026-09-20 11:38:09 +08:00
efeire a924285136 feat(transactions): add manual transactions to more execution paths 2026-09-20 11:07:11 +08:00
zipg 88ba58a79c fix(sql-analysis): tolerate Oracle admin DDL in diagnostics 2026-09-20 11:06:40 +08:00
efeire 06fc0df234 feat(oceanbase-oracle): support graphical execution plans 2026-09-20 11:05:39 +08:00
弈秋 832a4aa9ad fix(plugins): make batch-mode cancel exit batch mode 2026-09-20 11:05:13 +08:00
zipg 6babd1bf9b fix(updates): sync entry-point states after component updates 2026-09-20 11:03:31 +08:00
t8y2 faa8709266 feat(plugins): stream cancellable downloads to atomic local files
Refs: t8y2/dbx-plugin-s3#22
2026-09-20 04:09:15 +08:00
zipg efe21c2731 fix(transfer): enable vastbase data transfer 2026-09-20 01:48:42 +08:00
Loc Nguyen c5312553f1 fix(redis): skip comment lines when executing editor commands 2026-09-20 01:48:20 +08:00
Melody Ruch 01f8326575 feat(sql-file): support pasting file paths in execute dialog 2026-09-20 01:48:10 +08:00
Melody Ruch be36b45510 fix(ai): list mention tables from composer-selected database 2026-09-20 01:42:39 +08:00
jearhe 4f3be8ccfb fix(plugin): resolve result-view by UI contribution 2026-09-20 01:32:23 +08:00
jearhe dc6c9b5c7c fix(schema-diff): fan out metadata by sqlserver capacity 2026-09-20 01:28:49 +08:00
二丫讲梵 5b937388e5 feat(meilisearch): add index creation 2026-09-20 01:18:26 +08:00
javalover123 28cc1b9768 feat(editor): handle tabs after connection disconnect 2026-09-20 01:12:21 +08:00
zipg 3cb1faf1c6 fix(editor): skip INSERT hints duplicating projection aliases 2026-09-20 00:51:06 +08:00
二丫讲梵 86115971fa fix(meilisearch): hide generic new-query entry for meilisearch 2026-09-20 00:50:55 +08:00
Melody Ruch fa3925ca52 feat(editor): add whitespace display toggle for SQL editor 2026-09-20 00:50:44 +08:00
zipg fff07eff00 improve(updates): close update center after component updates 2026-09-20 00:50:25 +08:00
zipg f9b984da68 fix(diagram): align multi-schema export positions with canvas 2026-09-20 00:50:14 +08:00
luo jiyin ead307dba0 build(win7): make the WebView2 loader build reproducible 2026-09-20 00:50:03 +08:00
efeire 04376ef3fb feat(oceanbase-oracle): support sequences, synonyms and db links 2026-09-20 00:49:44 +08:00
efeire a19a4f595d fix(oceanbase-oracle): handle manual transactions on grid save/switch 2026-09-20 00:49:33 +08:00
efeire 30d8b3970a fix(oceanbase-oracle): bound first query result page 2026-09-20 00:49:12 +08:00
Jinpy b1b99eccfb feat(desktop): deliver font settings to plugin sandboxes 2026-09-19 19:13:30 +08:00
zipgandzipg c71c35624b fix(structure): 表结构编辑器补充可拖拽的纵向滚动条 (#9585)
编辑表结构的「字段 / 索引」页签之前只有自绘的横向滚动条,纵向只能靠滚轮,
字段较多时既没有“还有更多内容”的视觉提示,也无法拖拽定位。

- 复用 useVerticalOverlayScrollbar 组合式函数,为当前激活的表格页签
  (字段 / 索引)渲染与横向滚动条同款的覆盖式纵向滚动条;
- 页签面板改为三行两列的 grid:工具栏、滚动区、横向条在第一列,
  纵向条独占第二列,仅在有溢出且处于表格页签时出现;
- 隐藏该滚动区残留的原生纵向滚动条,避免与自绘条重叠;
- 补充单测:纵向滚动条在有溢出时出现、拖拽可同步 scrollTop,
  以及非表格页签(DDL)下不渲染。

Fixes #9408

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-09-19 15:23:27 +08:00
zipgandzipg 687b988b7d fix(mysql): 显式配置的 group_concat_max_len 稳定生效并补充连接表单提示 (#9582)
DBX 连接 MySQL 时会执行 SET SESSION group_concat_max_len = 1048576,
避免 GROUP_CONCAT 结果被静默截断(#2775)。但当用户在 URL 参数里用
Connector/J 语法 sessionVariables=group_concat_max_len=... 显式指定值时,
内置语句与用户语句的执行先后取决于底层驱动,覆盖行为不具备确定性;
连接表单也没有任何提示,导致按服务端配置排查问题时被误导(#9412)。

- 新增显式覆盖检测:解析 sessionVariables 中的赋值目标,命中
  group_concat_max_len(含大小写、@ 前缀、session 限定)时不再下发内置的
  SET SESSION,用户/服务端的值始终生效;@user 变量与 @@global. 赋值不影响
  默认行为。
- 连接表单 URL 参数下方为 MySQL 增加提示,说明可用的覆盖写法
  (sessionVariables=group_concat_max_len=@@global.group_concat_max_len 即
  完全跟随服务端配置),并补齐 10 个语言包文案。

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-09-19 15:23:16 +08:00
zipgandzipg 74c275b2ce fix(sqlserver): 表结构支持查看约束(主键/唯一/外键/检查/默认值) (#9581)
SQL Server 连接的「编辑表结构」面板里只有 DDL/字段/索引/外键/触发器,
没有「约束」页签;用户无法查看某张表的约束。

list_constraints 在 SQL Server 驱动中完全缺失:驱动侧没有对应实现,
dbx-core 的 list_constraints_core 没有 SQL Server 分支,直接落到默认的
空数组;前端 tableMetadataCapabilities 也没有声明 sqlserver 支持,
因此即使是空页签也不会渲染。

- dbx-drivers 新增 list_constraints,用一条 UNION ALL 查询汇总
  sys.key_constraints(PK/UNIQUE)、sys.foreign_keys(含引用库表列、
  ON UPDATE/DELETE 动作、is_not_trusted)、sys.check_constraints、
  sys.default_constraints;列名用 FOR XML PATH('') 聚合,兼容 SQL Server
  2008(无 STRING_AGG)
- list_constraints_core 增加 SQL Server 分支与链接服务器早退
- tableMetadataCapabilities 为 sqlserver 打开 constraints,前端显示「约束」页签
- 新增单测覆盖 SQL 形态与列名拆包,并补充前端能力断言

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-09-19 13:31:45 +08:00
zipgandzipg ed1881e323 fix(editor): 右键粘贴含 CRLF 的剪贴板文本不再报选区越界 (#9576)
SQL 编辑器里选中一百多行后,右键“粘贴”从 Excel 复制的表格数据会报
“读取剪贴板失败:Selection points outside of document”,文档内容不变;
先删除文本再粘贴则正常。

右键粘贴按剪贴板原文长度计算光标位置,而 CodeMirror 会把插入文本中的
\r\n、\r 归一化为 \n,实际写入的文本比原文短,光标落到文档末尾之后,
dispatch 抛出 RangeError: Selection points outside of document。

- 新增 queryEditorClipboardPasteChange:先归一行尾再按实际插入长度计算光标
- QueryEditor 右键粘贴改用它,选区长度不再影响粘贴是否成功

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-09-19 13:31:40 +08:00
Jinpyandjinpy.he 58fd050a28 fix(desktop): keep timeout inherit flags when saving plugin connections (#9579)
* fix(desktop): keep timeout inherit flags when saving plugin connections

* fix(desktop): hide dead query timeout scope from plugin connections

query_timeout_secs only feeds the database query pipeline (dataGrid,
queryStore); plugin connections such as SSH never consume it, so the
generic Advanced-tab radio only suggested a budget the provider cannot
honor. Hide the row for plugin connections while keeping hydration and
submit untouched, and pin the round-trip contract (explicit inherit
flag, preserved scalar) plus the deliberate keep of the connect timeout
radio in the regression spec.

---------

Co-authored-by: jinpy.he <jinpy.he@kuehne-nagel.com>
2026-09-19 13:31:36 +08:00
luo jiyin cf6467ab08 perf(ci): shard frontend checks and vitest suites 2026-09-19 12:39:20 +08:00
t8y2 3100a918cc feat(plugins): classify install beacons by kind and client id 2026-09-19 10:56:01 +08:00
dienaso 280af02120 fix(sql): keep merge update set line in statement continuation 2026-09-19 10:55:37 +08:00
zipg ffb915061f feat(editor): select all and deselect all in completion column picker 2026-09-19 10:55:21 +08:00