fix(patient/storage): 关系网图方向+重设计 & 存储节点管理台去无效角色列 #199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/relations-graph-and-storage-column"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
本会话集群验收中发现并修复的两类问题(已在 9 机集群在线复测 PASS)。不含开发态 dev-login 旁路(那条 commit 单独留在 feat/dev-login-bypass,绝不可入生产)。
修复
relations.go):图边标签改为按「中心(被查询本人)视角」渲染——center==to用原始 relation_type,否则取反演角色。修复此前在「子→父」一侧把「父亲」误显「子女」(图与可联系人/关系清单三处方向不一致)。StorageNodesPage.tsx,cherry-pick 2536a94a):后端从不返回 role,前端三元恒掉「冷备」;存储节点本是池内对等成员,无主/冷备概念。顺带把错位的「URL」表头改为「节点编码」。RelationsTab.tsx):弃力导向弹簧模拟(节点少时稀疏+持续抖动「僵硬」),改确定性径向布局(本人钉中心/1跳水平扇形/2跳贴父外环)+ 平滑曲线连线 + 圆角关系标签胶囊 + 渐变节点(按亲属类别配色)+ 柔和投影 + 入场淡入。验证
🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.