feat(webui): track optimistic message delivery status (#5162)
This commit is contained in:
@@ -11,9 +11,8 @@ interface StreamErrorNoticeProps {
|
||||
}
|
||||
|
||||
/**
|
||||
* Dismissible banner that surfaces transport-level faults the user needs to
|
||||
* know about. Rendered above the composer so the message the fault referred
|
||||
* to remains in view just above. ``role="alert"`` + ``aria-live="assertive"``
|
||||
* Fallback banner for transport-level faults that cannot be attached to a
|
||||
* visible failed message. ``role="alert"`` + ``aria-live="assertive"``
|
||||
* ensures screen readers announce the failure.
|
||||
*/
|
||||
export function StreamErrorNotice({ error, onDismiss }: StreamErrorNoticeProps) {
|
||||
|
||||
Reference in New Issue
Block a user