Skip to content

Conversation

isekovanic
Copy link
Contributor

@isekovanic isekovanic commented Sep 26, 2025

🎫 Ticket: https://linear.app/stream/issue/XYZ-123

📑 Docs: https://github.com/GetStream/docs-content/pull/

💡 Overview

Draft PR for now until I finish writing integration tests for this.

Noteworthy things (very rough overview, will write in more detail):

  • Reimplements throttling as the Chat implementation was broken (would often end up in timeout loops and skip on queries altogether)
  • Lifts the capabilities state upwards (on the client) as we have no other way to consume it properly
  • Updates hooks
  • On activities not containing own_capabilities, it fetches them in a throttled manner

TO-DOs:

  • Check activity related component state updates whenever capabilities update
  • Swap out queryFeeds with the new own_capabilities endpoint whenever it's added on the backend
  • Integration tests
  • Change useOwnCapabilities so that it simply returns the state directly (forwards compatibility)
  • Update docs

📝 Implementation notes

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.

1 participant