-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] Room - # room from room description is highlighted when edit description #42678
Comments
Triggered auto assignment to @Christinadobrzyn ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.We parse What is the root cause of that problem?In #40685, we added App/src/libs/actions/Report.ts Line 1912 in 2514f29
ReportUtils.getParsedComment(newValue, {reportID}); , here we started passing reportID , but this lead to an unexpected bug which converted # into mention-report :![]() The PR #40685 was intended to deal with comments in What changes do you think we should make in order to solve the problem?As we used to parse before #40685, we can update the function to: const parsedDescription = ReportUtils.getParsedComment(newValue); What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~01d22835d6951d7024 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
We allow |
ProposalPlease re-state the problem that we are trying to solve in this issue.I believe the OP expected result is not correct. It's expected that the The real problem here is that when creating a room with What is the root cause of that problem?When adding a room here, we forgot to parse the room description, like we did when updating the description What changes do you think we should make in order to solve the problem?We need to parse the
What alternative solutions did you explore? (Optional)We can further check similar places and fix if |
ProposalPlease re-state the problem that we are trying to solve in this issue.Room - # room from room description is highlighted when edit description What is the root cause of that problem?On App/src/pages/RoomDescriptionPage.tsx Lines 46 to 48 in 2514f29
Now the inside The issue is within Lines 3395 to 3398 in 2514f29
What changes do you think we should make in order to solve the problem?We need to add a new props to App/src/pages/RoomDescriptionPage.tsx Lines 46 to 48 in 2514f29
this prop will pass this part Lines 3395 to 3398 in 2514f29
or it will make suree wi don't use the What alternative solutions did you explore? |
@GandalfGwaihir isn't the purpose of this PR, to prevent |
@getusha The purpose of the PR is to prevent report mention (eg #room) from being parsed for non-policy reports (eg. DM, ...). For policy reports report mention should still work/be parsed. |
Not only comments but anything in the report too, including description. Normally for description and comment of the same report we always support the same set of markdowns. |
I'm just double-checking the expected behaviour for this - https://expensify.slack.com/archives/C066HJM2CAZ/p1717035618513299 |
Based on the team discussion - I think we only need to fix the actionable whisper - confirming before we continue - https://expensify.slack.com/archives/C066HJM2CAZ/p1717122819898099?thread_ts=1717035618.513299&cid=C066HJM2CAZ |
@Christinadobrzyn i think we can close this? https://expensify.slack.com/archives/C066HJM2CAZ/p1717160228281969?thread_ts=1717035618.513299&cid=C066HJM2CAZ |
@Christinadobrzyn, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Yes @getusha - good call. We'll close. Thanks! |
@Christinadobrzyn @getusha I identified this bug in my proposal. I think we can modify the OP to fix this issue here, because it's related to the original issue. What do you think? If not we can create another GH issue and link it here, then I can repost my proposal there. |
@Christinadobrzyn Quick bump on #42678 (comment), thanks 🙇 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.76-0
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
Email or phone of affected tester (no customers): gocemate+a93@gmail.com
Issue reported by: Applause - Internal Team
Action Performed:
this room is to send cute cat memes
> Create roomExpected Result:
There should be no highlighted words when edit description
Actual Result:
#room word from room description becomes highlighted when edit description
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6493332_1716842384426.Recording__3053.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: