Commit Graph
806 Commits
Author SHA1 Message Date
gggaiitx e9e59113a3 fix(query): continue batch after statement errors 2026-07-14 12:51:24 +08:00
zipg 73f11f4265 feat(export): include query SQL in XLSX 2026-07-14 10:45:21 +08:00
zipg 95e50a0da7 feat(import): support text encoding selection 2026-07-14 01:35:52 +08:00
onenewcode 32b4acee3a feat(dameng): preserve character length units 2026-07-14 01:28:19 +08:00
Bagus Wahyu Aprianto c9c2fddfe2 feat(mysql): add server metrics dashboard 2026-07-13 23:55:52 +08:00
Abeautifulsnow 78b3bb1ba1 feat(export): add streaming TXT data export 2026-07-13 20:44:57 +08:00
Bagus Wahyu Aprianto 2dec6ebeb8 feat(mysql): add process list viewer 2026-07-13 19:07:05 +08:00
onenewcode 66d7b965dc feat(grid): add list and range filters 2026-07-13 18:14:11 +08:00
rainhan c7991b316e feat(connection): test SSH tunnel profiles 2026-07-13 17:51:51 +08:00
zipg 16724074c0 feat(grid): improve cell detail panel 2026-07-13 17:16:38 +08:00
Komh 35ca4e3a37 feat(duckdb): add connection bootstrap and remote catalogs 2026-07-13 17:03:33 +08:00
Abeautifulsnow 9e1b0c478e feat(editor): prefill new queries from focused tables 2026-07-13 16:15:09 +08:00
Freedom 86dad5db9f feat(editor): show column hints for INSERT values 2026-07-13 00:39:36 +08:00
t8y2 4b44ccf86e feat(import): support configurable file row ranges 2026-07-12 23:14:23 +08:00
Anubis 2a92746dc0 feat(d1): add Cloudflare D1 database support 2026-07-12 22:03:57 +08:00
rainhan 977e7f78ca feat(connection): add reusable tunnel profiles 2026-07-12 22:03:46 +08:00
二丫讲梵 4f1997d8eb feat(types): add database type help 2026-07-12 13:28:46 +08:00
zipg 0650428d1c feat(structure): persist local column order 2026-07-12 12:06:49 +08:00
miracle 16e879e40e perf(query): optimize result loading and connection reuse 2026-07-12 11:18:52 +08:00
wuxiemian 1be66fb115 feat(safety): add production environment safeguards 2026-07-12 10:02:27 +08:00
t8y2 fec91b9aef feat(update): mirror agent release downloads 2026-07-11 23:40:18 +08:00
zipgandtangheng 00d78d8b6a fix: shorten icon theme copy by platform
Co-authored-by: tangheng <tangheng@tanghengdeMacBook-Pro.local>
2026-07-11 21:55:11 +08:00
miracle 1a309b6b63 feat(editor): configure SQL variable syntax 2026-07-11 20:45:07 +08:00
onenewcode 54632f4c16 feat(query): add MySQL standard explain table view 2026-07-11 20:34:54 +08:00
t8y2 1dd4623919 fix(sql-files): distinguish files with duplicate names 2026-07-11 18:32:17 +08:00
zipg 1a833714ba fix(agents): include Kerberos modules in managed JRE 2026-07-11 13:00:56 +08:00
t8y2 6f90d878d2 fix(i18n): shorten collapse results label 2026-07-11 09:33:45 +08:00
Abeautifulsnow 088a4a081b fix(ai): preserve editor content for SQL actions 2026-07-11 08:55:51 +08:00
二丫讲梵 264909aaa9 feat(mongo): add document JSON preview 2026-07-11 01:00:47 +08:00
zipg 9cf62a1c71 fix(tdengine): group subtables under super tables 2026-07-11 00:12:45 +08:00
t8y2 a6de6a1f08 fix(desktop): apply macOS Dock icon theme 2026-07-10 20:53:34 +08:00
onenewcode fc8d407a62 feat(sqlite): support table structure changes 2026-07-10 20:02:56 +08:00
gggaiitx ae4bbe1564 feat(grid): adjust column widths by density 2026-07-10 19:39:28 +08:00
t8y2 8c7e34a6de fix(mysql): edit enum column values 2026-07-10 16:10:54 +08:00
t8y2 9e2960881b feat(sync): add GitHub and Gitee snippet providers 2026-07-10 15:32:35 +08:00
DengQingNian e429c8945b feat(mysql): edit column charset and collation 2026-07-10 15:13:57 +08:00
t8y2 5a666b1f48 fix(ai): improve assistant execution and MCP settings 2026-07-10 14:31:08 +08:00
zipgandzipg 7b2f969356 feat: support emptying multiple selected tables
* Feature: support emptying multiple selected tables

* ci: retrigger checks

* Fix batch empty safety and ClickHouse feedback

---------

Co-authored-by: zipg <4047349+zipg@users.noreply.github.com>
2026-07-10 13:36:40 +08:00
t8y2 8bddf29776 fix(about): remove top app card and unused aboutDescription i18n 2026-07-10 11:09:53 +08:00
zipg 67edb94b1d feat(sqlserver): support legacy TLS compatibility 2026-07-09 22:45:54 +08:00
gggaiitx 0e474cecd4 feat(grid): add copy selected rows as TSV 2026-07-09 19:23:36 +08:00
t8y2 39d956f2e8 fix(redis): skip confirmation for regular writes 2026-07-09 18:59:12 +08:00
gggaiitx 482f7421be feat(editor): send selected SQL to AI panel 2026-07-09 18:12:27 +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
t8y2 e87e31752a fix(i18n): shorten execution summary label 2026-07-09 13:40:52 +08:00
Abeautifulsnowanddbx-i18n-bot 2c2d9d7fef feat(objects): add checkbox multi-select and grid view for object browser
* feat(objects): add checkbox column toggle for object browser

- Add objectBrowserShowCheckbox setting (default: false) to EditorSettings
- Checkbox column hidden by default; auto-shows when any tables are selected
- Toolbar button toggles multi-select mode (active state highlighted in primary color)
- Clearing the toggle also clears all selections
- Add i18n key objects.toggleCheckbox in en/zh-CN

Closes #2748 (part 2)

* feat(objects): add grid view mode for object browser

- Add objectBrowserViewMode setting (list | grid, default: list) to EditorSettings
- Toolbar segmented control toggles between list and grid views, persisted across sessions
- Grid view renders cards (icon + name + type + row count) in a responsive auto-fill layout
- Reuses existing sort, search, filter, multi-select and context menu
- Partition children not expandable in grid mode (minimal version)
- Add i18n keys objects.viewList/objects.viewGrid across all locales
- Backfill objects.toggleCheckbox in es/it/ja/pt-BR/zh-TW (missed in prior commit)

Refs #2748

* fix(objects): redesign grid view cards for visual polish

- Center-align content (icon + name + metadata) for a proper tile look
- Enlarge type icons (h-7) so color coding is visible at a glance
- Merge type label and row count on one line with separator
- Reduce internal spacing (gap-1.5) and tighten padding
- Replace background hover with border glow + shadow for cleaner feedback
- Narrow min card width (150px) for denser grid, add align-content:start
- Softer rounded-lg corners

Refs #2748

* fix(objects): polish grid view card visual details

- Add colored circle background behind icons (type-matched opacity-10)
- Increase name font from text-xs to text-sm for better legibility
- Separate row count into a primary-tinted badge (only shown when > 0)
- Keep type label clean without mixing row count inline

Refs #2748

* fix(objects): refine grid card min-width, icon shadow, and type label size

* @
feat(object-browser): align tile/grid card metadata with list view columns

Add the metadata categories present in the list view but missing from
the tile/grid card view (objectBrowserViewMode === "grid"):
- Size pill (totalBytes) next to the existing rows pill in the stats row
- Timestamps row showing created_at · updated_at (per-row conditional)
- Comment row (truncated, per-row conditional, with hover tooltip)

Each card now shows: icon, name, type label, rows pill, size pill,
timestamps (when present), and comment (when present) — matching the
same metadata categories the list view displays across its 8 columns.

Also fix a pre-existing bug in the list view where the totalBytes
column tooltip (:title) used formatObjectBrowserCount instead of
formatObjectBrowserBytes, showing a count-formatted number instead
of a byte-formatted size string.
@

* @
feat(object-browser): add sort selector in toolbar for grid/list views

The list view has column header click-to-sort but the grid/tile view
had no way to change sort order. Add a compact sort selector in the
toolbar that works identically in both views:

- Native <select> dropdown with all 7 sort keys (name, type, rows,
  size, created, updated, comment) using existing column i18n labels
- ArrowUp/ArrowDown direction toggle button with localized tooltip
- Positioned between schema selector and view toggle in the toolbar
- Shares the existing sortKey/sortDirection/toggleSort logic — list
  view column headers continue to work as before
- Accessible: aria-label on select, title on direction button

i18n: added sortAsc/sortDesc/sortBy to en.ts and zh-CN.ts
@

* @
fix(object-browser): make sort key options reactive to available data

sortKeyOptions was a static array that always included created_at and
updated_at even when no row had data for those fields. Sorting by an
empty field is a no-op that silently confuses users.

Convert to a computed that mirrors the list view column visibility logic
(hasCreatedAt / hasUpdatedAt): the two time-based sort options only
appear when at least one loaded row has that field populated.

Follows design decision: sort selector remains visible in both list and
grid views (plan B), acting as a shared sort state indicator.
@

* @
fix(object-browser): reset sortKey when selected option disappears from options

When sortKeyOptions loses created_at or updated_at (e.g. after a schema
switch clears all rows), sortKey could remain set to a key no longer in
the dropdown, causing the <select> to show a blank selection.

Add a watch on sortKeyOptions that resets sortKey to "name" and
sortDirection to "asc" whenever the current key is no longer present.
@

* chore(i18n): autofill new translations

* perf(object-browser): virtualize tile/grid view with RecycleScroller

Replaces the flat v-for over filteredRows with a row-chunked
RecycleScroller, matching the list view. Previously, switching to tile
mode on a schema with thousands of tables mounted every card and its
CustomContextMenu at once, stalling the UI for several seconds.

Changes:
- gridRows computed: chunks filteredRows into rows of gridColumns cards
- ResizeObserver on the grid container drives gridColumns; initial read
  uses getComputedStyle to match contentRect.width and avoid a 1-frame
  column jump on mount
- objectGridRowHeight computed: item-size adapts to whether the dataset
  has timestamp/comment rows, minimising wasted row space
- watch(gridContainerRef) re-attaches the observer across list<->grid
  toggles; onBeforeUnmount cleans up
- scrollObjectsToTop() resets scroll position on sort, search,
  object-type filter and view-mode changes
- CSS: new .object-browser-grid-wrapper / -scroller / -row classes with
  will-change / contain parity with the list scroller

---------

Co-authored-by: dbx-i18n-bot <github-actions[bot]@users.noreply.github.com>
2026-07-09 11:59:25 +08:00
zipg 1317301bcd feat(kafka): improve topic management and Kerberos auth 2026-07-09 11:41:22 +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