microsoft / fluent-ui-react

An ecosystem for building highly customizable enterprise class user interfaces.
https://aka.ms/fluent-ui
MIT License
432 stars 54 forks source link

Chat Component, Chat.Item a new slot needed #1303

Open Octavianus opened 5 years ago

Octavianus commented 5 years ago

Feature Request

Problem description

New slot needed for read receipts feature, beside any message, there should be a slot at bottom left of the message's right blank area to indicate the read status. @alinais

Proposed solution

I post the idea looks in MVP section. As proposed by @jurokapsiar: I assume a new slot will need to be created for the chat message.

Accessibility:

  1. Mouse: Hover over the slot should have a text popover.
  2. Screen reader: The text popover I mentioned above should append to the end of each message to tell the user current message's status.

MVP

imgo

levithomason commented 5 years ago

Yes, read receipts are common enough in all chat applications to warrant a slot for it. This will also make it targetable for theming.

You can achieve this for now by absolutely positioning an element within the Chat Message content.