-
Notifications
You must be signed in to change notification settings - Fork 138
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
fix: channel view should show NO_CHANNEL placeholder after leaving all channels #901
Conversation
Thank you @AhyoungRyu ! |
## [v3.9.3] (Jan 5, 2024) ### Fixes: * **Refactor `--sendbird-vh` CSS Variable Logic in InviteUsers Component** - Improved code readability by moving logic to the `InviteUsers` component. - [GitHub PR #899](#899) (CLNP-1806) * **Prevent Access to `window` in SSR Environments** - Fixed server-side rendering issues in NextJS by preventing access to the `window` object. - (Original Author: [Aaron James King](https://github.com/AaronJamesKing)) - [GitHub PR #900](#900) (SBISSUE-14287) * **Update Channel View to Show `NO_CHANNEL` Placeholder** - Channel view now displays `NO_CHANNEL` placeholder after leaving all channels. - (Original Author: [Alden Quimby](https://github.com/aldenquimby)) - [GitHub PR #901](#901) * **Fix Replay of Voice Memos** - Resolved the issue preventing the replay of voice memos. - (Original Author: [Alden Quimby](https://github.com/aldenquimby)) - [GitHub PR #902](#902) * **Resolve Image Upsizing Issue in ImageCompression** - Fixed the issue with image upsizing in ImageCompression. (Original Author: [GitHub User](https://github.com/GitHubUser)) (CLNP-1832) - [GitHub PR #903](#903) * **Update Peer Dependencies for npm Install** - Addressed peer dependencies issues in npm install. (Original Author: [GitHub User](https://github.com/GitHubUser)) - [GitHub PR #905](#905) * **Fix Scroll Behavior in Open Channel** - Fixed scroll behavior when sending a message in an open channel. (Original Author: [GitHub User](https://github.com/GitHubUser)) - [GitHub PR #906](#906) * **Fix Cross-Site Scripting Vulnerability in OGTag** - Fixed cross-site scripting vulnerability in OGTag. (Original Author: [GitHub User](https://github.com/GitHubUser)) - [GitHub PR #907](#907)
@AhyoungRyu @bang9 FYI I believe this caused an issue with the mobile layout in the default App: sendbird-uikit-react/src/modules/App/MobileLayout.tsx Lines 109 to 112 in 0f8fc3a
I think this needs to change to: onChannelSelect={(channel) => {
setCurrentChannel(channel);
if (channel) {
setPanel(PANELS.ChannelPanel);
}
}} So that you only switch to the channel panel if a channel was actually selected (vs unselected / left) Apologies for not catching this in my initial PR |
@AhyoungRyu @bang9 another possibly related bug here (although it looks to me like it may have been a problem beforehand too): #937 |
The change comes from #894 and made by @aldenquimby