Since we also – strangely perhaps – still show the Leave button, you can leave the channel from the closed page to get out of that situation, but it is odd to have it appear and disappear like that depending on what page you’re on.
I’m guessing it makes sense to both:
Not show the channel in the sidebar if it’s closed
Hide the Leave button if the channel is closed
Alternatively, we could:
Always show the channel in the sidebar, even if it’s closed
Allow you to visit the channel in that case, but show a “Leave channel” button (similar to how we show “Join Channel” for channels you are previewing but haven’t joined yet)
Yes I understand the bug and we should fix it, although…
What is our value to keep memberships once the channel is closed? We could just auto-remove these memberships and that would solve all of this. The only downside of this is that if you close a channel by mistake then you can’t just rollback, we can add extra protection and warnings in the UI to ensure people understand the risk?
I’m a bit hesitant to throw that away. I can see it being helpful to be able to temporarily close a channel for a variety of reasons and reopen it later with the same members.