-
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
[$250] Chat - Missing start convo message and description room changes to a code #50168
Comments
Triggered auto assignment to @joekaufmanexpensify ( |
@joekaufmanexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Missing start convo message and description room changes to a code What is the root cause of that problem?Issue 1: Missing start convo message Line 584 in dcfcb08
And if App/src/components/ReportWelcomeText.tsx Lines 117 to 145 in dcfcb08
Issue 2: description room changes to a code What changes do you think we should make in order to solve the problem?For Issue 1, I think it is intentional to not showing the start convo message if the description is exist. But if we want to always show the start convo message we can remove this return and update this to the following {isChatRoom && (
<>
<Text>
<Text>{welcomeMessage?.phrase1}</Text>
{welcomeMessage?.showReportName && (
<Text
style={[styles.textStrong]}
onPress={navigateToReport}
suppressHighlighting
>
{ReportUtils.getReportName(report)}
</Text>
)}
{welcomeMessage?.phrase2 !== undefined && <Text>{welcomeMessage.phrase2}</Text>}
</Text>
{welcomeMessage?.messageHtml && (
<PressableWithoutFeedback
onPress={() => {
const activeRoute = Navigation.getReportRHPActiveRoute();
if (ReportUtils.canEditReportDescription(report, policy)) {
Navigation.navigate(ROUTES.REPORT_DESCRIPTION.getRoute(report?.reportID ?? '-1', activeRoute));
return;
}
Navigation.navigate(ROUTES.REPORT_WITH_ID_DETAILS.getRoute(report?.reportID ?? '-1', activeRoute));
}}
style={styles.renderHTML}
accessibilityLabel={translate('reportDescriptionPage.roomDescription')}
>
<RenderHTML html={welcomeMessage.messageHtml} />
</PressableWithoutFeedback>
)}
</>
)} For issue 2, I think we can fix it on BE. But if we want to fix on FE we can do it like the following
and need to be fixed in other places where the room description is displayed as well What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021842271623775763004 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Pending review of proposal |
@rushatgabhane, @joekaufmanexpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@joekaufmanexpensify Can you confirm the expected behavior here: Do we want to display both room's description and start conversation message? Currently in staging, if room's description is existed, we don't display the start conversation message |
I don't think we should change that behavior. I would focus just on the scope of the issue in OP. |
@joekaufmanexpensify If so, we just need to fix "The description room changes to a code when the user sends a message", which is dupe of #49355 |
Ah, hmm. Let me investigate a bit further then. |
@rushatgabhane, @joekaufmanexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@truph01 are you seeing that this was recently introduced somewhere in a specific PR? Or just became aware of this as part of this issue. |
@rushatgabhane, @joekaufmanexpensify Eep! 4 days overdue now. Issues have feelings too... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
So, what is the intended behavior here? Should we keep it as it currently is, or switch to the new expected behavior outlined in this issue? |
I just tested this behavior. It works identically on staging and production. |
I think the OP was wrong here. I found this issue where we made it so the room description is shown as the welcome message for the room when one is set. |
Therefore, I think the only issue here to address would be showing the code in the room description, which like you said is a dupe of the other issue linked above. So closing this as seems like there is nothing to handle here! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.44
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The start conversation message is displayed below the Welcome message and the description room remains unchanged when the user performs any activity in the room
Actual Result:
The start conversation message is not displayed below the Welcome message
The description room changes to a code when the user sends a message
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6623406_1727972187362.49911-Web.mp4
Bug6623406_1727972187307.49911-mWeb.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rushatgabhaneThe text was updated successfully, but these errors were encountered: