-
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 2023-11-30] [$500] Web - Animation is not visible on desktop but visible on Mobile in sign in Modal #30252
Comments
Triggered auto assignment to @adelekennedy ( |
Job added to Upwork: https://www.upwork.com/jobs/~01262777214760530e |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Proposal by: @ishpaul777 ProposalProblemAnimation is not visible on desktop but visible on Mobile in sign in Modal Root Causein [SignInPageContent] (https://github.com/Expensify/App/blob/5005161e0a4cbb0fa9e6afb693fa0690cac994c7/src/pages/signin/SignInPageLayout/SignInPageContent.js), We are showing the animation for smallscreen, This is because the same component is used for signInpage and we have different layout for the desktop in signInpage that is why the Animation only visible on smallscreen and not on desktop. Changes
``jsx
|
ProposalProblemAnimation is not visible on desktop but visible on Mobile in sign in Modal Root Causein SignInPageContent, We are showing the animation for smallscreen, This is because the same component is used for signInpage and we have different layout for the desktop in signInpage that is why the Animation only visible on smallscreen and not on desktop. ChangesWe can have isInModal prop from parent component SignInPageLayout passed to SignInPageContent and show the animation when the SignInPageContent used in Modal. {props.isSmallScreenWidth || props.isInModal ? (
<View style={[styles.mt8]}>
<SignInHeroImage />
</View>
) : null}
// src/pages/signin/SignInHeroImage.js
if (props.isSmallScreenWidth || props.isInModal) {
imageSize = {
height: variables.signInHeroImageMobileHeight,
width: variables.signInHeroImageMobileWidth,
};
} |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)NA |
@tienifr, it seems like passing shouldShowSmallScreen is somewhat similar to passing isInModal, given that isSmallScreenWidth is already being passed to SignInPageContent from the HOC. While transitioning to hooks from the HOC might be considered an improvement, it's not necessarily required to address the issue, but it could be a nice-to-have enhancement. Please don't take this the wrong way, but I'd have to stand by my proposal |
@ishpaul777 let's leave to the C+ to review, thanks!
I think we should fix this here since it's very laggy during my testing, it's not anything complicated. |
@thesahindia to review the above! |
@thesahindia lil' bump |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@ishpaul777's proposal was first. @tienif suggested better code but the solution is same. They also suggested an improvement. I am fine with both. So I will leave the judgment to the engineer. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @puneetlath, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@puneetlath Just a note that my proposal is the only one that also fixes this lagging issue in this flow. I think we should fix it as part of this issue for better UX. |
I'm fine with any decision that @puneetlath will make, but I would appreciate some clarification. Are we addressing the issue of missing animation or focusing on a performance improvement problem? There are other components that also use the Quoting from the guidelines.
here the difference is a improvement suggestion that isn't related for original issue |
I think we should do app lagging fixes/major performance improvement anywhere we can, especially if it's a low-hanging fruit and affects the current flow in the issue. It only makes things better without downsides. |
I think the Proposal should be selected on the base of solving the Original issue not extra nice-to-have improvements. Rest is up to internal engineer to review, i will respect the decision. @puneetlath do you mind commenting on situation when you get the chance. Thanks! |
@puneetlath, @adelekennedy, @thesahindia Huh... This is 4 days overdue. Who can take care of this? |
Sorry for the delay. I prefer @tienifr's solution. I think it leaves the code in a better place than it was before, while fixing the issue. I appreciate your effort here @ishpaul777 and you're a valued contributor. My general approach is to try and choose the best proposal without regard to which came first. Looking forward to your next contribution. |
📣 @thesahindia Please request via NewDot manual requests for the Reviewer role ($500) |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.2-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-11-30. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
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:Issue Reporter: $50 @ishpaul777 (reported on the 23rd) |
I don't think we need a test case for this. |
$500 payment approved for @thesahindia based on comment above. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.3.90.1
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: @ishpaul777
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1698067583812339
Action Performed:
Expected Result:
Animation should be visible on Desktop screen also
Actual Result:
Animation not visible on Desktop screen.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Recording.5130.mp4
MacOS: Desktop
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: