Skip to content
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

Feature/get updates ux #240

Closed
wants to merge 13 commits into from

Conversation

gfodor
Copy link
Contributor

@gfodor gfodor commented Apr 22, 2018

This PR:

  • Cleans up avatar picker animations + loading
  • Adds a Help dialog
  • Adds the Share and Help buttons to the initial entry dialog
  • Adds the Help and Get Updates dialog to the in-game footer menu
  • Bumps onblur timeout to end session to 60 seconds
  • Removes outlines from buttons on mobile

@gfodor gfodor requested a review from brianpeiris April 22, 2018 18:35
@gfodor gfodor changed the base branch from master to feature/local-storage-cleanup April 22, 2018 18:36
@@ -183,11 +185,45 @@ class InfoDialog extends Component {
</span>
);
break;
case InfoDialog.dialogTypes.help:
dialogTitle = "How to Play";
Copy link
Contributor

Choose a reason for hiding this comment

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

"How to Play" is a bit too game-like IMO. Maybe "Getting Started" would work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah you're right, I think 'Getting Started' and 'Learn the Basics' works better.

<p>
The <b>Pause/Resume Toggle</b> pauses all other avatars. You can then block them from having further
interactions with you.
</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Referring to the help-hud image. I'm not sure if it makes sense for the pause button to be so prominent -- it should not be a frequent action. I thought we'd keep the avatar icon and have it trigger the profile dialog.

Copy link
Contributor Author

@gfodor gfodor Apr 22, 2018

Choose a reason for hiding this comment

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

I am actually not sure about this one -- here's my thinking:

  • I actually think Pause/Resume probably deserves to be the primary action. Here are a few reasons:

    • It is an escape hatch, so if anything bad is happening users will immediately know how to stop it
    • It is the only way to block people right now
    • Eventually I think it will be the way to enable moderation, seeing more detail about who is in the room, being able to switch in/out of observer mode, etc. I am imagining it to be like pause mode in bioware games -- it's on the space bar typically because it's a primary action you use all the time. The great thing about it is it means we can move tons of UI elements out of the main experience, so they don't break immersion. But that also means we have to make it extremely prominent since it is a "must-understand" feature to actually be able to use the app.
  • I was imagining the profile editor would be opened up via a floating avatar icon + name in the top right corner as is done in Google apps. In-game, we will need a full UX to see yourself as a 3d avatar (we haven't started on this yet, but I'd imagine that it will be unrelated to the way we allow you to edit your identity in 2d)

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm, okay. Thanks for explaining it. I guess we'll have to see if we do end up going in that direction. I've gotta admit, "freeze" is a cool feature 😀

<span className={styles.menuButtonText}>
<strong>Sign Up</strong> for Updates
</span>
</button>
Copy link
Contributor

Choose a reason for hiding this comment

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

This makes the menu too tall in landscape on an S5. The close button gets hidden above the top of the screen.

<img src="../assets/images/account.svg" onClick={props.onClickName} className="profile-info-header__icon" />
<div onClick={props.onClickName} title={props.name}>
{props.name}
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Long names and the account image are right-aligned and cut off now.
image

<p>
The <b>Bubble Toggle</b> hides avatars that enter your personal space.
</p>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

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

Help content is too tall for iPhone 5/SE and Galaxy S5

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I ran out of room. I edited it down as much as I could

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also worth mentioning that we can/should get a whole lot smarter about help text. For example, we should have specific copy for each device. So the next pass can probably address this problem since a lot of the copy on an S5 is irrelevant and can be removed since it's not VR capable, etc.

@@ -29,7 +34,7 @@ export default class Footer extends Component {
</div>
<button className={styles.menuButton} onClick={() => this.setState({ menuVisible: !menuVisible })}>
<i className={styles.menuButtonIcon}>
<FontAwesomeIcon icon={menuVisible ? faTimes : faEllipsisH} />
<FontAwesomeIcon icon={menuVisible ? (window.innerWidth < 768 ? faTimes : faArrowDown) : faEllipsisH} />
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be done with a media query if you had two icons that you hide/show.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you caught me being lazy :) I will fix

<FontAwesomeIcon icon={faQuestion} />
</i>
<span className={styles.menuButtonText}>
<strong>Learn</strong> How to Play
Copy link
Contributor

Choose a reason for hiding this comment

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

"Getting started", or "Learn the basics"

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.

2 participants