Feature request: Group related cards by subtype in the card details relations panel #792
Closed
msmajevicpal
started this conversation in
Ideas
Replies: 1 comment
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Summary
The Relations panel on the card details page gives a nice overview per relation section ("is used by Organization", "uses IT Component", …), but within each section the related cards are rendered as one flat list. For hub cards this doesn't scale. Proposal: add a second grouping level inside each relation section, grouping the related cards by their subtype.
Current behavior
A relation section lists all target cards flat, e.g. on an Application card:
With 20+ entries the section becomes a wall of names — you can't tell business units from legal entities from teams without opening each card.
Proposed behavior
Group the entries by the related card's subtype, using the subtype labels and ordering already defined in the metamodel:
The same mechanism applies generically to every relation section, since subtypes are metamodel-driven. Another example that benefits immediately — an Application's "uses IT Component" section with a customized metamodel:
Suggested UX details
Why
Implementation notes
GET /cards/{id}/relations, also surfaced via the MCPget_card_relationstool) currently serializessource/targetas{ id, type, name }only. Addingsubtypeto that serializer would allow the grouping to be done purely client-side, with subtype labels resolved from the card-type metadata the frontend already loads.All reactions