Commit Graph
59 Commits
Author SHA1 Message Date
t8y2 c9f584d350 feat(grid): add compact filter builder 2026-05-25 11:57:36 +08:00
t8y2 6107778358 feat: support customizable SQL snippet templates with custom trigger keys
Users can now create, edit, and delete SQL snippet templates from the settings dialog (new "Snippets" tab). Each template has a label, trigger prefix, and SQL body. Built-in defaults are modifiable and can be restored. Templates persist across sessions via the existing settings storage.
2026-05-25 01:43:09 +08:00
t8y2 ae49d87166 fix: sync gutter element heights during editor font size zoom
CSS variable changes alone don't trigger CodeMirror's measure cycle, so
gutter element heights would diverge from content line heights. The fix
reconfigures the font theme compartment (throttled to once per rAF) to
force a proper state transition → measure → syncGutters path.

Also adds missing fontFamily on .cm-gutters and i18n for "Follow app theme".
2026-05-25 00:23:44 +08:00
t8y2 62b4905e54 feat: split data type into type+length columns with SearchableSelect, add Shiki SQL highlighting
- Separate data type input into type dropdown (SearchableSelect with allowCustom)
  and length input, Navicat-style
- Add comprehensive DATA_TYPE_OPTIONS for all 6 database engines, validated
  against official docs
- Add Shiki SQL syntax highlighting to the SQL preview panel
- Add i18n keys for new UI elements (typePlaceholder, length, noMatchingType)
2026-05-24 21:43:03 +08:00
t8y2 801434e423 refactor: convert table structure editor from modal dialog to tab
Replace the dialog-based TableStructureEditorDialog with a tab-based
TableStructureEditor, making it consistent with query editors, data
viewers, and object browsers. Users can now switch between editing
table structure and running queries freely.
2026-05-24 21:17:35 +08:00
t8y2 72d5435535 feat: add primary key editing to table structure editor
Add PK checkbox column in Vue dialog, alter_primary_key capability flag,
build_primary_key_sql() for PostgreSQL/MySQL ALTER TABLE PK changes,
and i18n labels in zh-CN/en/es.

Includes flicker fix (silent reload after apply) and move ready badge
to SQL preview header.
2026-05-24 20:37:59 +08:00
t8y2 24c334ef61 feat(i18n): add completion and search translations, remove hardcoded Chinese strings
- Add editor.completion (46 keys) and editor.search (10 keys) i18n sections
  across zh-CN, en, es locales, including 38 SQL function descriptions
- Create SqlCompletionTranslations interface in sqlCompletion.ts, pass via
  buildSqlCompletionItems/buildSqlCompletionItemsFromContext parameters
- Replace static FUNCTION_DESCRIPTIONS Map with getFunctionDescriptions(t?)
- Replace 11 hardcoded search toolbar strings in QueryEditor.vue with t()
- Fix YashanDB product label in connectionUrl.ts
2026-05-23 15:47:18 +08:00
t8y2 cd5d1b928d feat(grid): add configurable keyboard shortcuts for copy and delete current row 2026-05-23 12:44:49 +08:00
t8y2 d8650df323 feat(diff): support batch data compare 2026-05-23 12:33:14 +08:00
t8y2 b0a4061484 feat(structure): support column reordering 2026-05-22 16:43:14 +08:00
t8y2 2cade12b54 feat(editor): collapse query results pane 2026-05-22 16:29:22 +08:00
t8y2 66d180f729 feat(grid): copy insert without primary keys 2026-05-22 11:55:08 +08:00
t8y2 c1fc1c9b70 feat(objects): show object timestamps 2026-05-22 11:37:23 +08:00
t8y2 ed28040555 feat(redis): add JSON value viewer 2026-05-22 10:58:30 +08:00
t8y2 a29b95b9fa fix(app): keep tray preference persistence stable 2026-05-22 10:39:47 +08:00
t8y2 bc41936e48 feat(app): configure background tray behavior 2026-05-22 02:24:16 +08:00
t8y2 7a3721952a feat(ai): highlight chat code with Shiki 2026-05-22 01:09:40 +08:00
t8y2 3dc4f40e7f feat(sidebar): select active tab node 2026-05-21 23:32:07 +08:00
t8y2 a159dcfc83 feat(grid): optimize transpose view toggle 2026-05-21 23:15:44 +08:00
t8y2 2569d54f68 feat(sidebar): hide configured table prefixes 2026-05-21 22:56:42 +08:00
t8y2 eef217d6eb feat(sidebar): add node-type search scopes for tree filtering 2026-05-21 22:38:18 +08:00
t8y2 26cc83e351 feat(desktop): improve data tabs switcher UX 2026-05-21 17:43:35 +08:00
t8y2 b1519b9b60 feat(tabs): add persistent compact title toggle in tab context menu 2026-05-21 16:59:16 +08:00
t8y2 f7f39f124c feat(grid): format JSON values in cell editor 2026-05-21 14:39:47 +08:00
t8y2 2bf01c5cc7 feat(objects): add view DDL action 2026-05-21 12:57:20 +08:00
t8y2 895c0d58af feat(settings): support editor system fonts 2026-05-21 12:40:10 +08:00
t8y2 888d3d8890 feat(app): add new query shortcut 2026-05-21 10:34:04 +08:00
t8y2 803f70dce9 fix(grid): support keyless table edits by capability 2026-05-21 01:26:40 +08:00
t8y2 7592def541 feat(grid): add copy as UPDATE action 2026-05-21 00:42:15 +08:00
t8y2 5c2028c2c4 feat(redis): improve key browser workflows 2026-05-20 18:54:18 +08:00
t8y2 1ed26ff4d7 feat(grid): add cell detail value editor 2026-05-20 17:12:00 +08:00
Abeautifulsnow 222ebefa6a feat(ai): add model list fetching in settings (#364)
- Add `ai_list_models` Tauri command and core support for fetching available models from OpenAI-compatible, Claude, and Ollama providers
- Replace manual model ID input with SearchableSelect in EditorSettingsDialog, including refresh button and loading state
- Add i18n translations for model list UI (en, es, zh-CN)
- Add tests for settings dialog layout and web driver management
2026-05-20 16:14:56 +08:00
yavon007 49a7541450 Improve data grid cell detail, navigation, and transpose UX (#342)
* fix(mysql): avoid metadata collation conflicts

Split MySQL column and primary key metadata lookups so MariaDB and OceanBase do not join information_schema tables with incompatible collations.

* feat(grid): add invert column visibility action

* feat(grid): improve cell detail editing

* feat(grid): add keyboard cell navigation

* feat(grid): add column name copy in header tooltip

* feat(grid): improve transpose navigation
2026-05-20 09:43:40 +08:00
t8y2 f702e71de0 chore: bump version to 0.5.14 and fix duplicate i18n key
- Bump version to 0.5.14 in package.json, Cargo.toml, tauri.conf.json
- Remove duplicate `copied` key in en/es/zh-CN locale files
2026-05-19 21:02:16 +08:00
t8y2 fe24d70aa6 fix(i18n): add missing grid.copied translation key 2026-05-19 20:56:37 +08:00
t8y2 0a1aa8a0b6 feat(export): add table search filter to database export dialog
Allow users to quickly find tables by name in the export dialog,
useful when databases have many tables. Select/clear buttons now
operate within the filtered scope.
2026-05-19 18:29:40 +08:00
t8y2 b76efa56d6 feat(duckdb): create database file from connection form 2026-05-19 16:34:08 +08:00
t8y2 bacd5dc859 fix(sidebar): support catalogless schema trees 2026-05-19 15:07:25 +08:00
t8y2 c1ba7235b9 fix(app): add clipboard fallback for web copy 2026-05-19 13:51:38 +08:00
t8y2 f89b3a2bee fix(mongodb): expose authentication database 2026-05-19 11:51:39 +08:00
t8y2 bae487867b feat(connection): support in-memory sqlite and duckdb 2026-05-19 11:33:17 +08:00
t8y2 261d43c1b7 fix(grid): respect page size row limits 2026-05-19 11:31:38 +08:00
t8y2 4ef958a7e5 feat(connection): persist result page size 2026-05-19 10:47:17 +08:00
t8y2 b6be8a74df perf(desktop): defer startup payloads 2026-05-18 23:19:30 +08:00
t8y2 8a81a01fac feat(redis): stream value search results 2026-05-18 21:55:16 +08:00
t8y2 73cb490189 feat(jdbc): show plugin update notice 2026-05-18 21:48:46 +08:00
t8y2 ea5e15612f feat(redis): search keys by value 2026-05-18 21:27:47 +08:00
t8y2 b2be49367c feat(app): handle SQL export and tray updates 2026-05-18 18:39:59 +08:00
t8y2 af16ac219c Revert "fix(objects): guard system source edits"
This reverts commit 17bc2e66d4.
2026-05-18 17:53:02 +08:00
t8y2 28f4aec50d fix(shortcuts): refresh data with F5 2026-05-18 16:20:19 +08:00