-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Entry flow UX changes - Part 2 #177
Conversation
<iframe | ||
className="profile-entry__avatar-selector" | ||
src={`/${this.props.htmlPrefix}avatar-selector.html#avatar_id=${this.state.avatar_id}`} | ||
ref={ifr => (this.avatarSelector = ifr)} | ||
/> | ||
{!this.props.store.state.profile.has_agreed_to_terms && ( |
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.
@gfodor does it make sense to hide the term checkbox after the user has agreed to it?
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.
i think so
"profile.terms.privacy": "privacy policy", | ||
"profile.terms.conjunction": "and", | ||
"profile.terms.tou": "terms of use", | ||
"profile.terms.suffix": ".", |
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.
@gfodor Terms copy needs your review.
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.
yes we can send this to legal once they get things wrapped up
<FormattedMessage id="profile.terms.conjunction" />{" "} | ||
<a className="profile-entry__terms__link" target="_blank" href="/terms"> | ||
<FormattedMessage id="profile.terms.tou" /> | ||
</a> |
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.
@gfodor Linking to non-existent /privacy
and /terms
urls for now.
src/hub.js
Outdated
|
||
getAvailableVREntryTypes().then(availableVREntryTypes => { | ||
uiRoot.setState({ availableVREntryTypes }); | ||
uiRoot.handleForcedVREntryType(); | ||
console.log('BPDEBUG availableVREntryTypes', availableVREntryTypes); |
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.
log
src/hub.js
Outdated
const uiRoot = mountUI(scene); | ||
mountUI(scene); | ||
|
||
const remountUI = () => { |
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.
maybe set things up so instead of having to mutate uiRootProps
everywhere, the k/vs to alter are arguments to this function?
See commit list for changes.
For #116. Building on #175.