-
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
[HOLD for payment 2024-10-07][$250] Loading skeleton for Settings header is slightly off #49548
Comments
Triggered auto assignment to @kadiealexander ( |
Edited by proposal-police: This proposal was edited at 2024-09-21 04:28:05 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.When the account is loading on Settings, the location of the loading skeleton is slightly off from where the actual avatar and username will go What is the root cause of that problem?Styles change What changes do you think we should make in order to solve the problem?We should add margin-left with negative value here Lines 2828 to 2830 in 513e6b3
What alternative solutions did you explore? (Optional)Or we can reduce the value of startPositionX This is results when we set Screen.Recording.2024-09-21.at.02.03.42.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Loading skeleton for Settings header is slightly off What is the root cause of that problem?The
What changes do you think we should make in order to solve the problem?Reduce it to What alternative solutions did you explore? (Optional)Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.The setting avatar skeleton loader is not aligned to the left. What is the root cause of that problem?The cx value here is set to 30. App/src/components/AccountSwitcherSkeletonView/index.tsx Lines 35 to 36 in a5ca9b8
The cx value tells the position of the x center of the circle. If we set it to 0, then only the right half of the circle will be shown. What changes do you think we should make in order to solve the problem?To align the circle to the left of the view, then we need to set the cx to be the half size of the circle, which is the same as its radius. So, we can put the radius value here as the
|
@kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~021838488394004973335 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
Proposal |
user Your proposal will be dismissed because you did not follow the proposal template. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The setting's avatar is not left aligned What is the root cause of that problem?The cx value. is set to 30 What changes do you think we should make in order to solve the problem?The cx value should be set to half of the original value. This should solve the left alignment icon issue What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Thank you all for your proposals. All correctly identified the Avatar Skeleton Circle centre position as the reason for the mismatch. As far as my experience and understanding w.r.t. CSS/SVG issues goes, identifying the correct attribute and its accurate value (considering other existing styles/attributes) is seen valuable enough to prioritise a proposal over others. @bernhardoj 's proposal identifies the circle position exactly to match the loaded avatar position. I think we can go with his proposal. 🎀 👀 🎀 C+ Reviewed |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @c3024 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @c3024 |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Payouts due:
Upwork job is here. |
Requested in ND. |
Regression Test Proposal
|
$250 approved for @bernhardoj |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.39-0
Reproducible in staging?: Y
Reproducible in production?: Y
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
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1726813572232319
Action Performed:
Expected Result:
No visual issues
Actual Result:
When the account is loading on Settings, the location of the loading skeleton is slightly off from where the actual avatar and username will go
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
CleanShot.2024-09-20.at.08.25.18.mp4
Recording.565.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @c3024The text was updated successfully, but these errors were encountered: