-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Awaiting checklist] [HOLD for payment 2024-12-25] [$250] Search -"Join" button displayed for some seconds when opening expenses in search after login #52589
Comments
Triggered auto assignment to @twisterdotcom ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.A "Join" green button, can be seen on top of reports when opening expenses on search after logging in, and the report title only displays "Expense" instead of the expense details for some seconds What is the root cause of that problem?When sign in, or clear cache and restart, the parent report of the expenses are not received:
BE only send parent report data when we call ![]() If parent report is empty, in Line 1661 in d5e7a5a
Lines 1637 to 1638 in d5e7a5a
So the header for the report in this case would be App/src/pages/home/ReportScreen.tsx Lines 293 to 302 in d5e7a5a
In What changes do you think we should make in order to solve the problem?We should set App/src/pages/home/HeaderView.tsx Line 150 in d5e7a5a
const isLoading = !report?.reportID || !title || (!!report?.parentReportID && !parentReport); What alternative solutions did you explore? (Optional)Or we can create a separate variable for this condition only: const isParentReportLoading = !!report?.parentReportID && !parentReport; And then apply this to the join buttons: App/src/pages/home/HeaderView.tsx Line 294 in d5e7a5a
{!isParentReportLoading && canJoin && !shouldUseNarrowLayout && joinButton} App/src/pages/home/HeaderView.tsx Line 315 in d5e7a5a
{!isParentReportLoading && !isLoading && canJoin && shouldUseNarrowLayout && <View style={[styles.ph5, styles.pb2]}>{joinButton}</View>} |
Job added to Upwork: https://www.upwork.com/jobs/~021858438366366454101 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
@twisterdotcom Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Reviewing, will update! |
Seems like this is only reproducible for expenses from archived workspace. |
@getusha Yes, pretty easy to reproduce.
Screen.Recording.2024-11-21.at.17.20.48.mp4 |
Triggered auto assignment to @puneetlath, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@puneetlath, @twisterdotcom, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Waiting for assignment |
📣 @daledah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.76-12 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 2024-12-25. 🎊 For reference, here are some details about the assignees on this issue:
|
@getusha @twisterdotcom @getusha 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] |
@puneetlath, @twisterdotcom, @getusha, @daledah Eep! 4 days overdue now. Issues have feelings too... |
@puneetlath, @twisterdotcom, @getusha, @daledah Still overdue 6 days?! Let's take care of this! |
@getusha friendly bump. |
@puneetlath, @twisterdotcom, @getusha, @daledah 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it! |
@puneetlath, @twisterdotcom, @getusha, @daledah 12 days overdue. Walking. Toward. The. Light... |
@getusha there can't be a payment for you until the checklist is done please. |
This issue has not been updated in over 14 days. @puneetlath, @twisterdotcom, @getusha, @daledah eroding to Weekly issue. |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Seems like we already have a testrail for this: https://expensify.testrail.io/index.php?/tests/view/5227066&group_by=cases:section_id&group_order=asc&group_id=296775 |
Nice, you did it! |
$250 approved for @getusha |
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.62-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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/5227066&group_by=cases:section_id&group_order=asc&group_id=296775
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
When user opens any expense on search section, all the information available on the report, should load automatically
Actual Result:
A "Join" green button, can be seen on top of reports when opening expenses on search after logging in, and the report title only displays "Expense" instead of the expense details for some seconds
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6665483_1731602331532.Join.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @getushaThe text was updated successfully, but these errors were encountered: