Commit Graph
361 Commits
Author SHA1 Message Date
二丫讲梵 90276464b2 feat(dataGrid): fix temporal cell editor precision 2026-07-09 20:20:14 +08:00
gggaiitx 0e474cecd4 feat(grid): add copy selected rows as TSV 2026-07-09 19:23:36 +08:00
t8y2 8c8c48f9b1 fix(grid): preserve contiguous row selection 2026-07-09 18:57:04 +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
zipg ce8cb2b509 fix(oracle): preserve DATE time in display and export 2026-07-09 15:04:34 +08:00
t8y2 aa0abcd670 feat(query): support broader result editing 2026-07-09 14:35:59 +08:00
t8y2 36daa214c3 fix(desktop): reduce sidebar and grid jank 2026-07-09 13:21:18 +08:00
二丫讲梵 a8a7d3e9ed feat(temporal-editor): 支持手动输入 datetime 字段值
* ✨ feat(temporal-editor): 数据库修改datatime字段时支持手动输入数据

* 🔧 fix(temporal-editor): 修复 picker 回到输入框时误提交的问题
2026-07-09 11:11:45 +08:00
hhzorg d9bb92d1e9 feat(doris): show external catalogs in sidebar 2026-07-09 00:45:29 +08:00
二丫讲梵 7748c13a1e feat(data-grid): show column comments in lookup 2026-07-08 23:44:33 +08:00
onenewcode 1b13d2176b fix(metadata): unify enum column metadata 2026-07-08 21:02:53 +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 ff0bf0bb31.

* @
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
zipgandzipg 5b70626cf7 Improve: 缩短格式化 JSON 编辑提示时长
* Improve: 调整格式化 JSON 编辑提示频率

* Improve: 减少格式化 JSON 编辑提示次数

---------

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-07-08 12:10:46 +08:00
t8y2 d2874bf1bb fix(grid): smooth canvas column interactions 2026-07-08 09:45:28 +08:00
二丫讲梵 326c4f5495 ✨ feat(dataGrid): 增加复制逐行插入语句的功能 2026-07-07 16:39:38 +08:00
zipg 3497df033f feat(grid): support searching filter columns 2026-07-07 16:19:29 +08:00
一颗红心 c60b23ffe7 fix: swap upload and download icons in various components for consistency 2026-07-07 14:17:33 +08:00
t8y2 e67e7730d1 refactor(data-grid): drop unused gridRef/scrollbarGutter options from useDataGridColumnResize 2026-07-07 13:24:05 +08:00
t8y2 a893f0e478 fix(grid): colorize Oracle/Dameng column types (varchar2, number, etc.) 2026-07-07 11:13:38 +08:00
t8y2 15b86ad6c9 fix(grid): highlight and locate Ctrl+F matches in transpose view 2026-07-07 01:49:41 +08:00
t8y2 23c36343b0 fix(grid): isolate table info drawer state 2026-07-06 22:25:32 +08:00
jischengandt8y2 5db0fc4fb1 fix(grid): reuse local result rows for csv/xlsx export instead of re-running query
* fix(grid): reuse local result rows for csv/xlsx export instead of re-running query

Exporting the full result set ("导出当前结果集全部数据 CSV") previously
re-executed the source SQL on the database via the backend streaming path
(exportQueryResultViaBackend -> start_query_result_export), and the frontend
fallback (fullExportResult/fetchTabResultForExport) did the same. For a slow
query this means running it a second time just to export rows already on
screen, which can hang or crash (e.g. a 2-minute paimon query returning 30
rows).

When the in-memory result already holds the complete set (no server-side
pagination, not truncated, no further pages), skip both re-executing paths and
write the displayed rows directly. Large/truncated/paginated results keep the
original streaming behavior unchanged.

* fix(grid): export raw in-memory result for complete local result set

---------

Co-authored-by: t8y2 <1156263951@qq.com>
2026-07-06 20:06:57 +08:00
t8y2 90bdacfd12 fix(grid): support multiline bulk edit values 2026-07-06 17:18:38 +08:00
t8y2 8883a6b3b7 fix(desktop): format loading elapsed time 2026-07-05 02:45:46 +08:00
zipgandstaff 5c35755219 Feature:新增多套应用配色主题 (#2559)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-05 00:34:47 +08:00
t8y2 223ecbec20 fix(oracle): skip rowid for view data queries 2026-07-04 17:07:43 +08:00
t8y2 7e7c4944e9 refactor(desktop): organize lib modules by domain 2026-07-04 13:53:52 +08:00
t8y2 d8047a77b4 feat(grid): add configurable table search mode 2026-07-04 12:02:55 +08:00
zipgandstaff 570230e525 fix(ui): table data condition bar font display
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-04 00:39:30 +08:00
Spencer.Chang b249768322 fix(grid): improve condition history dropdown behavior 2026-07-02 16:46:46 +08:00
zipgandstaff a6df5c1f35 feat(grid): compact JSON action in cell detail editor
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 14:32:23 +08:00
xiaoliangLand李晓亮 e9fa72285c feat(grid): add auto refresh for data grid results
Co-authored-by: 李晓亮 <lixiaoliang@midu.com>
2026-07-02 14:28:58 +08:00
zipgandstaff d9f50644eb fix(oracle): 修复时间字段编辑和表结构修改报错
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-02 12:09:05 +08:00
onenewcode 93eeeaa9c6 feat(mongo): add dropIndex and dropIndexes support across full stack 2026-07-01 17:53:09 +08:00
zipgandstaff bb72a58e54 feat(grid): expandable WHERE/ORDER BY condition inputs for long expressions
* Fix: 优化 WHERE 和 ORDER BY 长条件输入体验

* Fix: 对齐展开条件输入首行控件

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 17:47:35 +08:00
zipgandstaff fee7c2846e Feature:优化竖版单元格详情布局
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 15:30:24 +08:00
zipgandstaff 4780966d21 Fix:修复日期时间编辑器箭头按钮不立即更新 (#2310)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 15:21:25 +08:00
zipgandstaff 8129ecda88 fix(editor): keep edit-structure entry across table property tabs
* fix: 保留表属性编辑结构入口

* fix: 加深表属性页签选中态

---------

Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-07-01 12:51:44 +08:00
zipgandstaff c4de3738fc Improve: 记住单元格详情 JSON 格式化状态 (#2252)
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 22:38:45 +08:00
ptma 4e012a9dd9 feat(grid): support datetime formatter patterns 2026-06-30 20:37:23 +08:00
zipgandstaff 6a4a8b2828 fix(grid): show empty state for condition history dropdown
Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
2026-06-30 17:51:56 +08:00
funnytime 3e7cf30ce5 feat(grid): add data grid quick entry 2026-06-30 09:14:44 +08:00
zipg a458ebd08f feat(table): add table font size control (#2095) 2026-06-30 01:57:14 +08:00
zipg 3b457c13ec feat(structure): add DDL edit entry and drag reorder 2026-06-29 12:26:43 +08:00
zipg ded6e002b5 Fix:修复数据表保存快捷键与提示不一致 2026-06-29 12:01:52 +08:00
zipg 3c7c1924ba Fix:修复 SQL Server datetime 查询和导出精度 2026-06-29 11:28:33 +08:00
zipg 134116bb23 Fix: 修复图片预览弹窗层级 2026-06-29 11:22:32 +08:00
Caisin fd46869c14 Keep first inserted grid row visible while editing 2026-06-29 11:16:38 +08:00
t8y2 45a60819ca fix(grid): increase condition input font size 2026-06-29 03:19:18 +08:00