-
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
[$250] Chat - Skeleton appears behind expensify pattern on chat page #47799
Comments
Triggered auto assignment to @alexpensify ( |
We think that this bug might be related to #vip-vsb |
@alexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-08-21 20:37:29 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Skeleton appears behind expensify pattern on chat page What is the root cause of that problem?We use
When we open an Expensify link for the first time, the app calls After that, every time we reload or open a link, the app calls In Another interesting part that I found in App/src/libs/Navigation/AppNavigator/AuthScreens.tsx Lines 166 to 173 in 2fd5bbe
This function is run every time we reload the app, and the above bug leads to an interesting behavior: we cycle between expected behavior and bug each time we reload the app. What changes do you think we should make in order to solve the problem?We should call What alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-08-22 00:51:37 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The skeleton appears behind the Expensify pattern on the chat page. What is the root cause of that problem?We show the skeleton when the app is loading by checking that App/src/pages/home/ReportScreen.tsx Line 128 in 2fd5bbe
And using it here: App/src/pages/home/ReportScreen.tsx Lines 391 to 394 in 2fd5bbe
So the skeleton and the Expensify pattern appear at the same time. What changes do you think we should make in order to solve the problem?We should avoid showing the Expensify pattern when the app is loading by showing it only when
Below is a POC after applying the solution: Screen_Recording_20240822_025351_Chrome.mp4What alternative solutions did you explore? (Optional) |
Proposal updated |
Proposal updated |
@alexpensify Huh... This is 4 days overdue. Who can take care of this? |
Job added to Upwork: https://www.upwork.com/jobs/~01d6a2ce5738f29be5 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
@Ollyws - when you get a chance, please review the proposals and determine which one will fix this issue. Thanks! Heads up, I will be offline until Tuesday, September 3, 2024, and will not actively watch over this GitHub during that period.If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
@daledah it seems like the getOnyxDataForOpenOrReconnect function hasn't been modified for a long time, do you have any idea what caused this issue? Something on the backend possibly? |
@alexpensify, @Ollyws Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@Ollyws I tested for some times now, and it looks like the bug is not reproducible anymore on the latest main. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@alexpensify, @Ollyws Still overdue 6 days?! Let's take care of this! |
Catching up from being OOO, @Ollyws keep us posted if you still have questions here or if we need to start a discussion. |
@alexpensify @Ollyws 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! |
@daledah Still occuring for me: Screen.Recording.2024-09-05.at.13.58.29.mov |
Not overdue...awaiting proposals. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
ProposalPlease re-state the problem that we are trying to solve in this issue.There are two issues:
What is the root cause of that problem?
App/src/pages/home/ReportScreen.tsx Lines 803 to 820 in 1e8d80e
What changes do you think we should make in order to solve the problem?The second issue requires back-end investigation, while the first can be resolved on the front-end. The To address the first problem, we can create a new variable called
Add this code in const firstReportAction = reportActions[0];
const shouldRenderFirstReportAction = !!firstReportAction &&
!ReportActionsUtils.isActionOfType(firstReportAction, CONST.REPORT.ACTIONS.TYPE.CREATED) &&
!ReportActionsUtils.isDeletedAction(firstReportAction); Consider renaming Change this code: App/src/pages/home/ReportScreen.tsx Lines 803 to 820 in 1e8d80e
To: {shouldRenderFirstReportAction && (
<ReportActionsListItemRenderer
reportAction={firstReportAction}
reportActions={reportActions}
parentReportAction={parentReportAction} What alternative solutions did you explore? (Optional)N/A |
Triggered auto assignment to @carlosmiceli, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @wildan-m 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Awesome, the PR is moving along |
Now we wait for this one to go through automation. It went into production three days ago. |
@alexpensify Automation didn't seem to work, this one is due for payment today. Thanks! |
Thanks for flagging @Ollyws. I had a note here too to prepare if there was automation failure: #47799 (comment) Payouts due: 2024-09-24
Upwork job is here. |
Requested in ND. |
$250 approved for @Ollyws |
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.23-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: https://expensify.testrail.io/index.php?/tests/view/4878182&group_by=cases:section_id&group_order=asc&group_id=229066
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Loading skeleton should not be positioned behind expensify chat
Actual Result:
Skeleton appears behind expensify pattern on chat page
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6577958_1724232656722.Recording__3794.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: