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

Signup page fixes #2038

Open
gorkem-bwl opened this issue Apr 7, 2025 · 9 comments · May be fixed by #2051
Open

Signup page fixes #2038

gorkem-bwl opened this issue Apr 7, 2025 · 9 comments · May be fixed by #2051
Assignees
Labels
good first issue Good for newcomers

Comments

@gorkem-bwl
Copy link
Contributor

gorkem-bwl commented Apr 7, 2025

  1. Signup > Email section description shows key instead of a value ("commonEmail")
  2. Same applies for authRegisterTerms and authRegisterPrivacy
  3. Fix the button height to 34px (which is our button component default height)
  4. When I go to "Enter your personal details" page the focus is on Surname, not name.
Image Image Image
@gorkem-bwl gorkem-bwl added the good first issue Good for newcomers label Apr 7, 2025
@gorkem-bwl gorkem-bwl added this to the 2.1 (Ship of Theseus) milestone Apr 7, 2025
@rajmahajan3196
Copy link

I can work in it, please assign it to me

@gorkem-bwl
Copy link
Contributor Author

Thanks Raj - assigned! :)

@rajmahajan3196
Copy link

rajmahajan3196 commented Apr 9, 2025

I have completed all of the work except "3. Fix the button height to 34px (which is our button component default height)"

Is this a place where a default height is maintained for signup buttons?
Pages/Auth/Index.css

or should I edit the specific button? example:
Register/Step One/Index.jsx

@gorkem-bwl
Copy link
Contributor Author

I believe it's under components, but I'll leave it to core devs to respond here.

@rajmahajan3196
Copy link

Can we tag some core devs here?

@Br0wnHammer
Copy link
Member

Br0wnHammer commented Apr 10, 2025

Hey @rajmahajan3196, how can I help?

All the buttons have the same height. There is no specific signup button. You can check it under:
Utils/Theme/globalTheme.js

@rajmahajan3196
Copy link

rajmahajan3196 commented Apr 10, 2025

In task 3, its mentioned to make the button height to 34px. Below is my hypothesis on what is happening, please let me know if my understanding is accurate.

To fix the height of buttons in signup pages, the height is defined in Pages/Auth/Index.css line 37

.auth button:not(.MuiIconButton-root) -> Targets all elements inside an element with the .auth class which is in Register.jsx.

But if the viewport width becomes less than 800px, the button height becomes 36px because the height condition is inside @media (max-width: 800px) { Pages/Auth/Index.css line 96

In Globaltheme.js, a height of 34px for 'MuiButton' is mentioned but I don't think it is taking priority over above conditions, so it's never 34px.

Do you want me to proceed with changing the button height in index.css for all widths?

Width>800px:
Image
Width<800px:
Image

@Br0wnHammer
Copy link
Member

In task 3, its mentioned to make the button height to 34px. Below is my hypothesis on what is happening, please let me know if my understanding is accurate.

To fix the height of buttons in signup pages, the height is defined in Pages/Auth/Index.css line 37

.auth button:not(.MuiIconButton-root) -> Targets all elements inside an element with the .auth class which is in Register.jsx.

But if the viewport width becomes less than 800px, the button height becomes 36px because the height condition is inside @media (max-width: 800px) { Pages/Auth/Index.css line 96

In Globaltheme.js, a height of 34px for 'MuiButton' is mentioned but I don't think it is taking priority over above conditions, so it's never 34px.

Do you want me to proceed with changing the button height in index.css for all widths?

Width>800px: Image Width<800px: Image

@gorkem-bwl, your views on this?

@Br0wnHammer
Copy link
Member

@rajmahajan3196, you are thinking in the right direction. We can change this to 34px. That should do the trick. As this occurs on the login page as well.

.auth button:not(.MuiIconButton-root),
.auth .field .MuiInputBase-root:has(input) {
	height: 38px;
}
@media (max-width: 800px)
	.auth button:not(.MuiIconButton-root),
	.auth .field .MuiInputBase-root:has(input) {
		height: 36px;
	}

rajmahajan3196 pushed a commit to rajmahajan3196/Checkmate that referenced this issue Apr 11, 2025
rajmahajan3196 pushed a commit to rajmahajan3196/Checkmate that referenced this issue Apr 11, 2025
@rajmahajan3196 rajmahajan3196 linked a pull request Apr 11, 2025 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants