-
Notifications
You must be signed in to change notification settings - Fork 47
Show non-member room state across list and room view #666
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
base: main
Are you sure you want to change the base?
Conversation
- keep left/banned rooms visible with status hint - switch input bar to membership footer and stop typing actions - update restore status view for persisted rooms
|
@kevinaboos Although this PR is ready for review, but i think we need to wait #640 |
Yes, I agree. I left a detailed comment on #640. Once you read that, I think you'll agree that a single LoadingScreen widget could also be used for the purposes of this PR, i.e., to display a room that the user was previously a joined member of, but has since left or been kicked/banned. I skimmed the code here on this PR and am not sure that I'm on board with your approach. You're making things way too complex by trying to re-use existing infrastructure for something that really ought to be handed separately. For example, you're using the joined rooms set in the RoomsList to store rooms that the user is no longer a member of, which is not only confusing but also violates the invariant of that type. It also won't work with the room list service, because that service needs to be able to remove rooms that the user has left. It'd be much clearer and better in the long run to just explicitly add support for left/kicked/banned rooms (and Knocked rooms, since that's the only other type) and to have the RoomsList track those separately. I think it's best if we put this PR on hold until the LoadingScreen design is completed. |
|
Thanks for your review.
i agree.
yep, i agree. I'll give it some more careful thought. As you mentioned, the current design is still too complex and quite messy. i will waitting for #640 |
PR Content
if you has been removed, if this room join rule is can re-join again, seem about
administer unban yousolution above.if adminster changes room's join rule, seem room_input_bar will display differece view.
like this flow: user joined -> adminster remove user -> adminster send invitation again -> user can accpet or reject.
-> if user accept, the normal join room process.
-> if not(below):
If the user has previously visited this room, the room will remain accessible, but the user will be unable to send messages and can only view historical messages. If the user has never visited this room, they will enter the standard rejection process.
PR Related PR/Issue