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

react-sdk: gdm support #1276

Merged
merged 14 commits into from
Oct 18, 2024
Merged

react-sdk: gdm support #1276

merged 14 commits into from
Oct 18, 2024

Conversation

miguel-nascimento
Copy link
Contributor

@miguel-nascimento miguel-nascimento commented Oct 16, 2024

  • useGdm: return metadata from a gdm
  • useUserGdms: return all gdms where the current user is a member
  • useChannelTimeline: gets the timeline from a channel using the channel and space id
  • useGdmTimeline: gets the timeline from a gdm using the streamId
  • useRiverConnection got rename to useAgentConnection
    • the previous name was confusing, since the connection status was about the sync agent being defined and not about the river auth connection status.
  • useSendMessage now accepts the id of either gdm or a space & channel

did some changes in the UI to support /m/:gdmStreamId

fixed some issues related to login, now when you click disconnect you get redirected back to /auth

image

Base automatically changed from miguel/sync-agent-gdm to main October 17, 2024 14:15
@miguel-nascimento miguel-nascimento enabled auto-merge (squash) October 17, 2024 19:37
@miguel-nascimento miguel-nascimento merged commit 712ea4f into main Oct 18, 2024
7 checks passed
@miguel-nascimento miguel-nascimento deleted the miguel/r-sdk-gdm branch October 18, 2024 19:48
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