-
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
[CP Staging] Fix chat view in search router #53293
Conversation
@@ -148,6 +148,8 @@ function SearchRouterList( | |||
{ | |||
excludeLogins: CONST.EXPENSIFY_EMAILS, | |||
includeSelfDM: true, | |||
showChatPreviewLine: true, | |||
shouldBoldTitleByDefault: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes: #53289
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the PR that originally introduced shouldBoldTitleByDefault
: https://github.com/Expensify/App/pull/48575/files
I understand that we used to pass shouldBoldTitleByDefault: false
before the refactor #52568
@abdulrahuman5196 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
thanks 👍 somehow I missed these options being added. |
Include showChatPreviewLine: true (cherry picked from commit eddc533) (CP triggered by mountiny)
…-53293-1 🍒 Cherry pick PR #53293 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/MonilBhavsar in version: 9.0.68-3 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
Fixed issues #53291 Bug6679872_1732877692137.Recording_2024-11-29_134625.mp4Bug6679851_1732876321280.Recording_2024-11-29_133005.mp4https://platform.utest.com/services/links/v1/internal/55238622?.mp4 https://platform.utest.com/services/links/v1/internal/55238623?.mp4 |
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.68-7 🚀
|
Explanation of Change
The refactor #52568 seems to have missed passing some parameters
cc @Kicu @SzymczakJ @hannojg if you can take a look here when you have time 🙏
Fixed Issues
$ #53291
$ #53289
PROPOSAL:
Tests
Case 1: Group found in search should show the last message
Search
button on the top rightCase 2: Bold title show reflect read status
account A
account B
account B
, find the DM in the search to the top right:account B
, go to another chat (your concierge chat for example)account A
, send a new message in the chat between the two usersaccount B
, find the DM in the search to the top rightOffline tests
QA Steps
Case 1: Group found in search should show the last message
Search
button on the top rightCase 2: Bold title show reflect read status
account A
account B
account B
, find the DM in the search to the top right:account B
, go to another chat (your concierge chat for example)account A
, send a new message in the chat between the two usersaccount B
, find the DM in the search to the top rightPR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Group showing last message:
Last read status reflected in bold:
Screen.Recording.2024-11-28.at.5.36.52.PM.mov
MacOS: Desktop