-
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
[HOLD for payment 2025-01-28] [$250] Android - Create Chat - "You appear to be offline" is displayed floating on room creation #54157
Comments
Triggered auto assignment to @greg-schroeder ( |
Edited by proposal-police: This proposal was edited at 2024-12-14 15:07:21 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.When creating a chat, the message "You appear to be offline" is displayed floating during room creation. What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?We should set App/src/components/ValuePicker/ValueSelectorModal.tsx Lines 29 to 35 in e5d7da8
POCWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)Another solution is to disable the enabled={shouldEnableKeyboardAvoidingView && isKeyboardShown} |
Edited by proposal-police: This proposal was edited at 2024-12-14 15:58:14 UTC. 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?
App/src/components/ValuePicker/index.tsx Line 48 in e5d7da8
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?What alternative solutions did you explore? (Optional)
|
Proposal updatedAdded an alternative solution |
Seems like this issue #53327 fixed the current issue as well, however there is a problem i notice .. the navigation feels abit heavy (laggy) after this change i think we shouldnt wait for the keyboard to be closed, we should just disable the Screen.Recording.2024-12-14.at.18.11.39.mov |
Yeah, I think it should be fixed in #53893 (comment) since it has just been merged for 13 hours. Asked the PR author to check. |
Job added to Upwork: https://www.upwork.com/jobs/~021869013333360050012 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
Awaiting results of the above, removing |
This bug is fixed by #53327 Screen.Recording.2024-12-18.at.11.06.20.mov |
I am still able to reproduce this bug: Screen.Recording.2024-12-23.at.15.19.11.movThere is a blank area at the bottom of the screen, causing the "You appear to be offline" message to float during room creation. This blank area’s height is inconsistent because it dynamically depends on the value of keyboard.progress.value, as implemented in the react-native-keyboard-controller. The value ranges between 0 and 1, representing the keyboard's animation progress. When logging keyboard.progress.value, I observed that it fluctuates inconsistently within the 0 to 1 range. For example: When keyboard.progress.value is closer to 0 (e.g., 0.1, 0.2), the blank area’s height is minimal. The reason why the value isn’t 0 even when the keyboard is successfully closed is explained in my proposal. |
@greg-schroeder, @DylanDylann Eep! 4 days overdue now. Issues have feelings too... |
Calm down Melv, I need to check the above comment and evaluate this issue again |
@truph01 How about this KeyboardAvoidingView? Do we need to remove it? App/src/pages/workspace/WorkspaceNewRoomPage.tsx Lines 254 to 260 in e5d7da8
|
That KeyboardAvoidingView will be used to handle when the keyboard is opened in the workspace new room page (when we focus on the Room name field, Room description field, ... So we don't need to remove it. |
Yeah, but I worry that this KeyboardAvoidingView will affect the ValuePicker component |
There's no need to worry. The KeyboardAvoidingView is only active in scenarios where the keyboard is present. Since the ValuePicker does not include any input fields, there's no instance where the keyboard would appear, ensuring that KeyboardAvoidingView won't impact its functionality. |
Not overdue, waiting for @youssef-lr to give an official assignment |
Bump @youssef-lr on the above |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @truph01 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Not overdue. |
PR is approved but not merged; seems there's some confusion over the implementation. @DylanDylann can you summarize quickly as it's a little hard to follow. 🤔 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.87-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 2025-01-28. 🎊 For reference, here are some details about the assignees on this issue:
|
@DylanDylann @greg-schroeder @DylanDylann The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Payment date is not 'til tomorrow |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
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: 9.0.76-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5347500&group_by=cases:section_id&group_order=asc&group_id=229067
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12
App Component: Other
Action Performed:
Expected Result:
"You appear to be offline" message should be displayed at the bottom of the screen.
Actual Result:
"You appear to be offline" message is displayed floating almost in the middle of the screen, when entering "Visibility" section while creating a room.
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/5507802e-b409-49e6-ab61-78a700e78efa
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @greg-schroederThe text was updated successfully, but these errors were encountered: