Commit Graph

160 Commits

Author SHA1 Message Date
t8y2 24537093ad feat(update): add API endpoint to retrieve app version and update client-side calls 2026-05-05 16:01:38 +08:00
t8y2 3acd9280ac chore: add oxfmt + husky + lint-staged for code formatting and CI format checks 2026-05-05 15:41:34 +08:00
t8y2 c295bf5780 feat(sql): add save/open SQL file buttons and enable tab persistence on desktop 2026-05-05 15:18:54 +08:00
t8y2 10d1d31053 Refactor code structure for improved readability and maintainability 2026-05-05 13:21:04 +08:00
t8y2 f0941c083e feat: update tab execution logic to handle multiple tabs with SQL queries 2026-05-05 12:07:02 +08:00
t8y2 6beae4e139 feat: add Docker update instructions for non-desktop users in UpdateDialog 2026-05-05 12:01:56 +08:00
t8y2 45785fd11e feat: enhance connection and query store logic for improved tab management and persistence 2026-05-05 11:11:08 +08:00
t8y2 e76b836eb4 feat: refactor database loading logic and update database options handling 2026-05-05 05:13:55 +08:00
t8y2 c8c13eacac feat: add AI assistant SQL handling functions for query tab management 2026-05-05 04:18:51 +08:00
t8y2 bdd8b3fa03 refactor: split App.vue into composables and layout components
Extract 11 composables and 5 layout components from App.vue, reducing it
from 1921 to 327 lines. Unify dialog overlay style across DialogContent
and DialogScrollContent for consistent backdrop appearance.
2026-05-05 04:14:00 +08:00
t8y2 794c5375c7 feat: add execute-script route and handler for executing SQL scripts 2026-05-05 03:22:26 +08:00
t8y2 41bceffc0e feat: add web deployment with axum server, Docker support, and browser UI
Introduce src-web (axum HTTP server) exposing all 43 database operations
as REST APIs with SSE streaming for AI, transfers, and SQL file execution.
Frontend adapts automatically between Tauri and HTTP backends via api.ts.
Includes password authentication, Docker packaging, and login page.
2026-05-05 03:16:50 +08:00
t8y2 7bee4bca55 fix: adjust layout and improve connection selection UI for better usability 2026-05-05 00:22:14 +08:00
t8y2 50f55bd6dc feat: enhance connection selection UI with database icons 2026-05-04 23:51:33 +08:00
t8y2 790791f946 feat: add execute mode settings and cursor position handling in SQL editor 2026-05-04 21:19:07 +08:00
t8y2 af9c206d75 feat: add auto-update support via tauri-plugin-updater 2026-05-04 18:14:40 +08:00
t8y2 0877abe960 fix: clean up tab bar styling - remove bottom border accent and hover background 2026-05-04 17:35:19 +08:00
skyler ae34d33a1d
Merge pull request #83 from wu-clan/refactor-new-connection
feat: refactor the new connection dialog
2026-05-04 17:22:54 +08:00
Wu Clan 14d23a5824 feat: refactor the new connection dialog 2026-05-04 17:11:13 +08:00
yavon007 a7161ac821 feat: improve active tab visual distinction with bottom border accent 2026-05-04 14:29:55 +08:00
yavon007 a3396f1601 revert: restore single-click to open table data in sidebar 2026-05-04 14:26:34 +08:00
yavon007 e85f8bc6fd Merge remote-tracking branch 'origin/main'
# Conflicts:
#	src/components/sidebar/TreeItem.vue
2026-05-04 14:14:48 +08:00
t8y2 bc7f521604 feat: add connection group management and sidebar layout persistence 2026-05-04 13:52:42 +08:00
yavon007 20078c7a8c feat: improve tab bar scrolling and sidebar interaction
- Add left/right scroll buttons with gradient overlay for tab overflow
- Sync scroll button visibility on resize and tab changes
- Use invisible pin button to prevent tab width jump on hover
- Simplify tab layout by removing mode icon, reordering badge
- Change sidebar table/view to open on double-click instead of single-click
2026-05-04 13:33:26 +08:00
skyler 1818cd3b78
Merge pull request #78 from SuLea-IT/codex/issue-76-database-search
[codex] Add database-wide search
2026-05-04 12:05:37 +08:00
SuLea-IT 5534b13fde feat: add database-wide search 2026-05-04 12:01:19 +08:00
SuLea-IT 8bd1d4c2a8 feat: improve connection and table tree UX 2026-05-04 11:49:28 +08:00
t8y2 12c1a60362 feat: add select-none class to sidebar for improved user experience 2026-05-04 02:55:19 +08:00
t8y2 33cb298a8d feat: disable autocorrect and spellcheck for input fields across components 2026-05-04 02:55:19 +08:00
t8y2 71c7ae08c8 feat: add type filtering functionality and update translations for filter options 2026-05-04 02:55:19 +08:00
t8y2 ae21053f69 feat: add execute_multi command and update query handling for multiple results 2026-05-04 02:55:19 +08:00
t8y2 c328b3bf49 feat: add tooltip functionality and translations for tab information 2026-05-04 02:55:19 +08:00
yavon007 2bd7d1be1a fix: use AcceptableValue type for Select update handler
The Select component's @update:model-value callback expects
AcceptableValue (string | number | null), not string.
2026-05-03 20:44:29 +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 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
t8y2 26429aa5d6 feat: add MCP guide and welcome page MCP integration hint 2026-05-03 15:27:35 +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 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 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
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 f598b5a91c feat: enhance MySQL connection handling with bare option and optimize component imports 2026-05-02 23:25:39 +08:00
skyler fb2982500e
Merge pull request #62 from rarnu/fix/ai-chat-api
fix: 大模型配置中的API选项边框
2026-05-02 21:56:12 +08:00
rarnu 1dbe49cafb fix: AI大模型配置,选择的API不明显,添加蓝色的边框来更明确的指出 2026-05-02 21:26:46 +08:00