Skip to content

Add additional actions to history #511

@rebeccaalpert

Description

@rebeccaalpert

Add the ability to pin past conversations.

See patternfly/patternfly-design-kit#794 for design. The history drawer should already support custom icon (ThumbtackIcon) as well as Pinned section if the conversations prop has an item like this: Pinned: [{id: '0', text: 'Red Hat products and services', icon: <ThumbtackIcon />, menuItems }]

We pretty much just need a new demo for this - add menu item with "Pin" to unpinned items and add "Unpin" to pinned items. Show behavior of removing the pinned conversation or adding it to conversations prop on click in demo.

Add any new tests we might need, as well as any additional code required to implement feature, if we have to modify the chat history drawer at all.

Metadata

Metadata

Assignees

Labels

PF6Applies to only the PF6 version

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions