Commit Graph
99 Commits
Author SHA1 Message Date
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
rarnu 733baef65a fix: 删掉不存在的属性 2026-05-02 16:39:58 +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
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
t8y2 76dfe9935d fix: improve tab styling for better visibility and usability 2026-05-02 08:58:39 +08:00
SuLe 2d49d523c5 gate sql file entry points 2026-05-02 05:34:02 +08:00
SuLe 272abb3537 clarify sql file action label 2026-05-02 05:31:12 +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 6407e13ef3 add sql file frontend api 2026-05-02 05:10:01 +08:00
SuLe d14329ea15 store connection secrets in system keyring 2026-05-02 03:37:52 +08:00
t8y2 3f71cd6dfa feat: enhance AI functionality with conversation management and cancellation 2026-05-02 03:05:02 +08:00
t8y2 4b12d34354 feat: extend SQL dialect support with additional keywords for enhanced autocompletion 2026-05-01 23:03:56 +08:00
t8y2 f5d598cdc3 feat: add Chinese localization support for AI assistant instructions and increase max tables limit 2026-05-01 21:37:47 +08:00
t8y2 557897f428 feat: enhance MySQL connection handling and update connection dialog for Doris, SelectDB, and StarRocks 2026-05-01 19:36:17 +08:00
t8y2 48921cf811 feat: add schema comparison functionality and localization support 2026-05-01 18:56:36 +08:00
t8y2 6e0fdf1c92 feat: add ssh_expose_lan configuration and localization support 2026-05-01 15:37:52 +08:00
t8y2 4eede07142 feat: add transpose functionality to DataGrid and update localization 2026-05-01 12:43:05 +08:00
t8y2 65cd285567 feat: add AiApiStyle support and integrate into AI completion and streaming functions 2026-05-01 12:10:32 +08:00
t8y2 a7b829c951 feat: add SelectDB support and update related icons 2026-05-01 11:02:41 +08:00
t8y2 63aac5f1e2 fix: unify cell detail panel header height to h-9 2026-05-01 10:19:41 +08:00
skyler 2b64b9c755 Merge pull request #44 from SuLea-IT/codex/grid-cell-selection
[codex] Add grid cell selection and details
2026-05-01 10:16:23 +08:00
t8y2 28428ee5c5 feat: add error handling and user feedback for connection toggle in TreeItem component 2026-05-01 10:11:27 +08:00
t8y2 63f9f16ca6 feat: add loading state to DataGrid component for better user feedback during SQL execution 2026-05-01 10:06:15 +08:00
SuLe 3e7abf8212 Add grid cell selection and details 2026-05-01 09:40:18 +08:00
t8y2 f5ef4fe6ce feat: update connection URL parameters handling for Doris and StarRocks databases; improve UI element heights and add localization for edit action 2026-05-01 09:22:11 +08:00
t8y2 b43e67b4fc feat: add support for Doris, StarRocks, and Redshift databases in connection handling and UI 2026-05-01 01:26:35 +08:00
t8y2 90ec8c1306 feat: add data export functionality and version display in UI 2026-05-01 01:03:13 +08:00
t8y2 e6ecb216d5 feat: add panel resizing functionality and styles for AI and sidebar panels 2026-05-01 00:35:59 +08:00
806a855ef0 Add query cancellation controls (#41)
Co-authored-by: SuLe <sule@SuLedeMacBook-Air.local>
Co-authored-by: skyler <77960507+t8y2@users.noreply.github.com>
2026-05-01 00:05:15 +08:00
t8y2 c840ab4e45 feat: implement data transfer functionality with progress tracking 2026-05-01 00:00:59 +08:00
t8y2 10b6deaf56 feat(ui): frosted glass style for context menus and dropdowns 2026-04-30 23:21:33 +08:00
t8y2 1ad60f2537 fix: remove unused activeTabContext computed 2026-04-30 22:22:22 +08:00
t8y2 1e15249da9 feat(ai): 添加流式数据处理和执行 SQL 功能 2026-04-30 21:46:57 +08:00
t8y2 9e7ed096b7 feat: add AI streaming functionality and enhance AI assistant features 2026-04-30 21:25:01 +08:00
t8y2 626c9c6049 refactor(ai): remove action type selector, let AI auto-detect intent 2026-04-30 20:18:10 +08:00
t8y2 c424085fc8 feat(icons): 使用本地数据库图标资产 2026-04-30 20:13:30 +08:00
t8y2 21e3c9f436 feat(ai): redesign AI assistant as right-side chat panel
- Chat-style conversation UI with message bubbles
- Multi-turn dialog with context history
- SQL code blocks with "Apply" and "Copy" buttons
- Toggle via Sparkles button in toolbar
- Settings dialog preserved
2026-04-30 20:12:33 +08:00
t8y2 8302d3ad03 refactor(ui): move execute and format buttons to editor toolbar 2026-04-30 19:57:04 +08:00