Skip to content

Improve InviteScreen UI with join icon and loading state#708

Open
kevinaboos wants to merge 3 commits intomainfrom
invite-screen-improvements-6843606584321878320
Open

Improve InviteScreen UI with join icon and loading state#708
kevinaboos wants to merge 3 commits intomainfrom
invite-screen-improvements-6843606584321878320

Conversation

@kevinaboos
Copy link
Member

This PR improves the visual feedback on the InviteScreen. It changes the initial join button icon to an "enter room" icon. When the user clicks join, the button is replaced by a loading view with a spinner and "Joining..." text. Upon success, the button reappears disabled with "Joined!" text and a checkmark icon. This addresses the UI improvements requested in issue #592.


PR created automatically by Jules for task 6843606584321878320 started by @kevinaboos

- Replaced default checkmark icon with `ICON_JOIN_ROOM` for the join button.
- Added a `loading_view` that mimics the button style but displays a `LoadingSpinner` and "Joining..." text.
- Implemented state logic to toggle between the join button and the loading view during the join process.
- Upon successful join, the button shows "Joined!" with a checkmark icon.

Closes #592 (partially, ignores room closing logic).

Co-authored-by: kevinaboos <1139460+kevinaboos@users.noreply.github.com>
@google-labs-jules
Copy link
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules bot and others added 2 commits February 6, 2026 03:50
- Add `joined_view` to `InviteScreen` to show "Joined!" success state.
- Update `accept_button` to use `ICON_JOIN_ROOM` for initial state.
- Implement state logic in `draw_walk` to toggle visibility between `accept_button`, `loading_view`, and `joined_view`.
- Fixed CI error by avoiding `apply_over` with undefined Rust constants.

Closes #592 (partially, ignoring room close logic).

Co-authored-by: kevinaboos <1139460+kevinaboos@users.noreply.github.com>
- Add `joined_view` to `InviteScreen` to show "Joined!" success state.
- Update `accept_button` to use `ICON_JOIN_ROOM` for initial state.
- Implement state logic in `draw_walk` to toggle visibility between `accept_button`, `loading_view`, and `joined_view`.
- Fixed CI error by avoiding `apply_over` with undefined Rust constants.

Closes #592 (partially, ignoring room close logic).

Co-authored-by: kevinaboos <1139460+kevinaboos@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant