Skip to content

style(Computer Avatar Selector): Improve selection flow#2293

Merged
hirokiterashima merged 4 commits intodevelopfrom
select-avatar-ux-changes
Apr 2, 2026
Merged

style(Computer Avatar Selector): Improve selection flow#2293
hirokiterashima merged 4 commits intodevelopfrom
select-avatar-ux-changes

Conversation

@hirokiterashima
Copy link
Copy Markdown
Member

@hirokiterashima hirokiterashima commented Mar 27, 2026

This change is inspired by a feedback from one of the masters students. It improves the computer avatar selection flow and lessens the likelihood that the student will skip the dialog guidance activity altogether.

Notes

Please style as you see fit. It'd be nice to make the view of the selected avatar a little bit more fun(?)/exciting(?) somehow, like how users select a character when they're playing a video game. Maybe use text/image animations to make the selected avatar pop, without being overwhelming?

There may be some old styles that we can remove due to this change.

Changes

  • Initial avatar selection view no longer has the "continue" button. In this view, the student can only choose from a selection of avatars.
  • When the student selects an avatar, hide all other avatars, make the selected avatar bigger, and show a "continue" and "back" button.
    • Choosing "back" takes user back to the avatar selection view
    • Choosing "continue" starts the dialog with the selected avatar
  • Updated and added tests to reflect new behavior

Test

  • Test that the avatar selection flow works as described above for these cases
    • when there are multiple avatars to choose from.
    • when there is only one avatar to choose from. In this case, we show the enlarged selected avatar and a "continue" button. (no "back" button)

@hirokiterashima hirokiterashima self-assigned this Mar 27, 2026
@hirokiterashima hirokiterashima added the enhancement New feature of any size or improvement (UI, performance, security) label Mar 27, 2026
@qltysh
Copy link
Copy Markdown

qltysh bot commented Mar 27, 2026

Qlty

Coverage Impact

Unable to calculate total coverage change because base branch coverage was not found.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

@hirokiterashima hirokiterashima changed the title style(Computer Avatar Selector): Make selection flow more obvious style(Computer Avatar Selector): Make selection more obvious Mar 27, 2026
@hirokiterashima hirokiterashima changed the title style(Computer Avatar Selector): Make selection more obvious style(Computer Avatar Selector): Improve selection flow Mar 27, 2026
@hirokiterashima hirokiterashima marked this pull request as ready for review March 27, 2026 18:05
@hirokiterashima hirokiterashima requested a review from breity March 27, 2026 18:06
- Clean up styles and template
- Remove MatButtonToggleModule dependency
Copy link
Copy Markdown
Member

@breity breity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. 👍

I added a bounce animation to the Continue button and renamed the button label to "Chat with [avatar name]". I also cleaned up some styles and template and removed the MatButtonToggleModule dependency.

@hirokiterashima
Copy link
Copy Markdown
Member Author

It looks like the avatars' names are all in uppercase now, which is probably what we want? Can you change it back?
Screenshot 2026-04-01 at 12 43 37 PM

@breity
Copy link
Copy Markdown
Member

breity commented Apr 2, 2026

@hirokiterashima Ah yes, thanks for catching. Should be fixed now.

@hirokiterashima hirokiterashima merged commit 1838644 into develop Apr 2, 2026
4 checks passed
@hirokiterashima hirokiterashima deleted the select-avatar-ux-changes branch April 2, 2026 14:49
@hirokiterashima
Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 5.223.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature of any size or improvement (UI, performance, security) released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants