feat: binary key support

- New src/utils/binary.ts: isBinaryKey + formatKeyName
- KeyList: display [Hex] prefix for binary keys in list/tree/preview
- KeyDetail: binary key display + copy hex button
- i18n keys (zh-CN + en)
- P2 complete!
This commit is contained in:
2026-07-07 22:21:19 +08:00
parent 6ac5636944
commit b802fc6928
6 changed files with 51 additions and 7 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
- [x] **自动格式检测** — 检查内容 magic bytes 自动选择查看器
- [x] **自定义格式化器** — 外部可执行文件 + 模板参数 {KEY} {VALUE} {HEX} {HEX_FILE}
- [x] **ReJson / TairJson 支持** — JSON.GET / JSON.SET / JSON.DEL 编辑
- [ ] **二进制 key 支持** — [Hex] 前缀输入,hex ↔ buffer 双向转换
- [x] **二进制 key 支持** — [Hex] 前缀输入,hex ↔ buffer 双向转换
- [x] **虚拟化滚动** — 大 key 集合(200k+)的性能优化,KeyList 树形视图虚拟化
- [x] **批量删除预览** — 先扫描预览,再确认删除,显示 key 数量和总大小
- [x] **Key 导出** — DUMP + PTTL → CSV 下载