Repository navigation
Description
This is held on #32953 because we want to refactor the confusing naming of "Room welcome message" to "Room description" before changing where that description shows up.
Strategy:
Chat is the highest-frequency action that happens inside of a company -- whoever owns a company's chat, has the strategic high ground to cross-sell everything else, as that's the stickiest use case. Part of chat involves getting a company to capture all its conversations on the platform, split up into a bunch of room. Each room is devoted to a different topic, and the "room welcome message" is how the admin explains what that topic is. It is currently delivered via a whisper when someone joins the room.
Problem:
When the admin configures the "room welcome message", they currently don't see it anywhere in product (because it's only delivered via whisper to new people when they are added, and by definition they are already in it because they created it. So, this just feels broken. Additionally, there's no way an admin would guess that it's going to be secretly delivered to new users when they join, which is confusing.
Solution:
Update room welcome message to be room description and put the description at the top of the chat, in addition to delivering it via a whisper to those who join a room that already has enough content that the top has scrolled off the screen. Specifically, a chat has:
- Header:
<#room name> in <workspace name>- pressing opens the chat details<workspace description; truncated>- pressing opens the description editor in the RHP- Note: If there is no custom description; remove this 2nd line and vertically center the first
- Note: Only workspace members who have write access to the room should be able to edit the description
- Chat masthead:
Welcome to <#roomname><room description, full>- pressing opens the description editor in the RHP- Note: If there is no custom description, use the current default masthead language
- Chat details:
- Avatar
<#room name>- Any member can press to rename the report<workspace name>- "Description"
<room description>- Shows the first 5 lines truncated, with amorecontrol to expand fully;- Note: Only workspace members who have write access to the room should be able to edit the description
- API
- Remove all
UpdateWelcomeMessageAPI calls - Replace them with
updateRoomDescriptionAPI calls
- Remove all
More discussion in Slack here.
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~01ce65d2b9e9db71e4
- Upwork Job ID: 1744191782833340416
- Last Price Increase: 2024-01-15
- Automatic offers:
- esh-g | Contributor | 28088918
- ishpaul777 | Contributor | 28148450
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsCRITICAL



Activity
[-]HIGH: Show room welcome message everywhere[/-][+][HOLD ON #32953] HIGH: Show room welcome message everywhere[/+][-][HOLD ON #32953] HIGH: Show room welcome message everywhere[/-][+][HOLD ON #32953] HIGH: Show "Room description" everywhere[/+][-][HOLD ON #32953] HIGH: Show "Room description" everywhere[/-][+][HOLD ON #32953] HIGH: Show "Room description" everywhere (external)[/+][-][HOLD ON #32953] HIGH: Show "Room description" everywhere (external)[/-][+][HOLD ON #32953] HIGH: Show "Room description" everywhere (2/2, external)[/+]esh-g commentedon Dec 28, 2023
Proposal
Please re-state the problem we are trying to solve
Update the room description to be shown in the header and make it editable for admins
What is the root cause of this problem
N/A (New feature)
What changes should be made to fix this?
App/src/components/ReportWelcomeText.js
Lines 92 to 98 in d6f359f
We should render this only when
roomDescriptiondoesn't existThen we can add a conditional to render for the
roomDescriptionwith<RenderHTML html={roomDescription} />(assuming we want the description to have html capabilities, otherwise we can useText)We can change this line:
App/src/components/ReportWelcomeText.js
Line 72 in d6f359f
ReportUtils.getReportDescription())subtitleonly when room description not present (!_.isEmpty(subtitle) && _.isEmpty(reportDescription))!_.isEmpty(reportDescription))DisplayNames) is nested in a flex column with the subtitle. We need to add another wrapper forDisplayNamesblock here as a flex row with it's sibling being the textin Workspace Co.So here are the changes:
Result


(Also works for
policyExpenseChatas needed here: #32955)ReportDetailspage which can be done like the following (we also need to add aREPORT_DESCRIPTIONpage as well):Final Result
Screen.Recording.2023-12-28.at.8.34.41.AM.mov
(The thing pending is to rename all the
welcomeMessagepage and routes and translations to description)melvin-bot commentedon Jan 2, 2024
Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Jan 4, 2024
Still overdue 6 days?! Let's take care of this!
68 remaining items
melvin-bot commentedon Feb 7, 2024
📣 @ishpaul777 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
[-][HOLD for payment 2024-02-14] [$1000] HIGH: Show "Room description" everywhere (2/2, external)[/-][+][HOLD for payment 2024-02-15] [HOLD for payment 2024-02-14] [$1000] HIGH: Show "Room description" everywhere (2/2, external)[/+]melvin-bot commentedon Feb 8, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.38-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-02-15. 🎊
For reference, here are some details about the assignees on this issue:
puneetlath commentedon Feb 15, 2024
@esh-g has been paid.
@ishpaul777 can you suggest regression test steps here? Once done, I'll pay you out too. Thanks!
ishpaul777 commentedon Feb 15, 2024
Regression Test Proposal
Do we agree 👍 or 👎?
puneetlath commentedon Feb 15, 2024
Great, thanks. All paid.
Thanks y'all!