-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] Web - Login - Sign in with Google banner in ../sign-in-with-google page jumps #28080
Comments
Triggered auto assignment to @maddylewis ( |
Bug0 Triage Checklist (Main S/O)
|
@maddylewis Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
i can reproduce this on Safari: 2023-09-28_12-23-14.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~01d1eaacbfa4ad6b5d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Sign-in with Google banner keeps jumping up when page is refreshed What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?Use What alternative solutions did you explore? (Optional)N/A |
Hi everyone, I'm Solomon Ochepa by name. I'm a full-stack developer (General PHP, Laravel, CodeIgniter, etc.) with more than ten (10) years experience. I saw your post on the UpWork platform. Before proceeding, I'd like to know the stack. Thanks. |
📣 @solomon-ochepa! 📣
|
Contributor details |
ProposalPlease re-state the problem that we are trying to solve in this issueWeb - Login - Sign in with Google banner in ../sign-in-with-google page jumps What is the root cause of that problem?We call an external script on App/src/components/SignInButtons/GoogleSignIn/index.website.js Lines 33 to 69 in 3b2dc32
If we go to the network tab and reload the page, we can verify that the Button showed first and the layout shift (button jump) is happening when font What changes do you think we should make in order to solve the problem?We need to wait for all the script and styling inside the This way when Then the only way to capture all the activity is adding setTimeout of Here are the complete code solution of it
What alternative solutions did you explore? (Optional)We can directly waiting for all script & style to be loaded and implemented with ResultSafari Chrome mWeb Safari mWeb Chrome |
@maddylewis, @situchan Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@situchan - bump on proposal review - thanks!! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
I don't see solid proposal yet |
Do you have any feedback on my proposal? We can see from the Network activity that the Button showed first and the layout shift (button jump) is happening when font 4UabrENHsxJlGDuGo1OIlLU94YtzCwM.ttf is downloaded & loaded as my proposal, thus I believe this is the Root Cause of it |
@maddylewis @situchan this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
If the alternative is fixing it via changing the width and height for Here is the demo via fixing style, below
button_chrome.mov
button_safari.mp4Based on my last update, the RCA is not on the button styling (that we can control like above), but rather on how some Google Sign-In styles are loaded late. Thus, if there's a simpler way to fix it, then I'm very open to learning more, but I believe the only way to fix this is by showing the button after all the late styles are loaded. cc: @situchan @maddylewis |
i'll let @situchan confirm whether or not @studentofcoding's proposal makes sense to move forward with. |
ProposalPlease re-state the problem that we are trying to solve in this issue."Sign in with Google" button jumps on Safari What is the root cause of that problem?
This button uses external script and this view displays instantly before style is loaded What changes do you think we should make in order to solve the problem?We already had similar issue in the past - #25768 Lines 3574 to 3578 in e99c297
Add And width is wrongly set. 300 is the correct width - App/src/components/SignInButtons/GoogleSignIn/index.website.js Lines 48 to 53 in e99c297
|
I am fine with @mkhutornyi's proposal as using same solution applied in circle button. |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
This issue has not been updated in over 15 days. @marcaaron, @maddylewis, @mkhutornyi, @situchan eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
This one landed on production a while ago. But seems like the issue got stuck. Did everyone who was supposed to get paid get paid here? |
Current assignee @situchan is eligible for the External assigner, not assigning anyone new. |
No payment yet |
Payment Summary
the job is closed so creating a new one and sending offers. |
@mkhutornyi - remind me, are you a contractor or do you require payment through Upwork? |
@maddylewis upwork please, similar to #30616 (comment) |
thanks! paid 👍 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
on Safari
Expected Result:
The Sign in with Google banner will not jump
Actual Result:
The Sign in with Google banner jumps
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.73-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6211713_20230924_000637.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: