Commit Graph
6519 Commits
Author SHA1 Message Date
yavon007 8106b6370c Merge remote-tracking branch 'origin/main' 2026-05-03 20:34:19 +08:00
yavon007 a59494e4c4 fix: guard index column splits, restrict INCLUDE/WHERE by db, unify index type dropdowns
- Filter empty strings from STRING_AGG/LISTAGG splits in SQL Server, Oracle, MySQL
- Emit INCLUDE clause only for PostgreSQL and SQL Server (not MySQL/SQLite)
- Emit WHERE clause only for PostgreSQL, SQL Server, SQLite (not MySQL)
- Replace index type free-text input with dropdown for all 5 database types
- Fix hardcoded column count in resize handle (use indexColLabels.length - 1)
- Fix pg_get_indexdef type mismatch: cast k.n from bigint to integer
2026-05-03 20:33:09 +08:00
yavon007 25f2f46718 fix: correct PostgreSQL numeric_scale formula and add index SQL test coverage
The numeric_scale extraction used (& 2047) - 1024 which produces negative
values; fixed to & 65535. Added 12 tests for index SQL generation: INCLUDE,
USING, WHERE, COMMENT ON INDEX, type prefix, and combined scenarios.
2026-05-03 20:11:44 +08:00
yavon007 51dfba9829 feat: improve index editor with dropdowns, resizable columns, and search
- Replace text inputs with dropdown menus for index and included column selection
- Add search/filter support in column dropdowns for large column lists
- Highlight selected items with background color for easy toggling
- Add resizable column widths via drag handles on table headers
- Add index type, included columns, filter, and comment columns to index table
2026-05-03 20:10:35 +08:00
yavon007 4e1b35186b feat: add index type, included columns, filter, and comment support
- Add filter, index_type, included_columns, and comment fields to IndexInfo
- PostgreSQL: query pg_am for index type, use indnkeyatts to split key/included columns, retrieve index comments via obj_description()
- SQL Server: add type_desc, filter_definition, included columns via is_included_column
- MySQL: add INDEX_TYPE from information_schema.STATISTICS
- Oracle: add INDEX_TYPE from ALL_INDEXES
- DDL generation: add USING (PostgreSQL), type prefix + INCLUDE + WHERE (SQL Server), COMMENT ON INDEX (PostgreSQL)
- Frontend: update types, state mapping, SQL generation, and i18n translations
2026-05-03 20:10:35 +08:00
yavon007 b88e1b8ccb fix: improve column type precision and SQL correctness across all databases
- PostgreSQL: rewrite column query from information_schema to pg_attribute for accurate type info via format_type(atttypid, atttypmod); extract character_maximum_length from atttypmod for varchar/bpchar; fix execute_query with persistent(false) and empty result fallback
- SQL Server: reconstruct column types with precision (varchar(max), decimal(p,s), datetime2(p)); stop dividing nvarchar/nchar CHARACTER_MAXIMUM_LENGTH by 2
- MySQL: use COLUMN_TYPE instead of DATA_TYPE for full type definitions; add CHARACTER_MAXIMUM_LENGTH; fix ONLY_FULL_GROUP_BY with MIN(NON_UNIQUE)
- Oracle: add CHAR_LENGTH/DATA_LENGTH for column type precision; fix INDEX_OWNER join to prevent cartesian product
- SQLite: fix PRAGMA injection via double-quote escaping; detect primary key indexes via origin column
2026-05-03 20:10:35 +08:00
t8y2 2e4ac5a574 fix: correct product name casing in tauri configuration 2026-05-03 18:52:05 +08:00
t8y2 3cd328ece8 feat: enhance application run logic to handle macOS window reopening 2026-05-03 18:50:12 +08:00
t8y2 3c15a0bf16 ci: add GitHub Pages deployment for docs 2026-05-03 16:55:43 +08:00
t8y2 c1f7349c5c docs: add VitePress documentation site with i18n
Full documentation site with English and Chinese versions:
- Home page with feature cards and screenshots
- 17 guide pages per language covering all features
- Local search, language switcher, sidebar navigation
2026-05-03 16:54:36 +08:00
t8y2 26429aa5d6 feat: add MCP guide and welcome page MCP integration hint 2026-05-03 15:27:35 +08:00
t8y2 b771e69f29 chore: bump version to 0.3.9 v0.3.9 2026-05-03 15:13:48 +08:00
t8y2 468506318a docs: add MCP Server section to README and publish to MCP Registry 2026-05-03 15:01:06 +08:00
t8y2 06c584c38d feat: update version to 0.1.3 and add server configuration 2026-05-03 14:59:20 +08:00
t8y2 53df4e56cb feat: MCP bridge enhancements — window focus, execute-query, markdown output
- Auto-focus DBX window when MCP opens a table or executes a query
- Ensure connections are loaded before handling MCP events
- Add /execute-query bridge route and dbx_execute_and_show tool
- Format all tool responses as markdown tables (less tokens, more readable)
- Extract shared bridgeRequest helper to reduce duplication
2026-05-03 14:50:44 +08:00
t8y2 68a8b382b2 chore: remove .mcp.json from tracking and add to gitignore 2026-05-03 14:46:45 +08:00
t8y2 d4ab3ac895 feat: enhance DBX tools with markdown table formatting and improved error handling 2026-05-03 14:44:25 +08:00
t8y2 09f32d7316 feat: add MCP Server for AI agent database access
TypeScript MCP Server that reads DBX connection configs and exposes
5 tools: list connections, list tables, describe table, execute query,
and open table in DBX UI. Published as @dbx-app/mcp-server on npm.
2026-05-03 14:36:06 +08:00
t8y2 aa59c26fa2 feat: add MCP bridge for AI agent integration
Localhost HTTP listener (dynamic port) allows MCP Server and other AI agents
to open tables directly in DBX UI via Tauri events.
2026-05-03 14:35:48 +08:00
t8y2 da70b8f2c1 chore: bump version to 0.3.8 v0.3.8 2026-05-03 13:01:46 +08:00
t8y2 58d6acb2b1 feat: add DM (Dameng) database support and compatibility hint 2026-05-03 12:56:25 +08:00
t8y2 a66cffb692 feat: add configuration export/import with passphrase encryption 2026-05-03 12:46:49 +08:00
skyler 1b8d56a43b Merge pull request #65 from SuLea-IT/codex/field-lineage
[codex] Add field lineage viewer and review fixes
2026-05-03 11:18:36 +08:00
skyler 5bd346f505 Merge pull request #64 from yavon007/main
feat: SSH key passphrase, file picker, and DataGrid search autocomplete
2026-05-03 11:15:16 +08:00
SuLea-IT 4d6cd5351c fix: address lineage review feedback 2026-05-03 06:02:39 +08:00
SuLea-IT 5a37f584aa feat: add field lineage viewer 2026-05-03 05:39:05 +08:00
yavon007 83f5e34cea feat: add autocomplete to DataGrid search input
- Show WHERE keyword suggestion when typing 'w'/'wh' at the start
- Auto-complete column names from current table after WHERE clause
- Dropdown follows cursor position dynamically
- Tab or mouse click to accept suggestion, Enter for WHERE search
- Smart quote/parenthesis pairing: ', ", ( auto-close with cursor centered
- Skip over existing closing character instead of duplicating
- Arrow keys navigate suggestions, Escape dismisses
2026-05-03 04:39:14 +08:00
yavon007 58ca9a3b21 feat: add SSH key passphrase field and file picker for key path
- Add ssh_key_passphrase field to ConnectionConfig model with full keyring lifecycle
- Pass passphrase to russh load_secret_key for encrypted SSH keys
- Add native file picker (FolderOpen icon) next to SSH key path input
- Add password-type input for key passphrase in connection dialog
- Make connection dialog form scrollable for short windows
- Fix alignment of key path input and browse button
- Add i18n keys (en + zh-CN)
2026-05-03 04:39:03 +08:00
t8y2 0fdd0c1f9b feat: enhance SQL completion suggestions for JOINs and comma-separated tables 2026-05-03 00:00:23 +08:00
t8y2 05d0b0408c chore: bump version to 0.3.7 in Cargo.lock 2026-05-02 23:52:04 +08:00
t8y2 fb8b06cc14 chore: bump version to 0.3.7 v0.3.7 2026-05-02 23:29:38 +08:00
t8y2 f598b5a91c feat: enhance MySQL connection handling with bare option and optimize component imports 2026-05-02 23:25:39 +08:00
t8y2 db31a7c45e chore: optimize release profile with panic=abort and fat LTO 2026-05-02 22:54:19 +08:00
t8y2 37e1f78d3d fix: use per-target Rust cache keys and align CI runner for cache reuse 2026-05-02 22:50:34 +08:00
t8y2 fc12e1e7c7 fix: add libgtk-3-dev and fix ubuntu platform check in release workflow 2026-05-02 22:35:29 +08:00
t8y2 d3d680b224 chore: switch release LTO from fat to thin for faster builds 2026-05-02 22:30:30 +08:00
t8y2 f1851b7b2e fix: update Ubuntu platform version in release workflow 2026-05-02 22:28:30 +08:00
skyler fb2982500e Merge pull request #62 from rarnu/fix/ai-chat-api
fix: 大模型配置中的API选项边框
2026-05-02 21:56:12 +08:00
skyler adb7bc9253 Merge pull request #61 from SuLea-IT/codex/explain-plan-viewer
feat: add explain plan viewer
2026-05-02 21:54:54 +08:00
t8y2 44c98ba335 feat: add support for bare MySQL connections and improve SQL query handling for doris 2026-05-02 21:51:50 +08:00
rarnu 1dbe49cafb fix: AI大模型配置,选择的API不明显,添加蓝色的边框来更明确的指出 2026-05-02 21:26:46 +08:00
SuLea-IT d180539778 feat: add explain plan viewer 2026-05-02 21:00:53 +08:00
t8y2 eab5556b6f feat: enhance AI streaming with reasoning support and UI updates 2026-05-02 20:43:49 +08:00
skyler 935a99c1c9 Merge pull request #60 from SuLea-IT/codex/table-structure-editor
feat: add table structure editor
2026-05-02 19:50:54 +08:00
SuLea-IT f09d1b0973 feat: add table structure editor 2026-05-02 19:40:40 +08:00
skyler b335aacdba Merge pull request #59 from SuLea-IT/codex/table-file-import
feat: import table data from files
2026-05-02 19:26:19 +08:00
SuLea-IT 2ebd72b3b7 feat: import table data from files 2026-05-02 19:04:41 +08:00
t8y2 608a02a0bb chore: bump version to 0.3.6 v0.3.6 2026-05-02 17:48:30 +08:00
t8y2 f16df842cd fix: update the contributor image link to include version parameter 2026-05-02 17:43:38 +08:00
skyler 5ae482592b Merge pull request #58 from rarnu/feat/sql-editor-settings
Feat/sql editor settings
2026-05-02 17:37:53 +08:00