-
Notifications
You must be signed in to change notification settings - Fork 5
Apply responsiveness to RWP (nav, signin, privacy, survey) #280
Conversation
I think the test failure is just the switch from rally-web-platform/tests/integration/ux.test.ts Lines 111 to 137 in bf6c357
|
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.
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 find the way the menu behavior changes when going across the CSS breakpoint from the hamburger menu button to the user icon a little jarring, the only thing I've found that is really a bug per se is that there's no way to dismiss the menu if you:
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 this isn't necessarily new (the pop-up have this same behavior but it's more noticeable with the redirect) - after completing login with the Google sign-in redirect, the sign-in page is shown again briefly, before the redirect to the studies page happens.
This is relatively minor, but I bet there's a way to deal with this in the UI using the SDK, maybe by disabling the login fields and making it look inactive etc. until the signInWithRedirect
either resolves or rejects.
I think users on slower connections are more likely to see this, and may try to interact with the sign-in page while the auth provider response is still pending.
Hi Rob, yes the studies page, authenticated profile pages and privacy pages haven't be worked on yet. Only the nav, sign-in, onboarding privacy and terms pages. I will fix the bugs on the nav along with the redirect login issue. Thank you! |
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.
Approved for merge
Closes #243
In this PR, the signin cards, navbar, onboarding pages for privacy/terms and the demographic survey are made responsive with css-grid and flexbox. I've also removed the pop-up for google to have users continue with google within the same page.
Next steps are having design review the components for the screen sizes which will likely lead to another responsive PR. I didn't want to overwhelm with one huge massive styles PR.
Also looks like my new responsive styles broke one of the ux tests so will also investigate.
Updated storybook: RWP Storybook