Commit Graph
112 Commits
Author SHA1 Message Date
t8y2 790791f946 feat: add execute mode settings and cursor position handling in SQL editor 2026-05-04 21:19:07 +08:00
Wu Clan 14d23a5824 feat: refactor the new connection dialog 2026-05-04 17:11:13 +08:00
t8y2 bc7f521604 feat: add connection group management and sidebar layout persistence 2026-05-04 13:52:42 +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 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
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
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
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
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
SuLea-IT f09d1b0973 feat: add table structure editor 2026-05-02 19:40:40 +08:00
SuLea-IT 2ebd72b3b7 feat: import table data from files 2026-05-02 19:04:41 +08:00
rarnu bbe32b9376 Merge branch 'main' into feat/sql-editor-settings 2026-05-02 17:23:33 +08:00
rarnu 4d2c34ecb1 add: 将loadTheme抽象到外部模块,使用DEFAULT_EDITOR_SETTINGS默认值,增加老的配置项迁移 2026-05-02 17:19:34 +08:00
rarnu 7722a17642 add: 增加对CodeMirror的设置页 2026-05-02 17:19:29 +08:00
SuLe 56a24b2bc7 Add database SQL export action 2026-05-02 17:16:56 +08:00
SuLe 265f95a149 Fix SQL editor and table query UX 2026-05-02 17:16:56 +08:00
SuLe 2b27d64af5 add database relationship diagrams 2026-05-02 17:16:56 +08:00
skyler 1fe40b7a09 Merge pull request #54 from SuLea-IT/codex/grid-row-change-filter
[codex] refine grid row change indicators
2026-05-02 17:07:29 +08:00
SuLe 747784ffe0 refine grid row change indicators 2026-05-02 17:03:54 +08:00
SuLe 5d48b2a76f Add database SQL export action 2026-05-02 16:41:29 +08:00
rarnu 733baef65a fix: 删掉不存在的属性 2026-05-02 16:39:58 +08:00
skyler 4efd7c2517 Merge pull request #55 from SuLea-IT/codex/issue-51-sql-table-ux
[codex] Fix SQL editor and table query UX
2026-05-02 16:28:52 +08:00
rarnu 1209a5dad6 add: 增加设置的预览框 2026-05-02 15:34:36 +08:00
rarnu 4af43e35e1 add: 增加对CodeMirror的设置页 2026-05-02 14:58:55 +08:00
SuLe 39a257753b Fix SQL editor and table query UX 2026-05-02 13:49:46 +08:00
SuLe b6f89f02fb add database relationship diagrams 2026-05-02 13:09:53 +08:00
skyler 0273f9f65d Merge pull request #50 from kingcanfish/fix/numeric-precision-display
fix: resolve PostgreSQL/MySQL/SQL Server NUMERIC/DECIMAL display issues
2026-05-02 10:36:27 +08:00
kingcanfish d1075c0042 fix: resolve PostgreSQL/MySQL/SQL Server NUMERIC/DECIMAL display issues
- Add rust_decimal feature to sqlx and tiberius for proper Decimal type handling
- Fix try_get_unchecked<String> causing NULL or garbled output for numeric types
- Add numeric_precision and numeric_scale to ColumnInfo for all database drivers
- Update frontend to display precision (e.g., numeric(20,6)) in column headers
- Fix typeColorClass to handle type names with precision suffix

Root cause: PostgreSQL binary protocol sends NUMERIC as PgNumeric binary format,
not UTF-8 text. try_get_unchecked<String> attempted to decode binary bytes as UTF-8,
causing decode failures (NULL) or garbage characters (乱码).
2026-05-02 10:14:01 +08:00
skyler 8b153bef0d Merge pull request #49 from SuLea-IT/codex/sql-file-execution
Add SQL file execution workflow
2026-05-02 09:47:33 +08:00
SuLe 2d49d523c5 gate sql file entry points 2026-05-02 05:34:02 +08:00
SuLe 78401cf9bd handle rejected sql file cancel 2026-05-02 05:28:56 +08:00
SuLe c33afc8cef wire sql file execution entry points 2026-05-02 05:28:28 +08:00
SuLe 13724a245d fix failed sql file cancel state 2026-05-02 05:26:27 +08:00
SuLe 6796357d58 harden sql file dialog cancellation 2026-05-02 05:24:07 +08:00
SuLe 2cb76f7b78 fix sql file dialog database selection 2026-05-02 05:19:10 +08:00
SuLe 08c26203e4 add sql file execution dialog 2026-05-02 05:15:41 +08:00
SuLe d14329ea15 store connection secrets in system keyring 2026-05-02 03:37:52 +08:00