Skip to content

Additional inputs to the avatar component #260

@szuperaz

Description

@szuperaz

The inputs of the avatar component are too restrictive and don't allow for integrators to implement some sensible use-cases.

Solution: provide additional inputs to the avatar:

  • type: channel or user
  • the corresponding channel or user object
  • location: channel-preview, channel-header, message-sender, message-reader, quoted-message-sender, autocomplete-item, typing-indicator, reaction

Fallback avatar for channels logic should be moved inside avatar component (https://github.com/GetStream/stream-chat-angular/pull/263/files)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions