Show a clear message/view when the user is no longer a joined member of a room (after leaving or getting kicked/banned)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Rust
- Stelle
- 489
- Fork
- 71
- Merge medio
- 1h 27m
- PR unite (30g)
- 72
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di project-robius/robrix
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
project-robius/robrix#1154 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
project-robius/robrix#1155 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 Mezza giornata Idoneità per principianti 12/100
project-robius/robrix#1153 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
project-robius/robrix#1152 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 15/100
project-robius/robrix#1151 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di project-robius/robrix
Issue simili
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adaptersApertatriage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
dbt-labs/dbt#16784 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:cli bug good first issue priority:medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
rtk-ai/rtk#4615 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bnv-manager-v2: accept_invite creates the Mailcow domain admin before the commitForse già presa @myOmikron l’ha presa oggi. Apertabug ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Windows: mio 1.2.3 named-pipe use-after-free panics the native IPC broker and hangs every toolApertaplatform:windows tool triaged wontfix
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
resources: add a regression test confirming admin mint still works after the #16 SAC handoffForse già presa @Daniexie l’ha presa oggi. Apertacontracts good first issue Stellar Wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OlaGreat/starbound-realms#137 · 1 commento ·