Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for pinning channels #1378

Merged
merged 6 commits into from
Nov 1, 2024
Merged

feat: add support for pinning channels #1378

merged 6 commits into from
Nov 1, 2024

Conversation

akupila
Copy link
Contributor

@akupila akupila commented Oct 21, 2024

CLA

  • I have signed the Stream CLA (required).
  • Code changes are tested

Description of the changes, What, Why and How?

This adds support for pinning and unpinning channels. The channel pin is stored on the user-channel relationship (channel membership). The backend API endpoint for this is not yet live.

Changelog

  • Add support for pinning channels using updateMemberPartial
  • Add channel.pin and channel.unpin
  • Fix partialUpdateMember returning a type without the channel_member key that's returned from the API

Copy link
Contributor

github-actions bot commented Oct 21, 2024

Size Change: +1.52 kB (+0.34%)

Total Size: 453 kB

Filename Size Change
dist/browser.es.js 98.5 kB +338 B (+0.34%)
dist/browser.full-bundle.min.js 56.3 kB +160 B (+0.29%)
dist/browser.js 99.7 kB +345 B (+0.35%)
dist/index.es.js 98.6 kB +336 B (+0.34%)
dist/index.js 99.8 kB +340 B (+0.34%)

compressed-size-action

@akupila akupila changed the title feat: Add support for pinning channels feat: add support for pinning channels Oct 21, 2024
@akupila akupila merged commit 7e39944 into master Nov 1, 2024
5 checks passed
@akupila akupila deleted the pin branch November 1, 2024 12:48
@github-actions github-actions bot mentioned this pull request Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants