Make invited room behavior prettier and sleeker
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
Direzione di ricerca
Start with the InviteScreen flow at set_displayed_invite() and the handling of JoinRoomResultAction::Joined. Read src/app.rs around lines 536-593 for the existing room-closing behavior after navigation. Done means the invite button shows the requested enabled, loading, and joined states, and successfully left rooms close as specified.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Although the room InviteScreen is fully functional and works properly, there are still some ways we could make it a bit nicer looking and sleeker.
- Upon showing the InviteScreen (in
set_displayed_invite()), change the join button icon to an "enter room" icon, and set the button as enabled and the button text to be "Join room". - Once the join button has been clicked, change the icon to a loading spinner and the text to "Joining...".
- This will require a special button type that can show other non-icon content. Alternatively, we could hide the button temporarily and just show a LoadingSpinner with a background frame that looks like a disabled button... that might be easier.
- Once the
JoinRoomResultAction::Joinedhas been received, change the button icon to a green checkmark: " ✅ Joined!" - Close rooms when they are successfully Left.
- We can now do this because navigation between rooms has recently been implemented. See how we achieve this to close a tombstoned room when its successor has been joined: https://github.com/project-robius/robrix/blob/d7117c3414f7472e8a5d618b7e063ec8f6d7f1f8/src/app.rs#L536-L593
- 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 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
project-robius/robrix#1155 · 1 commento ·
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
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
loongarch64: `unsupported linker arg: --no-rosegment` with rustc 1.100Forse già presa @monosans l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
rust-cross/cargo-zigbuild#503 ·
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
rust-lang/a-mir-formality#472 ·
I maintainer di solito rispondono entro 1 giorno
-
agent:iq3-xxs area: cli duplication enhancement priority: P3 ready-for-agent
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno