-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2024-06-13] [$250] Last message text are not shown when searching for the rooms #41816
Comments
Triggered auto assignment to @laurenreidexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Showing the workspace chat name as last comment What is the root cause of that problem?In App/src/libs/OptionsListUtils.ts Line 1996 in 55c56bf
So the alternateText is forced to the App/src/libs/OptionsListUtils.ts Line 556 in 55c56bf
What changes do you think we should make in order to solve the problem?We should remove param so it can have the default value is App/src/libs/OptionsListUtils.ts Line 1996 in 55c56bf
What alternative solutions did you explore? (Optional)NA Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.Last message text are not shown when searching for the rooms What is the root cause of that problem?On the function App/src/libs/OptionsListUtils.ts Lines 555 to 557 in 55c56bf
because What changes do you think we should make in order to solve the problem?We should create a seperate condition for the chat room if (option.isChatRoom) {
return showChatPreviewLine && option.lastMessageText ? option.lastMessageText : option.subtitle;
}
if (option.isPolicyExpenseChat) {
return showChatPreviewLine && !forcePolicyNamePreview && option.lastMessageText ? option.lastMessageText : option.subtitle;
} If we change forcePolicyNamePreview to false from getSearchOptions or remove it, this will effect also the Policy Expense Chat preview on the find page POC; What alternative solutions did you explore? (Optional)NA |
@youssef-lr is this under vip-vsb? |
@laurenreidexpensify Yes I think it fits there. |
Job added to Upwork: https://www.upwork.com/jobs/~01d5ae7362185c5a44 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@youssef-lr What is the expected here? Should we fix for all reports show the last message text in search page or only fix for chat room? |
@youssef-lr bump for response, pls unassign yourself once you've reviewed thanks! |
Sorry I missed this. @nkdengineer this issue is about chat rooms only so I think we can limit it to those. |
@youssef-lr Should the policy expense chat, admin and announce room show the workspace name in search page? Actually these report also show WS name in the search page. I think we should show last message text for all report in search page. What do you think? |
#admins and #announce rooms should show the policy name I think so they can be distinguished, but other rooms should show the last message. For policy expense chats, do we not already show the last message? |
@youssef-lr Yes policy expense chat also show the WS name now. |
waiting on @youssef-lr's approval |
@youssef-lr @rushatgabhane @laurenreidexpensify @aldo-expensify 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! |
📣 @dragnoir You have been assigned to this job! |
@youssef-lr I think we're still discussing about the expected here #41816 (comment) |
@nkdengineer This issue specifically concerns rooms. I believe other cases should be addressed in separate issues. |
PR ready #42476 |
Merged, not yet on staging |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.79-11 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-06-13. 🎊 For reference, here are some details about the assignees on this 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:
|
Payment Summary -
@rushatgabhane pls confirm regression steps and checklist thanks |
Payment Summary
BugZero Checklist (@laurenreidexpensify)
|
@rushatgabhane pls confirm regression steps and checklist above so we can close thanks |
|
@mallenexpensify can you please confirm the payment summary about with an amount for @rushatgabhane? I can't approve until I have that. |
@JmillsExpensify , updated Lauren's payment breakdown above
|
$250 approved for @rushatgabhane |
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: 1.4.71-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: @youssef-lr
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1708669400849159
Action Performed:
Expected Result:
Last comment should display for the rooms
Actual Result:
Showing the workspace chat name as last comment
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @laurenreidexpensifyThe text was updated successfully, but these errors were encountered: