feat: key export/import, command import, virtualized scrolling

- P2-6: KeyList virtualized scrolling using @tanstack/vue-virtual (>100 keys)
- P2-8: Key export to CSV (DUMP + PTTL, hex-encoded)
- P2-9: Key import from CSV (RESTORE ... REPLACE)
- P2-10: CLI command import from text file
- i18n keys for all features (zh-CN + en)
This commit is contained in:
2026-07-07 22:14:22 +08:00
parent 90d56f2a12
commit 6ac5636944
7 changed files with 339 additions and 28 deletions
+4 -4
View File
@@ -31,11 +31,11 @@
- [x] **自定义格式化器** — 外部可执行文件 + 模板参数 {KEY} {VALUE} {HEX} {HEX_FILE}
- [x] **ReJson / TairJson 支持** — JSON.GET / JSON.SET / JSON.DEL 编辑
- [ ] **二进制 key 支持** — [Hex] 前缀输入,hex ↔ buffer 双向转换
- [ ] **虚拟化滚动** — 大 key 集合(200k+)的性能优化,KeyList 树形视图虚拟化
- [x] **虚拟化滚动** — 大 key 集合(200k+)的性能优化,KeyList 树形视图虚拟化
- [x] **批量删除预览** — 先扫描预览,再确认删除,显示 key 数量和总大小
- [ ] **Key 导出** — DUMP + PTTL → CSV 下载
- [ ] **Key 导入** — CSV (hex_key, hex_value, ttl) → RESTORE
- [ ] **命令导入** — 文本文件逐行执行 Redis 命令
- [x] **Key 导出** — DUMP + PTTL → CSV 下载
- [x] **Key 导入** — CSV (hex_key, hex_value, ttl) → RESTORE
- [x] **命令导入** — 文本文件逐行执行 Redis 命令
- [x] **FlushDB** — 清空当前数据库,双重确认
- [x] **Key 搜索历史** — 最近 200 条搜索模式自动补全
- [x] **取消扫描** — 中断正在进行的 SCAN