Skip to content

Allow additional custom sections in Person Card and treat them same as default sections #1463

Description

@01

Proposal: Allow additional custom sections in Person Card and treat them same as default sections

Description

Currently the additional information feature of the person card is limited to adding some information to the main primary view of the card, and this limitation prevents providing much information without negatively affecting the UX.

Rationale

The current Person Card code is already designed to easily provide for additional sections as well as allow for the additional details to simply be expanded to include a show more view and provide it an icon. Without much functional change to current component, this feature would dramatically expand the customizability for developers of the Person Card component

Preferred Solution

Following the same templating format currently in place, additional-information should provide for a "show-more" template, as well as take an icon as a property. Expanding further to an ideal solution, instead of a single static conditional additional details section, follow same template format described but provide a section name prop. Ideally additional information or any other section would be identical it terms of section header/title/show more to maintain clean UI etc that already exists.

Additional Context

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status
Proposed 💡

Relationships

None yet

Development

No branches or pull requests

Issue actions