Open dubielzyk-expensify opened 1 day ago
Edited by proposal-police: This proposal was edited at 2024-11-21 07:50:42 UTC.
Add header description to Concierge chat
Improvement
First we need to update getChatRoomSubtitle
:
https://github.com/Expensify/App/blob/72034f21a698c9eb4c2d1d7a3ddb64b951e13808/src/libs/ReportUtils.ts#L4107
We need to check if isConciergeChatReport(report)
is true
and if so we need to show the text 24/7 support
:
Then we also need to update getReportOption
:
https://github.com/Expensify/App/blob/72034f21a698c9eb4c2d1d7a3ddb64b951e13808/src/libs/OptionsListUtils.ts#L759
Here to we need to check if option.isConciergeChat
is true and then set the alternateText
to 24/7 support
:
NotSo we need to update it with newly provided copy (same update for spanish copy as well)
@dubielzyk-expensify what is the new header description ? the image is not loading in the issue description
Edited by proposal-police: This proposal was edited at 2024-11-20 23:27:48 UTC.
Add header description to Concierge chat
Improvement
getWelcomeMessage
to return new phrase if isConciergeChatReport
is true. Similar to ReportUtils.isSystemChat(report)
& ReportUtils.isSelfDM(report)
.
https://github.com/Expensify/App/blob/d49d52dd3d9b3688c52a9fbbc93e988c826d209f/src/libs/SidebarUtils.ts#L559-L570|| ReportUtils.isConciergeChatReport(report)
in the condition below.
https://github.com/Expensify/App/blob/d49d52dd3d9b3688c52a9fbbc93e988c826d209f/src/components/ReportWelcomeText.tsx#L42welcomeMessage.phrase1
when ReportUtils.isConciergeChatReport(report)
is true. Just like we have for isSelfDM
&& isSystemChat
.
{ReportUtils.isConciergeChatReport(report) && (
<Text>
<Text>{welcomeMessage.phrase1}</Text>
</Text>
)}
welcomeMessage.phrase2
when ReportUtils.isConciergeChatReport(report)
is true. Add phrase 2 after this line.
if (ReportUtils.isConciergeChatReport(report)) {
welcomeMessage.phrase2 = ' Some text to clarify what Concierge is for';
}
welcomeMessage.phrase2
text after the {displayNamesWithTooltips.map(({displayName, accountID}, index) => (
text when ReportUtils.isConciergeChatReport(report)
is true after this line.what is the new header description ? the image is not loading in the issue description
Uploaded a new image, but the description says "24/7 support"
Auto-assigning issues to engineers is no longer supported. If you think this issue should receive engineering attention, please raise it in #whatsnext.
Add header description to Concierge chat
We don't have a special case for concierge chat, then it returns empty string here
Create a new translation key for 24/7 support
Add a case for concierge chat before this line
if (isConciergeChatReport(report)) {
return Localize.translateLocal('common.conciergeSupport'); // new translation key here
}
OPTIONAL: we can add option.alternateText
for the concierge chat report here
Updated proposal :
Cleanup and new expected results
Note that my proposal was updated before the above proposal (our time of edits is the same)
Triggered auto assignment to @sonialiap (NewFeature
), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.
:warning: It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time :warning:
Triggered auto assignment to Design team member for new feature review - @dannymcclain (NewFeature
)
Job added to Upwork: https://www.upwork.com/jobs/~021859701770005360001
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh (External
)
Note that my proposal was updated before the above proposal (our time of edits is the same)
I don't think so, let see the inspection time cc @fedirjh
Problem
We've had multiple instance in our testing of people not knowing what Concierge is. Some think it's related to AI in some way. This causes them to miss out on one of the best features of Expensify.
Solution
Add a small description in the header of the Concierge chat like we do on Self DM:
cc @Expensify/design @jamesdeanexpensify
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @fedirjh