-
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
fix: show workspace name in search preview for policy expense chats #16554
fix: show workspace name in search preview for policy expense chats #16554
Conversation
Updated and ready for review! |
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.
Left couple of suggestions for comment
Leaving testing and review to @0xmiroslav thanks!
Updated! |
Thanks, all your @0xmiroslav |
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.
Looking good to me, gonna wait for @0xmiroslav to go through the checklist, thank you 🙇
reviewing shortly |
Reviewer Checklist
Screenshots/VideosMobile Web - Chromemchrome.movMobile Web - Safarimsafari.mp4iOSios.mp4Androidandroid.mov |
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.
Code looks good.
Confirmed fix on both LHN and Search
|
I am adding a CP to staging label so we can get this out soon and we can retest the Workspace Chats milestone this week cc @trjExpensify |
Congrats, that’s your 5th PR merged! 🎉 Do you know about the ContributorPlus role? It’s an opportunity to earn more in the Expensify Open Source community. Keep up the great work - thanks! |
…chat_admin_search fix: show workspace name in search preview for policy expense chats (cherry picked from commit fd13bf2)
…-16554 🍒 Cherry pick PR #16554 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 1.2.92-1 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.92-2 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
Details
If the chat is a policy expense chat, it verifies if the current user is an admin of that policy. If so, it shows the name of the workspace in the chat instead of the last message.
Fixed Issues
$ #16463
#16463 (comment)
Tests
policyExpenseChat
betaOffline tests
Not applicable
QA Steps
policyExpenseChat
betaPR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android