Commit Graph

633 Commits

Author SHA1 Message Date
vrustx 02e1b943e8
fix(editor): skip duplicate table aliases 2026-07-12 12:21:12 +08:00
miracle 16e879e40e
perf(query): optimize result loading and connection reuse 2026-07-12 11:18:52 +08:00
onenewcode 24c63b6012
feat(elasticsearch): render REST JSON responses 2026-07-12 10:49:25 +08:00
wuxiemian 1be66fb115
feat(safety): add production environment safeguards 2026-07-12 10:02:27 +08:00
二丫讲梵 add57d3ae0
feat(toolbar): redesign query result toolbar layout 2026-07-12 00:30:43 +08:00
t8y2 1dd4623919 fix(sql-files): distinguish files with duplicate names 2026-07-11 18:32:17 +08:00
t8y2 cb51832d7b fix(structure): default editor to columns 2026-07-11 13:45:49 +08:00
zipg 8d14a056b7
fix(tdengine): support table row editing 2026-07-11 13:01:33 +08:00
zipg 5d5f7feb4a
feat(dameng): support identity columns in table editor 2026-07-11 09:14:35 +08:00
Abeautifulsnow 088a4a081b
fix(ai): preserve editor content for SQL actions 2026-07-11 08:55:51 +08:00
zipg 343a5ba6c9
fix(grid): separate table open row limit 2026-07-11 08:55:43 +08:00
二丫讲梵 264909aaa9
feat(mongo): add document JSON preview 2026-07-11 01:00:47 +08:00
t8y2 53f2a4f215 fix(spark): apply selected database to queries 2026-07-10 21:45:13 +08:00
SuLea-IT 68cfb5af5c
fix(query): reduce retained result memory 2026-07-10 18:15:25 +08:00
gggaiitx 2f3d1de46a
fix(structure): default edit view to DDL 2026-07-10 18:14:18 +08:00
vrustx 34cf69132d
fix(editor): rank exact completion matches first 2026-07-10 18:12:35 +08:00
vrustx 024a4aedd6
fix(editor): resolve JOIN tables for navigation 2026-07-10 18:10:08 +08:00
t8y2 8c7e34a6de fix(mysql): edit enum column values 2026-07-10 16:10:54 +08:00
二丫讲梵 ea8b3f9800
feat(tabs): enhance result toolbar layout and labels 2026-07-10 15:54:01 +08:00
DengQingNian e429c8945b
feat(mysql): edit column charset and collation 2026-07-10 15:13:57 +08:00
t8y2 9903747381 fix(redis): preserve large JSON numbers 2026-07-10 13:50:30 +08:00
LSD 0efc724369
fix(nacos): improve config list scrolling
* fix(nacos): improve config list scrolling

* fix(nacos): add resizable config list columns
2026-07-10 13:40:27 +08:00
t8y2 cb6350bef6 fix(query): support editing distinct results 2026-07-10 13:19:28 +08:00
t8y2 a9428e3c73 feat(editor): naturally sort schema options 2026-07-10 13:16:07 +08:00
miracle 3ff4f470f2
fix(mysql): reuse data tab client session 2026-07-10 10:56:48 +08:00
SuLea-IT 8a30bb26f9
fix(settings): preserve editor font after UI font changes 2026-07-10 10:40:10 +08:00
t8y2 1e6ac0ccff fix(grid): batch row delete updates 2026-07-09 21:17:37 +08:00
t8y2 39d956f2e8 fix(redis): skip confirmation for regular writes 2026-07-09 18:59:12 +08:00
Guoyu Su 15d392bc44
fix(transfer): keep task active after table errors 2026-07-09 18:30:29 +08:00
t8y2 87efe469a4 fix(desktop): reduce grid scroll jank 2026-07-09 17:55:33 +08:00
t8y2 c015d95016 fix(grid): restore row actions and remove edit badge 2026-07-09 17:37:36 +08:00
t8y2 aa0abcd670 feat(query): support broader result editing 2026-07-09 14:35:59 +08:00
Guoyu Su ca9e11217e
fix(mongodb): support collection drop shell command 2026-07-09 14:16:32 +08:00
Guoyu Su 65a92afce8
fix(desktop): preserve sidebar groups on reload 2026-07-09 11:47:13 +08:00
zipg 1317301bcd
feat(kafka): improve topic management and Kerberos auth 2026-07-09 11:41:22 +08:00
二丫讲梵 a8a7d3e9ed
feat(temporal-editor): 支持手动输入 datetime 字段值
*  feat(temporal-editor): 数据库修改datatime字段时支持手动输入数据

* 🔧 fix(temporal-editor): 修复 picker 回到输入框时误提交的问题
2026-07-09 11:11:45 +08:00
gggaiitx 2f134585ea
feat(editor): add auto close brackets setting 2026-07-09 09:53:01 +08:00
二丫讲梵 28db8bc1b8
feat(support-info): add app support information 2026-07-09 09:52:45 +08:00
二丫讲梵 7748c13a1e
feat(data-grid): show column comments in lookup 2026-07-08 23:44:33 +08:00
二丫讲梵 ddf6b3ed6b
fix(sidebar): preserve Mongo collection children in search 2026-07-08 23:44:25 +08:00
二丫讲梵 843babf522
feat(connection): select new databases when visible 2026-07-08 22:51:45 +08:00
onenewcode 1b13d2176b
fix(metadata): unify enum column metadata 2026-07-08 21:02:53 +08:00
auth0 07482557e6
fix(sidebar): locate active table reliably 2026-07-08 20:21:13 +08:00
lexmin0412 ac4b98c97c
feat(ai): add general action mode 2026-07-08 19:31:19 +08:00
Abeautifulsnow 0901f176b0
fix(grid): preserve current page on data refresh instead of resetting to page 1
* @
fix(grid): preserve current page on data refresh instead of resetting to page 1

When refreshing table data (toolbar button, Ctrl+R, or auto-refresh), the
offset was hardcoded to 0, causing pagination to always jump back to the
first page. This was frustrating for users viewing later pages.

Use the current page offset (currentPage - 1) * pageSize so the user
stays on the same page after refresh. In infinite-scroll mode, the
offset still evaluates to 0 because resetInfiniteScrollState() sets
currentPage = 1, so behavior is unchanged.
@

* @
fix(grid): auto-redirect to last page when refreshed page no longer exists

Extends the refresh pagination fix with a safety net: when data is deleted
while viewing a later page (e.g. page 5 with only 2 pages remaining), the
grid auto-navigates to the last available page instead of showing an empty
page.

Uses a transient isRefreshingData flag to distinguish refresh/rollback
from normal pagination navigation, avoiding false triggers.
@

* Revert "@"

This reverts commit ff0bf0bb31ccfbbb6d4787d1d036794fd37acd5a.

* @
fix(grid): auto-redirect to last page when refreshed page no longer exists

When data is deleted while viewing a later page, the grid now auto-navigates
to the last available page instead of showing an empty page.

Uses a transient isRefreshingData flag to distinguish refresh/rollback
from normal pagination, and a loading-transition watcher (true->false)
placed after displayedTotalRowCount declaration to avoid TDZ errors.
@

* @
test(grid): add pagination offset-preservation and auto-redirect tests

Cover the two new behaviors added to DataGrid.vue:

1. dataGridPagination.test.ts — auto-redirect page calculation:
   - page beyond last page after data deletion → triggers redirect
   - page still valid → no redirect
   - fewer rows than one page → redirects to page 1
   - total=0 / total=undefined → guard prevents redirect

2. useDataGridActions.test.ts — offset preserved on reload:
   - onReloadData(offset=400) passes offset=400 to build-table-select-sql
   - resultPageOffset stored as 400 (not reset to 0)
@
2026-07-08 13:28:36 +08:00
t8y2 2929b1c035 feat(hive): add Kerberos connection options 2026-07-08 13:23:21 +08:00
t8y2 15d4dc6e2e fix(sqlserver): omit display width for integer types 2026-07-08 11:05:45 +08:00
t8y2 d2874bf1bb fix(grid): smooth canvas column interactions 2026-07-08 09:45:28 +08:00
onenewcode ba81fa4497
feat(redis): support multiple value formats in viewer (#2766)
* feat(redis): improve value decoding and viewer formats

* fix(redis): preserve stream field/value blobs

* Revert "fix(redis): preserve stream field/value blobs"

This reverts commit 168af0619a438dbba5cf17b3e0ec9202a3100d83.
2026-07-08 00:13:20 +08:00
二丫讲梵 7eff6e544b
feat(sqlCompletion): 优化表别名建议功能,避免使用 SQL 关键字 (#2805) 2026-07-08 00:01:24 +08:00