-
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
set initial system chat message for LHN preview #44738
set initial system chat message for LHN preview #44738
Conversation
@ZhenjaHorbach 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.movAndroid: mWeb Chromeandroid-web.moviOS: Nativeios.moviOS: mWeb Safariios-web.mov |
// We also add a fullstop after the final name, the word "and" before the final name and commas between all previous names. | ||
lastMessageText = ReportUtils.isSelfDM(report) | ||
? Localize.translate(preferredLocale, 'reportActionsView.beginningOfChatHistorySelfDM') | ||
: Localize.translate(preferredLocale, 'reportActionsView.beginningOfChatHistory') + |
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.
Could you return this string, please ?
Because as far as I can see we don't use it in new changes
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.
Ah, Thank you my mistake i have updated
Nice job 👍 |
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.
@ZhenjaHorbach @suneox what about the system message when you create a room?
@grgia The preview message for the chat room type is handled inside this condition |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/grgia in version: 9.0.5-0 🚀
|
🚀 Deployed to staging by https://github.com/grgia in version: 9.0.5-2 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.6-8 🚀
|
Details
Fixed Issues
$ #43830
PROPOSAL: #43830 (comment)
Tests
Precondition: Have an account haven't setup expensify
Welcome! Let's get you set up.
is displayed in the LHNOffline tests
QA Steps
Precondition: Have an account haven't setup expensify
Welcome! Let's get you set up.
is displayed in the LHNPR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
Screen.Recording.2024-07-02.at.22.27.27.mov
Android: mWeb Chrome
Screen.Recording.2024-07-02.at.22.16.35.mov
iOS: Native
Screen.Recording.2024-07-02.at.22.03.36.mov
iOS: mWeb Safari
Screen.Recording.2024-07-02.at.22.02.57.mov
MacOS: Chrome / Safari
MacOS: Desktop