t8y2
94487384e1
feat: add shortcut for accepting completion and update related functionality
2026-05-26 16:59:22 +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
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
c7fa74f90c
feat(sql): progressive autocomplete enhancements — fuzzy matching, type-aware hints, and more
...
- Fuzzy matching with character-order scoring (typo/abbreviation tolerant)
- Context-aware keyword filtering (DDL hidden in SELECT, etc.)
- CTE/subquery column resolution from parsed definitions
- INSERT column list completion
- Schema name completion
- Smart GROUP BY non-aggregated column suggestions
- Better FK join inference (shared FK, parent_id, created_by patterns)
- Table alias suggestions
- SELECT * expansion to explicit column list
- Type-aware comparison value hints (string/numeric/boolean/NULL)
- Function signature inline documentation (30+ functions)
- History-based learning ranking via recordCompletionSelection()
- Epoch-based request debouncing in QueryEditor.vue
- Irregular plural handling for singular table names
- Quoted identifier parsing for dots in names
2026-05-23 15:31:05 +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
e62ad97bcd
feat(editor): enhance SQL completion icons and styles
2026-05-23 12:33:14 +08:00
t8y2
ac32914797
fix(editor): refine completion popup styling
2026-05-22 16:53:53 +08:00
t8y2
0e189ba0cc
feat(editor): add SQL semantic diagnostics
2026-05-22 14:22:58 +08:00
t8y2
355e09ccf4
feat(editor): follow app theme
2026-05-22 00:41:49 +08:00
t8y2
3ad19107d8
fix(editor): smooth sql zoom interactions
2026-05-21 00:08:47 +08:00
t8y2
62af348a01
fix: custom find/replace UI for SQL editor (Ctrl+F)
...
Closes #352
2026-05-20 13:32:23 +08:00
t8y2
653feb7c65
feat(editor): polish SQL autocomplete UI
2026-05-19 12:33:05 +08:00
t8y2
06683c57b1
chore(repo): move desktop app under apps
2026-05-18 02:35:39 +08:00