Commit Graph
69 Commits
Author SHA1 Message Date
t8y2 cb51832d7b fix(structure): default editor to columns 2026-07-11 13:45:49 +08:00
zipg 5d5f7feb4a feat(dameng): support identity columns in table editor 2026-07-11 09:14:35 +08:00
onenewcode fc8d407a62 feat(sqlite): support table structure changes 2026-07-10 20:02:56 +08:00
gggaiitx 2f3d1de46a fix(structure): default edit view to DDL 2026-07-10 18:14:18 +08:00
t8y2 8c7e34a6de fix(mysql): edit enum column values 2026-07-10 16:10:54 +08:00
DengQingNian e429c8945b feat(mysql): edit column charset and collation 2026-07-10 15:13:57 +08:00
t8y2 0431fbea49 fix(ui): preserve tab scroll positions 2026-07-10 00:35:33 +08:00
t8y2 92ef1ac3cf feat(structure): open editor from field and index nodes 2026-07-06 14:16:43 +08:00
t8y2 7e7c4944e9 refactor(desktop): organize lib modules by domain 2026-07-04 13:53:52 +08:00
zipgandstaff 022df3665f feat: 优化编辑表结构页面体验 (#2406)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 16:09:53 +08:00
zipgandstaff 4da237d955 fix(app): 修复 Oracle 表结构已有字段识别
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 16:05:01 +08:00
zipgandstaff 8129ecda88 fix(editor): keep edit-structure entry across table property tabs
* fix: 保留表属性编辑结构入口

* fix: 加深表属性页签选中态

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:51:44 +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 ea2b5d1bfd Fix:支持 SQL Server 新增字段设置自增 (#2254)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 23:30:50 +08:00
zipg 79051437db Fix:修复表结构字段拖拽排序交互 (#2119) 2026-06-29 20:20:41 +08:00
zipg 3b457c13ec feat(structure): add DDL edit entry and drag reorder 2026-06-29 12:26:43 +08:00
zipg a65a5881d5 Fix:保留表结构编辑未保存草稿 2026-06-29 12:11:59 +08:00
zipg 38d300bd35 fix(mysql): 修复 enum/set 字段长度显示异常 2026-06-28 09:59:07 +08:00
zipg 28e7cdfacc improve: 统一表单控件小圆角样式 2026-06-28 00:51:45 +08:00
kkk000111999 ff810f3058 fix(sql-format): format source and DDL with proper dialects 2026-06-27 12:36:13 +08:00
t8y2 2268771533 fix(structure): refine editor input focus styles 2026-06-26 17:15:27 +08:00
t8y2 cdfe576024 fix(structure): load dynamic data type options 2026-06-26 15:22:33 +08:00
Spencer.Chang 529454e6d1 feat(structure): add configurable preset fields for new tables 2026-06-25 01:05:36 +08:00
zipg 1c7ef0d235 feat(mysql): optimize table structure loading 2026-06-23 17:31:37 +08:00
t8y2 c94cfb6a91 fix(structure): refresh metadata after applying changes 2026-06-22 11:26:07 +08:00
t8y2 a643cd74dc fix(structure): support postgres-like foreign keys 2026-06-18 19:52:01 +08:00
t8y2 30cf9a4e92 feat(structure): add default value quick-pick presets to table designer 2026-06-18 19:24:40 +08:00
t8y2 2649005efd feat: allow reordering draft columns in table structure editor 2026-06-16 17:39:03 +08:00
John Jin 1afc271c18 feat: add QuestDB support
Thanks @ptma!
2026-06-14 22:58:05 +08:00
Vergil Lai f385386284 feat(manticore): add Manticore Search support
Add Manticore Search table data editing, structure editing, metadata handling, and SQL completion support.
2026-06-14 16:01:02 +08:00
t8y2 cbc7f9b0db fix(gbase): support 8a and 8s profiles 2026-06-14 10:16:24 +08:00
t8y2 a858a6bd18 feat(mysql): edit foreign keys and triggers 2026-06-12 12:29:46 +08:00
t8y2 a017e04d4c feat(structure): auto name new indexes 2026-06-11 22:40:10 +08:00
t8y2 26d714909e feat(elasticsearch): model indices as first-class nodes 2026-06-11 12:52:47 +08:00
t8y2 521a3021c4 fix(clickhouse): load table index metadata 2026-06-11 12:23:28 +08:00
t8y2 edba8214b5 feat: show username/password fields for Access database connections 2026-06-10 08:37:18 +08:00
DengQingNiananddqn 65d7a0ab8f feat(structure): add DDL tab to table structure editor (#893)
Closes #836

Co-authored-by: dqn <someonegdeng@qq.com>
2026-06-09 10:12:22 +08:00
Xudong Guo 9b15843e1a feat: add KWDB support 2026-06-05 16:55:38 +08:00
t8y2 120566b1fd fix: improve JDBC dialect handling 2026-06-04 19:40:52 +08:00
t8y2 293600d9b4 fix: pass connection query timeout to execute_batch so ALTER respects configured timeout
Previously execute_batch always used the hardcoded 30s default timeout,
ignoring the user's query_timeout_secs connection setting. This caused
long-running ALTER TABLE statements on large tables to time out even
when the user configured a longer timeout or disabled it entirely.
2026-06-04 13:54:20 +08:00
t8y2 e67894bea7 chore: upgrade frontend tooling and speed up checks 2026-06-03 12:20:27 +08:00
t8y2 cac90c7b62 fix(opengauss): open table structure editor 2026-06-02 18:50:00 +08:00
t8y2 cc9c174fc5 fix(structure-editor): copy preview SQL and record history 2026-06-02 10:30:51 +08:00
t8y2 130a33808e feat(desktop): improve table structure editor 2026-06-01 23:52:53 +08:00
t8y2 a18fb60524 fix(structure-editor): hide unsupported column reorder controls 2026-06-01 12:35:23 +08:00
vrustx c24e3a5086 feat: add table structure density control (#558) 2026-05-31 00:52:09 +08:00
t8y2 55cad0cc08 fix(structure): reuse compatible data type options 2026-05-30 19:32:34 +08:00
Abeautifulsnow 310cc22b37 Fix/disable table comment for unsupported db (#518)
* fix(structure-editor): disable table comment input for databases that don't support comments (e.g. SQLite)

## 背景说明
SQLite 不支持表注释(COMMENT),但表注释输入框始终可编辑。用户修改注释后,SQL 预览显示暂无变更且应用变更按钮不可用,造成困惑的 UX。

## 修改内容
- 新增 isTableCommentDisabled 计算属性,基于 structureCapabilities.comment 控制禁用状态
- 表注释 Input 添加 :disabled 绑定,禁用时输入框变灰不可编辑
- 禁用时在输入框右侧显示 Info 图标,hover 显示 Tooltip 说明
- 三语言(zh-CN / en / es)新增 tableCommentUnsupported 翻译

## 影响范围
- SQLite、DuckDB 及未知数据库类型:输入框被禁用 + Tooltip 提示
- MySQL、PostgreSQL、ClickHouse 等支持注释的数据库:完全不受影响
- 后端 generate_comment_ddl 已有对等过滤(仅 Postgres/Oracle/ClickHouse 生成 COMMENT SQL)

## 测试
- 建议补充:dbType 为 sqlite 时 isTableCommentDisabled 为 true 的单元测试

* test(structure-editor): add tests for table comment disabled state and unsupported DB capabilities
2026-05-29 12:29:50 +08:00
t8y2 c7b7bed140 feat(editor): add extended column properties support for MySQL, PostgreSQL, and SQL Server
MySQL: AUTO_INCREMENT, ON UPDATE CURRENT_TIMESTAMP
PostgreSQL: GENERATED AS IDENTITY (BY DEFAULT / ALWAYS)
SQL Server: IDENTITY(seed, increment)
2026-05-29 00:41:51 +08:00
t8y2 ab12ab5c11 feat(editor): add keyboard navigation to type selector and column resize to structure editor
- SearchableSelect: support ArrowUp/Down to navigate filtered options, Enter to select, Escape to dismiss
- TableStructureEditor: add drag-to-resize column widths and horizontal scrolling for the columns table
2026-05-29 00:22:08 +08:00