Closed m-natarajan closed 3 weeks ago
Triggered auto assignment to @kevinksullivan (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
Edited by proposal-police: This proposal was edited at 2024-09-03 13:13:24 UTC.
Empty space below the "Next" button when we open the page, and the button does not keep its position above the keyboard
We haven't set shouldEnableMaxHeight on the screen wrapper here https://github.com/Expensify/App/blob/e60b8210a1f5a2471d8aa9d84d0e461774b791d6/src/pages/settings/ExitSurvey/ExitSurveyResponsePage.tsx#L100
enable max height on the screen wrapper in exit survey response page
shouldEnableMaxHeight
We can also make same fixes in other exit survey page (or other pages) with the same problem
There are lot of empty spaces below the button in exit survey response page.
When the keyboard is shown, we don't resize the page height. We have a shouldEnableMaxHeight
prop to do it, but we aren't using it for the exit survey page.
https://github.com/Expensify/App/blob/5db0996d52d9c59a8570538a4601dffbca70395c/src/components/ScreenWrapper.tsx#L155
Enable the max height by passing the shouldEnableMaxHeight
prop to the page ScreenWrapper.
https://github.com/Expensify/App/blob/5db0996d52d9c59a8570538a4601dffbca70395c/src/pages/settings/ExitSurvey/ExitSurveyResponsePage.tsx#L121-L122
We can apply the same solution to any page that has the same issue.
This issue seems related to the virtual viewport on mWeb, which I resolved several months ago.
@kevinksullivan - Can I get assigned as C+ since I reported the bug?
Job added to Upwork: https://www.upwork.com/jobs/~021832067388388096796
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann (External
)
@kevinksullivan, @DylanDylann Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
On my list today
@bernhardoj Is there any difference between your proposal and @FitseTLT's proposal?
@FitseTLT
We can also make same fixes in other exit survey page (or other pages) with the same problem
@bernhardoj
We can apply the same solution to any page that has the same issue.
Which page has the same issue?
@FitseTLT Please follow the rule
@FitseTLT Please follow the rule
@DylanDylann I only made a minor change and a minor note to check for similar problems and fix in PR phase that's why I didn't notify for update
@bernhardoj Is there any difference between your proposal and @FitseTLT's proposal?
None, proposals are posted almost at the same time (1ms difference) https://api.github.com/repos/Expensify/App/issues/comments/2326480424 https://api.github.com/repos/Expensify/App/issues/comments/2326480465
Which page has the same issue?
I write this in case there is other cases found when working on the PR, but I just found that it happens in the console page too.
We can apply the same solution to any page that has the same issue.
https://github.com/user-attachments/assets/005a9a48-18bf-424e-a270-8cc326b70b14
Thanks, everyone. The solution is straightforward. Although @FitseTLT goes first, the difference is only one second. I still lean toward @bernhardoj's proposal because he provides more detailed information and presents it more clearly than @FitseTLT's original proposal. One more thing, @bernhardoj also point out the same bug on the console page.
Anyway, I will leave the final decision to the internal engineer
🎀 👀 🎀 C+ reviewed
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
@FitseTLT
We can also make same fixes in other exit survey page (or other pages) with the same problem
@DylanDylann I just wrote this to indicate we can fix similar problems in other pages in PR phase, for instance, with a short researching I found similar problem in Report Participants page but we will find more cases in PR phase
https://github.com/user-attachments/assets/740b15a2-6ec3-4390-ba89-83f092921c4a
I have proposed the same solution first @DylanDylann there is no reason to select the second proposal.
@roryabraham please consider reviewing the decision above I have stated the same solution first and equally indicated more cases to be dealt with (as ReportParticipantsPage) but the reviewer is chosing the second proposal. Thx
Waiting on the internal stamp of approval. I am going OOO so I'm looping in another member of BZ
Triggered auto assignment to @puneetlath (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
I have proposed the same solution first @DylanDylann there is no reason to select the second proposal.
@FitseTLT I think we shouldn't encourage posting a sketchy and brief proposal as soon as possible and then updating it later. Keep in mind that @bernhardoj’s proposal came just one second after yours, but it is clearer and more detailed. He also explains why using shouldEnableMaxHeight will address the issue effectively.
@DylanDylann I just wrote this to indicate we can fix similar problems in other pages in PR phase
I expect we can address it in the proposal because I see many cases where contributors missed that in the PR phase
for instance, with a short researching I found similar problem in Report Participants page
I don't see the same problem in Report Participants page as you mentioned
https://github.com/user-attachments/assets/b1636ff7-53ef-498c-9a81-7fa3ba98a0d6
Anyways, Let's waiting for @roryabraham to give the final decision
thanks everyone, just seeing this but it's late for me. I'll review tomorrow
I don't see the same problem in Report Participants page as you mentioned
@DylanDylann The problem occurs when there is a text input in the page and to achieve that you need to have > 8 participants as indicated in my video.
@puneetlath, @kevinksullivan, @roryabraham, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick!
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!
I agree with @DylanDylann's evaluation (though, none of the proposals really explain the root cause, only that it's a known thing and we have a prop to fix it. Both RCAs are just repeating the solution).
@puneetlath @kevinksullivan @roryabraham @bernhardoj @DylanDylann 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!
@bernhardoj Waiting for PR
@bernhardoj do you have an ETA?
Sorry, I was sick. PR is now ready
cc: @DylanDylann
PR was deployed to prod 2024-09-27
, so it's ready to pay.
@DylanDylann can you complete the checklist?
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:
[@DylanDylann] The PR that introduced the bug has been identified. Link to the PR: NA [@DylanDylann] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment: NA [@DylanDylann] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion: NA [@DylanDylann] Determine if we should create a regression test for this bug. Yes [@DylanDylann] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Regression Test Proposal
Do we agree 👍 or 👎
Great, thanks.
Payment summary:
Thanks everyone!
Requested in ND.
$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.28-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: @rayane-djouah Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1725318514200989
Action Performed:
Expected Result:
The next button should be correctly positioned above the keyboard
Actual Result:
Empty space below the "Next" button when we open the page, and the button does not keep its position above the keyboard
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/fec90ee3-b08c-4ca2-94a7-6093befc7eee
https://github.com/user-attachments/assets/a981f569-e099-46a4-90b5-1cd26a0eb507
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @puneetlath