495 Commits
Author SHA1 Message Date
t8y2 d6b367ebec build(release): bump version to 0.5.1 v0.5.1 2026-05-09 18:26:41 +08:00
t8y2 8c1ba16a2c fix(grid): move transaction status near actions 2026-05-09 18:18:09 +08:00
t8y2 9b81fa5f38 fix(editor): improve SQL Server editing support 2026-05-09 18:17:56 +08:00
t8y2 9663a9b9cb fix(settings): remove footer background layer 2026-05-09 18:11:37 +08:00
t8y2 ae254bf470 fix(ai): make conversation history toggleable 2026-05-09 18:08:12 +08:00
t8y2 8d318a2146 fix(updater): fix restart after update 2026-05-09 18:08:06 +08:00
t8y2 4b0681f5af feat(settings): add about tab 2026-05-09 18:07:52 +08:00
t8y2 e984f698b2 fix(ui): 优化表格与 SQL 文件弹窗布局 2026-05-09 17:54:38 +08:00
t8y2 67bc43e997 build(release): 增加 Windows 绿色版压缩包 2026-05-09 17:42:27 +08:00
t8y2 36b1ac8eda fix(grid): 翻页后重置表格滚动位置 2026-05-09 17:39:20 +08:00
t8y2 5c52560368 feat(schema): 增加数据库对象列表缓存 2026-05-09 17:36:20 +08:00
t8y2 1fd1cb10eb perf(sidebar): 优化侧边栏搜索匹配性能 2026-05-09 17:36:09 +08:00
t8y2 de6fecb18b fix: restore workspace build and refine grid menu 2026-05-09 17:07:52 +08:00
t8y2 40a3c13961 feat(grid): improve table context menu 2026-05-09 16:36:12 +08:00
t8y2 fc460a3f78 fix(mysql): run transaction edits with raw SQL 2026-05-09 16:30:46 +08:00
t8y2 6a5dd3b51b feat(sidebar): create connections from group menu 2026-05-09 16:27:25 +08:00
t8y2 b41e548911 fix(sidebar): preserve expanded tree on refresh 2026-05-09 16:22:00 +08:00
skyler 9b4267ef7b Merge pull request #180 from rarnu/fix/toolbar-condition
Fix: 修复表数据编辑的工具栏,条件过滤和刷新丢状态的问题
2026-05-09 16:12:19 +08:00
t8y2 ba0b253680 chore(deps): update rust-gaussdb revision 2026-05-09 16:10:57 +08:00
t8y2 b8b4ef2e5a feat(editor): support tab indentation 2026-05-09 15:58:28 +08:00
t8y2 f9993dd3f8 perf(query): stream rows with result limit 2026-05-09 15:57:55 +08:00
t8y2 af029daf57 fix(db): normalize default database handling 2026-05-09 15:53:06 +08:00
rarnu c6aa0cf84f 1. 修复 ORDER BY watch 重复数组
2. WHERE / ORDER BY 输入框 @blur 处理
2026-05-09 15:51:13 +08:00
t8y2 5cffe12014 fix(deps): switch rust-gaussdb from local path to git dependency 2026-05-09 15:26:30 +08:00
t8y2 0462e6c362 chore(ci): upgrade auto-review model to deepseek-v4-pro 2026-05-09 15:18:55 +08:00
rarnu 9261cb71a2 1. src/components/grid/DataGrid.vue
- 左侧搜索框:移除了 WHERE 支持(isWhereSearch 永远返回 false),现在是纯客户端文本过滤。保留了列名代码提示功能(Tab 补全、箭头导航)。
       - WHERE 框:新增列名代码提示(独立的下拉建议面板),支持单双引号和小括号自动配对,Enter 直接应用过滤。
       - ORDER BY 框:新增列名代码提示(同样的建议面板),Enter 直接应用排序。
       - 刷新/回滚/提交:reload emit 现在传递 4 个参数 (sql, searchText, whereInput, orderBy),确保刷新后所有条件不丢失。
       - 分页/排序:统一使用新的 currentWhereInput() 函数,替代已废弃的 activeWhereInput。
       - 删除了 applyWhereSearch() 和 onSearchEnter()(左侧搜索不再需要执行 WHERE 查询)。

    2. src/composables/useDataGridActions.ts
       - onReloadData() 签名改为接受 4 个参数 (sql, searchText, whereInput, orderBy)。
       - table-data 模式刷新时,用 buildTableSql(tab, { whereInput, orderBy }) 重建 SQL,保留 WHERE 和 ORDER BY 条件。

    3. src/components/layout/ContentArea.vue
       - reload emit 签名同步更新为 4 个参数。
       - results 模式和 table-data 模式两个 DataGrid 的 @reload 处理器都转发全部 4 个参数。

    4. src/App.vue
       - ContentArea 的 @reload 处理器转发 4 个参数给 onReloadData()。
2026-05-09 15:04:06 +08:00
t8y2 9a9f67f9ae fix(window): prevent double-toggle on titlebar double-click (#179)
data-tauri-drag-region already handles double-click to maximize
natively; the @dblclick handler was calling toggleMaximize() again,
immediately restoring the window.
2026-05-09 14:51:47 +08:00
Bacon2994 ce2f97a175 fix(sidebar): 修复默认库过滤数据库树 (#175) 2026-05-09 14:42:24 +08:00
t8y2 5c911f39ff fix(ui): prevent tab scroll arrow overlapping with text
Widen the scroll button gradient area and use a solid-to-transparent
gradient (40% opaque) instead of a semi-transparent via stop, so tab
text is fully hidden behind the arrow overlay.
2026-05-09 14:26:31 +08:00
t8y2 51b8b9344f docs: update static docs for v0.5.0 new features
Add documentation for cell detail panel, ORDER BY filter, auto-fit
columns, Copy as INSERT, Redis browser overhaul, create/drop database
and schema, CROSS APPLY/OUTER APPLY completion, OceanBase Oracle mode
detection, and default database setting.
2026-05-09 13:19:39 +08:00
t8y2 c9b171b863 fix(ci): handle prerelease-to-release transition notification 2026-05-09 13:10:23 +08:00
t8y2 519f18bfd9 feat(ci): add release notification and improve message formatting 2026-05-09 12:37:27 +08:00
t8y2 6f29c38866 chore: bump version to 0.5.0 v0.5.0 2026-05-09 12:20:19 +08:00
t8y2 94927faa4c feat: add CROSS APPLY / OUTER APPLY support for SQL Server completion (#168) 2026-05-09 12:14:42 +08:00
t8y2 b899d98977 fix(mcp): write complete config_json matching Rust ConnectionConfig schema 2026-05-09 12:04:46 +08:00
t8y2 4c5de25f95 fix: enable tab context menu (close all/close others/close right) 2026-05-09 11:56:09 +08:00
t8y2 1a1f128f2b feat: Redis browser overhaul — Navicat-style table, editing, and pagination
- Unified key table with columns: key, type, value preview, size, TTL
- Top-bottom split layout: key table above, value detail below
- Virtual scrolling via RecycleScroller for large key sets
- ZSet editing: add/remove members with scores
- TTL inline editing: click badge to modify expiration
- Batch key deletion with checkbox selection
- Paginated loading for Hash/Set/ZSet/List values (HSCAN/SSCAN/ZSCAN)
- Debounced auto-search (400ms) for key filtering
- Value previews fetched during key scan for instant display
2026-05-09 11:45:50 +08:00
t8y2 d6e273e136 feat: custom titlebar with integrated window controls
- macOS: overlay mode with native traffic lights, toolbar as drag region
- Windows/Linux: frameless window with custom minimize/maximize/close buttons
- Double-click toolbar to toggle maximize
2026-05-09 10:44:34 +08:00
t8y2 26b6c50800 fix: add explicit @source to prevent Tailwind styles missing on tmpfs (#167) 2026-05-09 09:52:13 +08:00
t8y2 424bbdfc52 feat: add value editor and Set NULL in cell detail panel
Double-click value area or click Edit button to open textarea editor
for long text/JSON. Add Set NULL button for quick null assignment.
Fix: null values via ?? operator were ignored in dirty row display.
2026-05-09 01:06:19 +08:00
t8y2 ad79642502 feat: auto-fit column widths based on header and data content
Scan column names and first 50 rows to calculate optimal column width
instead of using a fixed 150px default. Double-click column separator
to auto-fit individual columns. Min 60px, max 400px.
2026-05-09 00:51:51 +08:00
t8y2 9ea098bd57 refactor: use icons for tab mode and Navicat-style tab titles
Replace text badges (SQL/表) with icons (Code2/Table2), remove
connection color dot, and adopt table@database.schema naming.
2026-05-09 00:21:56 +08:00
t8y2 70b55fe49a feat: add independent WHERE and ORDER BY filter inputs to data grid (#165)
- Split WHERE and ORDER BY into separate inputs alongside search bar
- Three equal sections: Search | WHERE | ORDER BY with border separators
- Preserve tableMeta on error so filters remain visible after failed queries
- Show schema@database format in table data badge
2026-05-09 00:11:46 +08:00
t8y2 dfd4d2d99d feat: auto-detect OceanBase Oracle mode and use Oracle-style schema queries (#155)
Introduce MysqlMode enum to distinguish Normal/Bare/OceanBaseOracle MySQL
connections. On connect, if driver_profile contains "oceanbase", detect
tenant mode via SHOW VARIABLES LIKE 'ob_compatibility_mode'. When Oracle
mode is detected, schema queries use ALL_TABLES/ALL_TAB_COLUMNS/etc.
2026-05-08 22:57:48 +08:00
t8y2 0e2fbc5a40 feat: show sort hint icon on column header hover (#165) 2026-05-08 21:44:56 +08:00
t8y2 bd08d9865d feat: add "Copy as INSERT" to data grid context menu (#166) 2026-05-08 21:33:41 +08:00
t8y2 77ed6404a0 fix: disable overscroll bounce on data grid to prevent header desync (#156) 2026-05-08 20:38:40 +08:00
t8y2 000e16e633 fix: remove EXISTS filter from GaussDB list_schemas for consistency (#154)
The EXISTS check only showed schemas containing tables, hiding empty
schemas that PostgreSQL driver would display. This caused a regression
for openGauss users after switching to the native GaussDB driver.
2026-05-08 20:20:52 +08:00
t8y2 e83a3bbab9 fix: only show configured database in sidebar when specified (#160) 2026-05-08 19:52:36 +08:00
t8y2 0e6617c817 feat: support create/drop database and schema from sidebar context menu
Add context menu actions for creating and dropping databases and schemas
directly from the sidebar tree. Supports MySQL, PostgreSQL, SQL Server,
ClickHouse, Oracle, and other server-based databases.
2026-05-08 19:24:13 +08:00