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)
This commit is contained in:
@@ -156,6 +156,16 @@ export default {
|
||||
sortDesc: '降序',
|
||||
scanned: '已扫描 {n} 个',
|
||||
},
|
||||
commandLog: {
|
||||
title: '命令日志',
|
||||
time: '时间',
|
||||
command: '命令',
|
||||
duration: '耗时',
|
||||
connection: '连接',
|
||||
onlyWrite: '仅写操作',
|
||||
clear: '清空',
|
||||
empty: '暂无命令记录',
|
||||
},
|
||||
status: {
|
||||
title: '状态',
|
||||
database: '数据库',
|
||||
|
||||
Reference in New Issue
Block a user