-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Fix style regressions caused by new Global Nav component #29057
Comments
ProposalPlease re-state the problem that we are trying to solve in this issue.Sign in button and avatar with status should fit into the Sub LHN What is the root cause of that problem?Currently, global navigation has width 72px Lines 83 to 84 in 389d7b0
But the button sign-in has width 80px. Lines 2296 to 2298 in 389d7b0
When using set status we have What changes do you think we should make in order to solve the problem?we can increase the width of global navigation to What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~01289f055aecd3e696 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The button is too big for sidebar What is the root cause of that problem?Sidebar width(72) is smaller than the button(80) What changes do you think we should make in order to solve the problem?First we need to look at the sidebar styles
The most interesting thing for us is When these styles were created, perhaps the idea was that the width of the sidebar would be 72(styles.globalNavigation) + 20/20(styles.ph5) But since in react native box-sizing is equal to border-box And if my theory is correct What alternative solutions did you explore? (Optional)The best way to fix this is to first contact the designers )))) |
the sidebar has a fixed width which is causing this issue, giving a variable width to the sidebar relative to the button width will solve this issue, even in the future if the button text changes or the font size increases, it won't cause a problem. #simpleCSSHacks |
📣 @ashishBajracharyaFrostidi! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issueLogin - Sign in button for anonymous user on New LHN Nav is not fitting What is the root cause of that problem?Sign in Button has a width of 82 px while the globalNavigation container has width of 70 px so the sign in button does not fit in container What changes do you think we should make in order to solve the problem?We should make the width for sign in button 95% of the container here Lines 2296 to 2298 in 389d7b0
What alternative solutions did you explore? (Optional)NA |
🚨 Can you combine this issue with this issue? |
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
melvin, please remove the |
assigning myself as this is a regression from a wave 8 issue |
@zanyrenney could you handle the payment according to this suggestion? |
Current assignee @zanyrenney is eligible for the Bug assigner, not assigning anyone new. |
Bug0 Triage Checklist (Main S/O)
|
https://www.upwork.com/jobs/~01a3d3d2d9336a21ba @ishpaul777 have invited you to the job. |
@zanyrenney Thanks! I accepted the invite |
@zanyrenney, @robertKozik, @0xmiroslav, @hayata-suenaga, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
if the payment has been completed, we can close this issue 🙇 |
@hayata-suenaga can you please remove |
we're waiting for the payment? |
Please handle the payment according to this suggestion please 🙇 |
I noticed that @zanyrenney's slack status indicates OOO until Wed |
payment summary - @ishpaul777 $50 for regression reports. As per this comment, closing. |
Paid @situchan through bonus due to problem with hourly contract. |
Paid @situchan via a bonus as I messed up the orignal offer and made it hourly. Closing! |
This issue handles all regressions stemmed from the addition if the new Global Nav component in this PR. Any proposals should handle all these regressions. Please refer to the screenshots attached for the new design requirements to solve these issues.
cc: @allroundexperts
Sign in button on Global Nav is cropped (the original issue)
Avatar on Global Nav is cropped
Avatar on Global Nav is very close to the native icons on desktop
Settings Background for profile details Header is changed unintentionally while refactoring LHN
Sign in banner for anonymous user don't have a highlighted green background color
The text was updated successfully, but these errors were encountered: