Conversation
|
Thanks for this PR - I did some testing with my account that has a self-DM set up. There's a couple thing I noticed Screen.Recording.2024-02-26.at.10.08.44.AM.mov
|
|
@ishpaul777 Please fix conflicts and address #37165 (comment). |
fixed in 5d7a997
still have to investigate can't reproduce it with testing workaround but i am lookin into the addComment logic for better understanding
fixed in c8ae559 |
|
@thienlnam do you mind taking a look again 🙇♂️ |
|
Typescript checks failing is unrelated |
| const isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(report); | ||
| const isMoneyRequestReport = ReportUtils.isMoneyRequestReport(report); | ||
| const isSelfDM = ReportUtils.isSelfDM(report); | ||
| const accountIDs = report.visibleChatMemberAccountIDs ?? []; |
There was a problem hiding this comment.
comment for reference
Co-authored-by: Pavlo Tsimura <paultsimura@gmail.com>
… into trackExpense/selfDM
Co-authored-by: Pavlo Tsimura <paultsimura@gmail.com>
Co-authored-by: Pavlo Tsimura <paultsimura@gmail.com>
Co-authored-by: Pavlo Tsimura <paultsimura@gmail.com>
… into trackExpense/selfDM
paultsimura
left a comment
There was a problem hiding this comment.
Looks good and tests well.
![]()
|
@ishpaul777 please fix lint and we'll be good to go 👍 |
|
✋ 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/thienlnam in version: 1.4.47-0 🚀
|
| ); | ||
|
|
||
| const canJoinOrLeave = isChatThread || isUserCreatedPolicyRoom || canLeaveRoom; | ||
| const canJoinOrLeave = isChatThread || !isSelfDM || isUserCreatedPolicyRoom || canLeaveRoom; |
There was a problem hiding this comment.
Looks like this condition caused regression #37709
@ishpaul777 could you please take a look
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.47-10 🚀
|
|
We missed a case to update the LHN message for self DM |
| <Text style={[styles.textHero]}>{getWelcomeHeroText}</Text> | ||
| </View> | ||
| <View style={[styles.mt3, styles.mw100]}> | ||
| {isPolicyExpenseChat && |
There was a problem hiding this comment.
As a result of this logic, we had a UX issue:
which we decided together with the design team to fix by replacing the pressable component with a view and not navigate anymore.
There was a problem hiding this comment.
i think this PR https://github.com/Expensify/App/pull/34150/files#diff-efb29392ed56b170976d93494c7279dba94f19182551d5cca6c4e4e97bc0433f, introduced the Pressable component at first, blame history might be written over by this PR
Details
Tasks in Scope:
Fixed Issues
$ #36361
PROPOSAL:
Tests
Adding the reportName for this chat 'Your Name (you)'
+ (you)+ (you)+ (you)Removing the option to 'Request/Send Money' from the chat
Preventing this self-dm from showing up in the participant selectors (except tasks)
Determining how the details page of the self DM will look.
-Verify it should looks same a 1:1 chat details page except all of the option like message/private notes/notification preference/settings/members should be hidden and their deeplinks should show not found page
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2024-03-02.at.6.59.28.AM.mov
Android: mWeb Chrome
Screen.Recording.2024-03-02.at.6.46.12.AM.mov
iOS: Native
Screen.Recording.2024-03-02.at.6.30.57.AM.mov
iOS: mWeb Safari
Screen.Recording.2024-03-02.at.6.36.11.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-03-02.at.6.12.36.AM-1.mov
MacOS: Desktop
Screen.Recording.2024-03-02.at.7.03.06.AM-1.mov