Show a clear message/view when the user is no longer a joined member of a room (after leaving or getting kicked/banned)
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reading the RoomScreen and RoomsList behavior, then compare the membership-state logic in AddRoomScreen with the TombstoneFooter in RoomInputBar and the full-view pattern in InviteScreen. Decide which proposed design fits, then ensure removed users see an accurate left, kicked, or banned state and cannot interact as joined members, with re-join or knock actions when permitted.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
If the current user is removed (kicked or banned) from a joined room while that room is currently open in Robrix, then the RoomScreen should be updated to reflect that they are no longer a part of that room. Currently, the room is properly removed from the RoomsList, but the RoomScreen itself does not change, which is likely confusing to the user as it looks like they are still a joined member of the room and able to interact within it.
There are two possible designs we could adopt here:
- Show a footer, similar to the
TombstoneFooterin theRoomInputBar, that displays the status of their membership in that room (whether they were joined or banned) and a button to re-join or knock on that room (if permitted).- This allows the user to still see the content of the room they were removed from, but not to send any messages.
- Hide the entire RoomScreen, and show only the content of the footer, but in a full view similar to the InviteScreen.
- This prevents the user from seeing the room at all once they are kicked/banned.
I think both approaches have their merits, but at this point I am slightly in favor of approach 1.
For determining what message and button text to show, see the related logic in the AddRoomScreen for determining whether a room is in the Left, Kicked, or Banned state for the current user.
- Ngôn ngữ chính
- Rust
- Star
- 489
- Fork
- 71
- Merge trung bình
- 1 giờ 27 phút
- Pull request đã merge (30 ngày)
- 72
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của project-robius/robrix
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
project-robius/robrix#1154 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
project-robius/robrix#1155 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 12/100
project-robius/robrix#1153 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
project-robius/robrix#1152 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
project-robius/robrix#1151 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của project-robius/robrix
Issue tương tự
-
agent:triaged bug bughunt pm:bundler priority:p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
SocketDev/socket-patch#1573 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rustix::termios::Termios::OutputModes does not expost some const e.g. OLCUC for musl and macOSĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
bytecodealliance/rustix#1706 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 11 ngày
-
`LazyFrameRemote` and `ExecuteRemote` sinks do not accept `Path`, like `LazyFrame` sinks do.Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Bump anybuf version to ^1.0.0Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
wormhole-foundation/wormhole#5062 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày