feat: Stream consumer groups UI

- stream.ts: streamGroups, streamConsumers, streamGroupCreate, streamGroupDestroy, streamAck
- IPC: redis:streamGroups, streamConsumers, streamGroupCreate, streamGroupDestroy, streamAck
- Preload bridge + types for all new methods
- StreamEditor.vue: collapsible consumer groups panel
  - XINFO GROUPS table with name/consumers/pending/last-delivered-id
  - Click group to expand XINFO CONSUMERS
  - Create group dialog (name, start ID, MKSTREAM)
  - Destroy group with confirm
- i18n keys (zh-CN + en)
- P1 complete!
This commit is contained in:
2026-07-07 21:22:12 +08:00
parent 00c11d4dfe
commit cdadfbe5e4
8 changed files with 379 additions and 4 deletions
+12
View File
@@ -132,6 +132,18 @@ export default {
entryId: 'ID (使用 * 自动生成)',
fields: '字段',
maxLength: '最大长度',
consumerGroups: '消费者组',
group: '组名',
consumers: '消费者',
pending: '待处理',
createGroup: '创建组',
destroyGroup: '删除组',
groupName: '组名称',
startId: '起始 ID',
mkstream: '自动创建流',
ack: 'ACK',
ackConfirm: '确认 ACK 选中的条目?',
noGroups: '暂无消费者组',
},
cli: {
title: 'CLI',