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

Position of sign in/out button #47

Merged
merged 4 commits into from
Apr 5, 2024
Merged

Position of sign in/out button #47

merged 4 commits into from
Apr 5, 2024

Conversation

sillytsundere
Copy link
Collaborator

Description

Position of sign in/out button was moved to top right of screen above the app name.Design choice made by developers. The size of the sign in/out button was also changed. Size was made slightly larger for desktop and a bit larger for mobile device to aid user experience and ability to click button.

Type of Changes

styling, accessibility

Updates

Before

Screenshot 2024-04-01 at 8 25 00 PM

After

Screenshot 2024-04-01 at 8 24 23 PM

Testing Steps / QA Criteria

  • git pull
  • git checkout sign-out-btn-style
  • npm ci
  • npm run start
  • from any page in the app observe the new location of the sign in/out button at the top right of the header
  • sign in/out functionality still works

Copy link

github-actions bot commented Apr 2, 2024

Visit the preview URL for this PR (updated for commit df0b3c9):

https://tcl-73-smart-shopping-list--pr47-sign-out-btn-style-nvqhk1qd.web.app

(expires Fri, 12 Apr 2024 03:24:27 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 99eed22fcca8bd9874e77f7b7f7d1eeb554a1666

Copy link
Collaborator

@rachelspencer rachelspencer left a comment

Choose a reason for hiding this comment

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

Looks great Paige! I think this location will make it better on mobile. Maybe we could remove the media query and have the button on desktop the same as on mobile?

@sillytsundere
Copy link
Collaborator Author

@rachelspencer i thought it looked a little small on desktop, at least it just looks sUPER small and far away on my second monitor, but i'll look at it on my laptop screen and you're right it could probably just be the same for both. I'll make that change

Copy link
Collaborator

@jaguilar89 jaguilar89 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 a good change. We could perhaps add the theme button right below it?

But I also had an idea for a menu button that renders when signed in, in which the theme button and the sign out button could be contained.

Proof of concept:

Screen.Recording.2024-04-02.at.3.42.55.PM.mov

@sillytsundere @rachelspencer @trushmi thoughts??

@sillytsundere
Copy link
Collaborator Author

@jaguilar89 that looks great, I don't know if we need to make a new menu for it, but i think we should get this and the other PR's merged before we continue making any more changes. That way we can see how the final app is going to look, and identify what still needs to be done after seeing how all our implemented changes work together. I do think we'll need to style its position with the theme toggle though. @trushmi and @rachelspencer thoughts?

@trushmi
Copy link
Member

trushmi commented Apr 3, 2024

@jaguilar89 that looks great, I don't know if we need to make a new menu for it, but i think we should get this and the other PR's merged before we continue making any more changes. That way we can see how the final app is going to look, and identify what still needs to be done after seeing how all our implemented changes work together. I do think we'll need to style its position with the theme toggle though. @trushmi and @rachelspencer thoughts?

I find @jaguilar89's idea very interesting and worth discussing! For now, I agree with @sillytsundere to check how the final app is going to look after we merge our changes and then discuss the menu button.

Copy link
Member

@trushmi trushmi left a comment

Choose a reason for hiding this comment

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

Looks good! Great job @sillytsundere !

@rachelspencer
Copy link
Collaborator

Yeah sounds good @sillytsundere @trushmi @jaguilar89! I think the sign in button should match the other Radix button themes, this will be easily achieved by replacing the html button with the Radix Button component.

I think we all have the same idea, lets see how all these merges look and tackle some tweaks after!

Copy link
Collaborator

@polly89 polly89 left a comment

Choose a reason for hiding this comment

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

Love the new location. Great job!

@sillytsundere sillytsundere merged commit 427e415 into main Apr 5, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants