-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Pre-configured Avatars #753
base: develop
Are you sure you want to change the base?
Conversation
madison-boman
commented
Apr 29, 2021
•
edited
edited
- Creates Pre-configured Avatars via bundles to improve Avatar accessibility.
- Management is located in MissionControl > AvatarBundles > Pre-configured Avatars.
- Avatars can be set using only a keyboard and, supports screen readers.
- A user's avatar now has alternative text that describes the avatars outfit.
- Other Avatar interface accessibility improvements
Only body layers can be edited and premade bundles
When a bundle is selected, resets the clothing on avatar container
Adds avatar or, throws error with saved state
fix build
Has new Annotations
Preserves the aria-label on the avatar container
These somehow got deleted during rebase
Added extra if statement that was deleted
After you click save with a premade avatar
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Mission Control avatars bundle page should highlight the Default tab if no search is selected
- The default tab should only show default bundles and not pre-configured bundles
- Unlockable bundles that are part of a pre-configured avatar shouldn't be able to be deleted
- Items that are a part of any bundle shouldn't be able to be deleted
- When a user is loading the avatar page for the first time pre-configured avatars are being given as a default option for the user instead of just default bundles.
{ | ||
var siteId = GetCurrentSiteId(); | ||
var layers = await GetLayersAsync(); | ||
var layerGroupings = layers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like layer groupings aren't used, I think this can be flattened to just a List of AvatarLayers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved in commit 5f2b703
if (item != null) | ||
{ | ||
var fileName = "item"; | ||
var element = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A check can be done on the layer if it has ShowColorSelector set to true to see if a color needs to be added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved in commit 91763bd
</div> | ||
<div class="col-xs-12 col-sm-7"> | ||
<div class="row"> | ||
<div class="col-xs-12 text-center hide" id="layer-container"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This container is always hidden, is it needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is how the avatar layers are being updated with. Its the same approach as the public avatar page
…m/MCLD/greatreadingadventure into feature/add-preconfigured-avatars
@iafb:
|