Skip to content

refactor: channel details cleanup#3669

Draft
szuperaz wants to merge 4 commits into
developfrom
channel-details-cleanup
Draft

refactor: channel details cleanup#3669
szuperaz wants to merge 4 commits into
developfrom
channel-details-cleanup

Conversation

@szuperaz

@szuperaz szuperaz commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

🎯 Goal

A cleanup for channel details, the main focus is to make it easier for integrators to reuse the specific building blocks, the implementation details describes all changes in detail,

🛠 Implementation details

  1. Add members button extracted to its own component
    Why? If an integrator wants a separate "list members screen" and want to add "add members" button to the screen, they can reuse <ChannelAddMembersButton > component. The default implementation opens the add member modal, but it's possible to provide onPress for custom navigation.

  2. Simplify contexts for channel edit and add members
    Why? If an integrator wants to display the channel edit or add members form in a separate screen, they need a context provider to access the form state, before refactor they had to provide 3 providers, now they only need 2.

<ChannelDetailsProvider>
  <ChannelAddMembersProvider>
     <ChannelAddmembers />
     <Button>Save</Button>
  </ChannelAddMembersProvider>
</ChannelDetailsProvider>

🎨 UI Changes

No UI changes

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@Stream-SDK-Bot

Stream-SDK-Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

SDK Size

title develop branch diff status
js_bundle_size 1955 KB 1957 KB +1873 B 🔴

@szuperaz szuperaz changed the title refactor: add members button is a separate component now refactor: channel details cleanup Jun 18, 2026
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