Skip to content

The mobile Login Page 🚪 #2389

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

Merged
merged 7 commits into from
Aug 28, 2023

Conversation

dewanshDT
Copy link
Collaborator

@dewanshDT dewanshDT commented Aug 17, 2023

This Project is a part of the mobile project

Changes:

image

I have verified that this pull request:

  • has no linting errors (npm run lint)
  • has no test errors (npm run test)
  • is from a uniquely-named feature branch and is up to date with the develop branch.

@dewanshDT dewanshDT changed the title The mobile Login Page The mobile Login Page 🚪 Aug 17, 2023
@dewanshDT dewanshDT requested a review from lindapaiste August 17, 2023 20:21
@dewanshDT dewanshDT added the Area: Mobile For issues affecting mobile or responsive behavior label Aug 17, 2023
Copy link
Collaborator

@lindapaiste lindapaiste left a comment

Choose a reason for hiding this comment

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

This is looking excellent! The breakpoint at 770px is seamless. We discussed that maybe the contents should stay vertically aligned to the center below 550px rather than shifting to the top. But either way is acceptable.


@media (max-width: 550px) {
text-align: center;
margin: #{12 / $base-font-size}rem;
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems like all this media query does is increase the gap between the "sign up" and "forgot your password" lines?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes

@dewanshDT
Copy link
Collaborator Author

@lindapaiste, I just made the required changes.

@dewanshDT dewanshDT requested a review from lindapaiste August 19, 2023 07:33
Copy link
Collaborator

@lindapaiste lindapaiste left a comment

Choose a reason for hiding this comment

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

This looks good, and we will continue improving it in the future.

One request -- for pages like this where the main LoginView has been made responsive, we should remove the legacy mobileFirst switching in the routes.jsx file.

<Route
path="/login"
component={userIsNotAuthenticated(
mobileFirst(responsiveForm(LoginView), LoginView)
)}
/>

We'll do this for each page as we tackle it until eventually we get them all.

@dewanshDT
Copy link
Collaborator Author

okay I'll remove the legacy code

@dewanshDT
Copy link
Collaborator Author

okay I'll remove the legacy code

will create a separate PR for removing all the legacy code after this

@dewanshDT
Copy link
Collaborator Author

@lindapaiste I think we should merge this

@lindapaiste lindapaiste merged commit ca5db3d into processing:develop Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Mobile For issues affecting mobile or responsive behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants