sendbird-uikit-react icon indicating copy to clipboard operation
sendbird-uikit-react copied to clipboard

feat: Add metadataKey and metadataValues query params

Open aacgn opened this issue 1 year ago • 1 comments

aacgn avatar Mar 15 '24 20:03 aacgn

@AhyoungRyu Hey! I'm currently fiddling around with this uikit and I've noticed that some query params aren't set properly for the GroupChannelList component as well. Maybe that should be included in this PR too?

As an example:

const [queryParams, setQueryParams] =
    React.useState<GroupChannelListQueryParams>({
      includeEmpty: true,
      channelNameContainsFilter: userId ?? '',
      includeMetaData: true,
    })
<GroupChannelList
    channelListQueryParams={queryParams}
    ...
/>

The metadata field is never added to the API call (even though that it is claimed to be true by default) also some other params are not respected.

This feels like a strange way of reporting a bug, but since the issues tab is disabled for this repo I'm doing it here 😄

emilbjorling avatar May 30 '24 08:05 emilbjorling