-
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
[HOLD for payment 2023-05-23] [$1000] DEV: Search items show weird undefined texts #18860
Comments
Current assignees @JmillsExpensify and @trjExpensify are eligible for the Bug assigner, not assigning anyone new. |
Bug0 Triage Checklist (Main S/O)
|
@aimane-chnaif do you have a deeper idea of what's going on here? Also, is this something you want to take on? If we're opening this up external, I think we need to improve these steps. Presumably you need some iou/expenseReports etc?
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@dhairyasenjaliya I cannot repro in staging or locally, any idea to see what is special about these accounts? |
@mountiny What I can see from the log is if we have report type
![]() ![]() Solution 1
//OptionsListUtils.js
createOption(){
const result = {
+ isIOUType: false,
}
if (report) {
+ result.isIOUType = ReportUtils.isIOUReport(report);
if (result.isChatRoom || result.isPolicyExpenseChat) {
result.alternateText = showChatPreviewLine && !forcePolicyNamePreview && lastMessageText ? lastMessageText : subtitle;
+ } else if (result.isIOUType) {
+ result.alternateText = Localize.translate(preferredLocale, 'footer.expenseReports'); // might be needed new message
+ } else {
result.alternateText = showChatPreviewLine && lastMessageText ? lastMessageText : LocalePhoneNumber.formatPhoneNumber(personalDetail.login);
}
}
}
//OptionRow.js
<DisplayNames
- shouldUseFullTitle={this.props.option.isChatRoom || this.props.option.isPolicyExpenseChat}
+ shouldUseFullTitle={this.props.option.isChatRoom || this.props.option.isPolicyExpenseChat || this.props.option.isIOUType}
/>
Result![]() Solution 2
|
Correction on Solution 1
|
@dhairyasenjaliya Ok I think for now we can go with showing the report name same as in LHN of rmoney requests (expense + iou reports) and add the Expense report or something else instead of the alternate text as I am not sure if we return that from backend Do you want to create a PR fro this? |
Yeah i think we are generating altertText from utlis helper so we can add text over there |
Thank you @dhairyasenjaliya Lets get this out fast 🔥 appreciate you stepping up |
Job added to Upwork: https://www.upwork.com/jobs/~01b54ea2f8c5c60bc1 |
Current assignees @JmillsExpensify and @trjExpensify are eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Discussing this with @trjExpensify |
Good to go here, related discussion was in the PR and here in slack. |
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.15-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 2023-05-25. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@MelvinBot Checklist provided already #18860 (comment) |
Melvin's trying to double up the payment, bad bot! |
@trjExpensify Can you take payment on this one? I'm headed out of office the rest of this week. |
Yup, back and looking at it now. |
Okay, so payments due: @aimane-chnaif - $250 for the bug report Offers have been sent, let me know when you accept and I'll settle up. 👍 |
Accepted thnx @trjExpensify |
Accepted! |
Settled up with all three of you, closing. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Search item should show display name and alternate text correctly
Actual Result:
Empty display name and undefined alternate text, IOU reports disappear once opened
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: DEV only
Reproducible in staging?: n/a
Reproducible in production?: n/a
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
Notes/Photos/Videos: Any additional supporting documentation
web.mov
iouReport.mov
bug.mov
Expensify/Expensify Issue URL:
Issue reported by: @aimane-chnaif
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683816514449429
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: