Jokul
05a6f6aa17
feat: Monaco editor for StringEditor
...
- Install monaco-editor + @guolao/vue-monaco-editor
- main.ts: loader.config + MonacoEnvironment worker setup
- StringEditor.vue: replace textarea with Monaco editor
- JSON syntax highlighting, folding, word wrap
- Read-only mode when not editing, auto-detect JSON
- Theme follows app theme (vs-dark/vs)
- Font size follows app settings
2026-07-07 20:37:04 +08:00
Jokul
6a1f94cd48
feat: multi-connection parallel support
...
- connection store: connectedIds array, per-connection health/serverInfo maps
- connect() no longer disconnects existing connections
- New switchTo(id), disconnectById(id), isConnectedById(id) methods
- Per-connection health check timers (Map-based)
- ConnectionCard: switch to connected, connect if not, disconnect if active
- MainArea: per-connection tab state (save/restore on switch)
- Connection switcher dropdown in tab bar showing all open connections
- Clean up tab state when connection disconnects
2026-07-07 20:31:57 +08:00
Jokul
11a73494c0
feat: multi-tab support in MainArea
...
- Refactor MainArea: tabs array + activeTabId (was single activeTab)
- Open/close tabs dynamically, status tab not closable
- Tab opener buttons (keys/cli/slowlog/memory) in top-right
- Right-click context menu: close/closeOthers/closeRight/closeLeft
- Mouse wheel cycling through tabs
- Scrollable tab bar with hidden scrollbar
- i18n keys for tab context menu (zh-CN + en)
2026-07-07 20:26:47 +08:00
Jokul
bb41ea78e6
回退版本
2026-07-05 22:48:02 +08:00
Jokul
405dfa77c4
feat: auto-updater integration
...
- Install electron-updater
- New updater.ts: check/download/install with progress events
- IPC: updater:check, updater:download, updater:install, updater:status
- Preload bridge for updater API
- electron-builder publish config (github provider)
- Fix build files path: out -> electron-dist
- i18n keys for updater notifications (zh-CN + en)
2026-07-05 22:13:25 +08:00
Jokul
d131a2732d
feat: Command Log dialog
...
- New commandLogger.ts: in-memory log (max 5000 entries)
- withLog() wrapper in ipc-handlers.ts for all write commands
- CommandLog.vue: table with time/command/duration, write-only filter
- IPC: redis:getCommandLog, redis:clearCommandLog
- Ctrl+G shortcut from Sidebar
- i18n keys (zh-CN + en)
2026-07-05 21:48:33 +08:00
Jokul
15869943e8
feat: Memory Analysis tab
...
- New MemoryAnalysis.vue: scan all keys with MEMORY USAGE
- Pause/resume/stop scanning, min size filter, sort asc/desc
- Added as tab in MainArea with Odometer icon
- i18n keys for all memory analysis labels (zh-CN + en)
2026-07-05 21:23:43 +08:00
Jokul
169017df65
feat: Cluster mode support
...
- NewConnectionDialog: cluster checkbox
- connection.ts: use Redis.Cluster() when cluster is enabled
- i18n keys for cluster (zh-CN + en)
2026-07-05 21:20:42 +08:00
Jokul
e46d6a80be
feat: Sentinel mode support
...
- NewConnectionDialog: sentinel toggle + host/port/masterName/nodePassword form
- connection.ts: use ioredis sentinels config when sentinelEnabled
- Add sentinelEnabled/sentinelHost/sentinelPort/sentinelNodePassword to all types
- i18n keys for all sentinel fields (zh-CN + en)
2026-07-05 16:43:52 +08:00
Jokul
1686af1a79
feat: TLS certificate file support
...
- NewConnectionDialog: TLS cert file selectors (CA/Cert/Key) + rejectUnauthorized checkbox
- connection.ts: read cert files and pass to ioredis tls options
- Add tlsRejectUnauthorized to all ConnectionConfig types
- i18n keys for tlsCaPath/tlsCertPath/tlsKeyPath/tlsRejectUnauthorized
2026-07-05 16:35:38 +08:00
Jokul
6e6f170403
feat: SSH tunnel support
...
- Add ssh2 dependency for SSH port forwarding
- NewConnectionDialog: SSH toggle + host/port/user/password/privateKey/passphrase form
- connection.ts: createSshTunnel() with local port forwarding
- Connect ioredis through SSH tunnel when sshEnabled
- Clean up SSH client + tunnel server on disconnect
- i18n keys for all SSH fields (zh-CN + en)
- Add sshPassphrase to all ConnectionConfig types
2026-07-05 16:25:35 +08:00
Jokul
bb32d2d647
docs: roadmap and optimization checklist
2026-07-05 16:13:35 +08:00
Jokul
79f8217dfb
fix: radio-button, input-number dark theme
2026-07-05 00:00:02 +08:00
Jokul
1caf5c1f24
fix: dark theme Element Plus components
...
- Buttons: dark bg, hover/active states
- Dropdowns/Selects: dark bg, matching border
- Tabs, Tooltips, Dialogs, Drawers
- Added --bg-hover, --bg-tertiary variables
2026-07-04 23:56:45 +08:00
Jokul
393c82c879
feat: StatusView i18n + 1s auto-refresh
...
- Section titles (Server, Clients, Memory...) follow app language
- Auto-refresh every 1 second
- Clean up interval on unmount/disconnect
2026-07-04 23:48:27 +08:00
Jokul
d2fd07161c
fix: UI improvements
...
- Remove auto-open devtools
- Settings as right drawer
- DB selector in title bar
- Sidebar expand/collapse
- Fix dark mode colors for key detail
2026-07-04 23:38:09 +08:00
Jokul
09b86e3d45
feat: optimize key list with list/tree views
...
- Add list view (flat) and tree view (hierarchical)
- Tree view shows folder expand/collapse with key count
- Add view mode toggle button
- Add i18n support for all key list text
2026-07-04 23:17:51 +08:00
Jokul
e5ef0242d8
feat: add i18n to status bar
2026-07-04 23:04:25 +08:00
Jokul
24a12732ae
feat: add i18n to connection list and dialog
2026-07-04 23:00:35 +08:00
Jokul
97795866d0
fix: make i18n reactive to language changes
2026-07-04 22:54:27 +08:00
Jokul
38f2a8fbf0
feat: show settings tab on startup screen
2026-07-04 22:38:52 +08:00
Jokul
3b402771d5
fix: i18n, password edit, and key count issues
...
- Add i18n to all components (zh-CN/en)
- Fix password not showing when editing connection
- Fix key count showing 0 by adding getInfo function
2026-07-04 22:26:32 +08:00
Jokul
86b0eff95b
fix: make main area fill remaining width
2026-07-04 21:45:59 +08:00
Jokul
9f1341316d
fix: add transparent window and fix CSS layout
2026-07-04 21:39:30 +08:00
Jokul
868ef1737e
fix: add type declarations for CSS imports
2026-07-04 21:33:23 +08:00
Jokul
1b7b3fd5e8
fix: restore missing CSS styles
2026-07-04 21:31:37 +08:00
Jokul
a23066e1f6
fix: use electron-dist as output directory
2026-07-04 21:26:29 +08:00
Jokul
b30918807d
chore: remove unused shared types
2026-07-04 21:20:50 +08:00
Jokul
669f7c83cd
chore: remove electron-dist from git
2026-07-04 21:14:34 +08:00
Jokul
572230e823
fix: use out/ directory for electron-vite dev mode compatibility
2026-07-04 21:14:30 +08:00
Jokul
bdcf4fe299
refactor: restructure project layout
...
- Move main process to electron/main/
- Move preload to electron/preload/
- Add shared types in electron/shared/
- Split redis-service into modular redis/ directory
- Flatten renderer to src/ (remove src/renderer/ nesting)
- Update electron.vite.config.ts paths
- Update tsconfig paths
- Output to electron-dist/
2026-07-04 21:12:50 +08:00
Jokul
bb885c6d6d
fix: 使用 BrowserWindow.setIcon 替代 app.setIcon
2026-07-04 20:36:16 +08:00
Jokul
687fea4018
fix: 更新所有图标为 JRD
...
- 任务栏图标使用 nativeImage
- Linux 使用 app.setIcon()
- TitleBar logo 改为 JRD
- MainArea placeholder 改为 JRD
2026-07-04 20:34:34 +08:00
Jokul
f078f037dc
feat: 图标改为 JRD (Jokul Redis Desktop)
2026-07-04 20:30:26 +08:00
Jokul
c85318cc4d
feat: 添加应用图标
...
- SVG 图标设计:数据库 + Redis R 字母 + 连接节点
- 生成各尺寸 PNG (16-512px)
- electron-builder 配置图标路径
- 主进程窗口使用图标
2026-07-04 20:28:41 +08:00
Jokul
d3f09f0e87
fix: 默认语言改为中文
2026-07-04 20:22:36 +08:00
Jokul
da37760e04
feat: 开发模式自动打开 DevTools
2026-07-04 20:19:09 +08:00
Jokul
7cb76bc91e
fix: 修复 fix-electron.sh 脚本路径问题
2026-07-04 20:17:04 +08:00
Jokul
77a11d3948
fix: 添加 @renderer 路径别名到 tsconfig
2026-07-04 20:14:06 +08:00
Jokul
7f2c753470
fix: 修复 preload 路径 (.mjs 而不是 .js)
...
- electron-vite v3 输出 .mjs 文件
- 更新 preload 路径为 index.mjs
- 这是 window.electronAPI undefined 的根本原因
2026-07-04 20:10:58 +08:00
Jokul
d488612c27
debug: 添加连接日志
2026-07-04 20:06:43 +08:00
Jokul
88dfedc544
fix: Redis 连接等待就绪信号
...
- enableReadyCheck: true 等待 READY 信号
- 连接超时 12 秒
- 错误时正确断开连接
- 测试连接现在会返回具体错误信息
2026-07-04 20:03:40 +08:00
Jokul
363495bf8a
fix: 自动修复 Electron 二进制安装
...
- 添加 scripts/fix-electron.sh 自动检测并下载 Electron 二进制
- postinstall 自动运行修复脚本
- 支持 x64/arm64 架构
- npm run fix:electron 可手动触发
2026-07-04 20:01:08 +08:00
Jokul
f1123b734d
docs: README 中文版功能说明
2026-07-04 19:56:37 +08:00
Jokul
b9d64ed851
fix: register Element Plus icons globally
...
- Import and register all @element-plus/icons-vue
- Fixes icons showing as squares/rectangles
2026-07-04 19:54:34 +08:00
Jokul
4075f20c07
fix: test connection passing auth instead of password
...
- testConnection now maps auth -> password for Redis service
- fixes test connection failing even with correct credentials
2026-07-04 19:52:30 +08:00
Jokul
10b3e1ec94
docs: update README and AGENTS.md with full feature list
...
- README: complete feature documentation with screenshots-like tables
- AGENTS.md: full architecture, IPC channels, component tree, shortcuts
2026-07-04 19:42:00 +08:00
Jokul
7c0cce3e64
feat(phase7): pattern search, health check, keyboard shortcuts
...
- KeyList: pattern input for Redis MATCH, local filter, Go button
- ConnectionStore: health check interval (5s ping), healthOk state
- StatusBar: health indicator (unstable = yellow pulse)
- RedisService: ping, isConnected methods
- Sidebar: Delete key (Del), deselect (Esc), refresh (F5)
- useKeyboard: expanded shortcut map
2026-07-04 19:39:22 +08:00
Jokul
0ac0436cfd
feat(phase6): test connection, keyboard shortcuts, import/export
...
- NewConnectionDialog: test connection button before save
- useKeyboard composable: Ctrl+N (new), Ctrl+R (refresh keys)
- ConnectionList: import/export JSON buttons
- ConnectionStore: testConnection, exportConnections, importConnections
- i18n support in Sidebar (keyboard shortcuts)
2026-07-04 19:35:03 +08:00
Jokul
6b9c6a1ed5
feat(phase5): stream editor, i18n, settings, key management
...
- StreamEditor: view/add/trim/delete entries with field management
- KeyDetail: TTL editor dialog, rename dialog, copy key name button
- i18n: English + Chinese locale system with composable
- SettingsView: theme selector, language switch, scan count, font size
- MainArea: added Settings tab
- RedisService: stream/rename/exists operations
- Preload: stream/rename/exists IPC channels
2026-07-04 18:26:51 +08:00