-
Notifications
You must be signed in to change notification settings - Fork 33
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
feat(install-modal): block access code usage until user is logged in #1182
Conversation
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.
LGTM
<AlertCard | ||
showClose={false} | ||
title={t('installModal.loginRequired', 'Login Required')} | ||
message={t( | ||
'installModal.loginRequiredMessage', | ||
'You need to be logged into HyperPlay to enter your access code and install this game. ' | ||
)} | ||
variant="warning" | ||
/> |
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.
Could we make this a shared component to reuse in src/frontend/components/UI/GameUpdateDialog/index.tsx
?
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.
yup, good call
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.
Good stuff, hermano!
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.
<--- Put the description here --->
closes https://github.com/HyperPlay-Gaming/product-management/issues/719
How to test
Use the following Checklist if you have changed something on the Backend or Frontend: