HabitRPG/habitica

Refactor Justin intro modal to separate it from avatar edit

Open

#10803 opened on Nov 2, 2018

View on GitHub
 (6 comments) (0 reactions) (0 assignees)JavaScript (10,775 stars) (3,912 forks)batch import
help wantedpriority: minorsection: Avatar/User Modal

Description

Description

creatorIntro.vue is used both for initial avatar setup on account creation, and for editing a user's avatar via the user menu. This makes it difficult to consistently position both modals, because ideal positioning for the Justin sequence pushes the much larger avatar edit modal partially offscreen.

What we should do is pull the shared avatar-related pieces out to a component that's then plugged into two separate modals, Justin and post-setup avatar editing. Then, reposition the Justin sequence so it's centered better onscreen.

Contributor guide