Add row to workspace chat in Workspace#52449
Conversation
@s77rt Fixed this bug. |
Reviewer Checklist
Screenshots/Videos |
@shawnborton What do you think? This is the reason why I added another margin/padding initially. |
|
@s77rt Should we also grey out the submit expense text? |
|
Overall looks good to me. I will retest and approve the PR after the design concerns are addressed.
I don't have a strong preference, will let this to the design team as well |
|
There is just this "bug?" that I noticed but it exists in the app already (e.g. deep link from chat): If you put the workspace switcher on workspace A and go to workspace B and click on the row. The chat will be open without changing the workspace. Screen.Recording.2024-11-19.at.5.06.33.PM.mov |
For offline, I don't think we should "gray out" the text above the interactive element, we should only "gray out" the interactive element itself. |
|
Agree with both of your comments Shawn! |
grgia
left a comment
There was a problem hiding this comment.
LGTM, let's have design do final confirmation once tests pass
@shawnborton Please help to get a final confirmation when you have a chance, thanks. |
|
🚧 @shawnborton has triggered a test build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
Design looks good to me 👍 |
|
@grgia Please help to review again when you have a chance. |
|
Lovely, feel free to merge @grgia - all good on my end! |
|
✋ 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.68-0 🚀
|
| ))} | ||
| </View> | ||
| </OfflineWithFeedback> | ||
| <View style={[styles.pb4, styles.mh3, styles.mt3]}> |
There was a problem hiding this comment.
What if the workspace does not have workspace chats enabled, i dont see a check to not show the button in such case @nkdengineer
There was a problem hiding this comment.
@mountiny This case will happen if isPolicyExpenseChatEnabled is false right?
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.0.68-7 🚀
|
| title={getReportName(currentUserPolicyExpenseChat)} | ||
| description={translate('workspace.common.workspace')} | ||
| icon={getIcons(currentUserPolicyExpenseChat, personalDetails)} | ||
| onPress={() => Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(currentUserPolicyExpenseChat?.reportID ?? '-1'))} |
There was a problem hiding this comment.
Coming from #53665, we should add UP type here to prevent WS list opens in background.













Explanation of Change
Fixed Issues
$ #51851
PROPOSAL: #51851 (comment)
Tests
Submit expenses using your workspace chat below:is displayed in the bottom leftOffline tests
same as above
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
same as above
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.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 and/or tagged@Expensify/designso 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
android.mov
Android: mWeb Chrome
android.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
Screen.Recording.2024-11-13.at.15.14.47.mov
MacOS: Desktop
desktop.mov