fix(channel): 修复多密钥管理弹窗索引显示,将索引值调整为从1开始#4231
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughA single line modification to a table column's render function updates how index values are displayed by coercing them to numbers and incrementing by 1, changing from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
(cherry picked from commit d0c2d2c)
(cherry picked from commit d0c2d2c)
(cherry picked from commit d0c2d2c)
Important
📝 变更描述 / Description
优化了多密钥管理界面的交互体验。原本“查看密钥”弹窗使用 1-based 编号(如:密钥 1),而“多密钥管理”使用 0-based 索引(如:#0),这种不一致给用户带来了认知负担。
本次改动仅针对前端显示逻辑,在
MultiKeyManageModal的表格渲染器中将index加 1 显示(#1, #2...),从而确保两个界面的编号完全对齐。该改动不影响后端数据交互逻辑,所有后台请求依然匹配原始索引。🚀 变更类型 / Type of change
🔗 关联任务 / Related Issue
✅ 提交前检查项 / Checklist
📸 运行证明 / Proof of Work
修改后,“多密钥管理”弹窗中的 #0, #1 索引现已显示为 #1, #2,完美对应“查看密钥”中的 密钥 1, 密钥 2。
Summary by CodeRabbit