Make invited room behavior prettier and sleeker
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Rust
- スター
- 489
- フォーク
- 71
- 平均マージ
- 1時間 27分
- マージ済み PR(30日)
- 72
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
project-robius/robrix のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
project-robius/robrix#1154 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
project-robius/robrix#1155 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 12/100
project-robius/robrix#1153 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
project-robius/robrix#1152 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 15/100
project-robius/robrix#1151 ·
メンテナーはふだん 1 日以内に返信
project-robius/robrix の issue をすべて見る
似ている issue
-
agent:triaged bug bughunt pm:bundler priority:p1
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
SocketDev/socket-patch#1573 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
bytecodealliance/rustix#1706 · コメント 1 件 ·
メンテナーはふだん 11 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
wormhole-foundation/wormhole#5062 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信