Skip to content

Conversation

@martinmitrevski
Copy link
Contributor

🎯 Goal

Fix the issue which happens when showing a hidden channel outside a channel list.

📝 Summary

It seems we are not linking the channel in those scenarios, now we listen to the event and do that.

🛠 Implementation

Simple addition to the eventsController delegate in ChatChannelListController.

🎨 Showcase

Add relevant screenshots and/or videos/gifs to easily see what this PR changes, if applicable.

Before After
img img

🧪 Manual Testing Notes

It's a bit tricky to test this, since it's usually on customer side, where the channel id is stored on a certain screen. You can test it by calling show/hide channel on a hardcoded channel id.

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change follows zero ⚠️ policy (required)
  • This change should be manually QAed
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (docusaurus, tutorial, CMS)

🎁 Meme

ALT_TEXT

@martinmitrevski martinmitrevski requested a review from a team as a code owner October 3, 2023 09:42
@github-actions
Copy link

github-actions bot commented Oct 3, 2023

1 Warning
⚠️ Please be sure to complete the Contributor Checklist in the Pull Request description

Generated by 🚫 Danger

Copy link
Member

@nuno-vieira nuno-vieira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! ✅

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 3, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 14 Code Smells

89.4% 89.4% Coverage
0.0% 0.0% Duplication

@martinmitrevski martinmitrevski merged commit 3dc0b3c into develop Oct 3, 2023
@martinmitrevski martinmitrevski deleted the channel-visibility-fix branch October 3, 2023 12:46
@polqf polqf mentioned this pull request Oct 5, 2023
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.

3 participants