-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
[HOLD for payment 2024-05-07] [$250] Android - Room-Tapping create room with specific description directs to concierge page #38293
Comments
Triggered auto assignment to @greg-schroeder ( |
We think that this bug might be related to #vip-vsp |
@greg-schroeder 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.create room with specific description directs to concierge page What is the root cause of that problem?Server returns description too long error What changes do you think we should make in order to solve the problem?Because the server checks the final html generated length, instead of markdown, we should use the same final html generated string length for validation. App/src/pages/workspace/WorkspaceNewRoomPage.tsx Lines 163 to 181 in 0a512c9
Solutionconst descriptionLength = ReportUtils.getCommentLength(values.reportDescription);
if (descriptionLength > CONST.DESCRIPTION_LIMIT) {
ErrorUtils.addErrorMessage(errors, 'reportDescription', ['common.error.characterLimitExceedCounter', {length: descriptionLength, limit: CONST.DESCRIPTION_LIMIT}]);
} What alternative solutions did you explore? (Optional) |
@greg-schroeder Huh... This is 4 days overdue. Who can take care of this? |
|
Job added to Upwork: https://www.upwork.com/jobs/~0171e588018217e1f4 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mkhutornyi ( |
Applying |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tapping create room with specific description directs to concierge page What is the root cause of that problem?We parse the description to App/src/pages/workspace/WorkspaceNewRoomPage.tsx Lines 104 to 118 in 4eb0705
Now the problem here is that when we convert to html, we get extra text of What changes do you think we should make in order to solve the problem?
Note We all need to create one We need to update the description query at the following places: App/src/pages/home/HeaderView.tsx Line 101 in 4eb0705
App/src/components/ReportWelcomeText.tsx Line 114 in 4eb0705
App/src/pages/ReportDetailsPage.tsx Line 265 in 4eb0705
Test Branch: https://github.com/GandalfGwaihir/App/tree/issue38293 Result Videosimplescreenrecorder-2024-03-27_02.41.58.mp4 |
Also, @greg-schroeder , If my proposal gets selected, can you please make the bounty to $500, this is a lot of extra work but it is to be future proof and allow the user to enter upto |
@greg-schroeder please reassign C+. I am currently sick and not able to review this sooner. |
gentle bump to @greg-schroeder for reassignment :) |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
Re-assigning C+ - @shubham1206agra do you mind taking a look at the proposals above? Thanks! |
@greg-schroeder Can you ask QA to retest this? |
@shubham1206agra , you can reproduce the issue by pasting the below content:
Also now we get error on the room page rather than redirection to concierge chat, so this needs to be fixed at the creation level as mention in my proposal: |
Triggered auto assignment to @jasperhuangg, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@shubham1206agra @jasperhuangg , but if we limit that text we won't be able to utilize all |
Bump @jasperhuangg on confirming contributor selection above :) |
bumping my comments again just to not miss the eye thanks, please refer to them before assignment @jasperhuangg Also the expected results from the GH are to successfully redirect the user to the room and not to show error, so the selected proposal by the C+ will not satisfy the expected results at all:
|
@jasperhuangg Can you do the assignment here? |
Agree that @rmm-fl's proposal is simpler and less prone to bugs, let's move forward with their proposal. |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @rmm-fl 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
The PR for fix was created here - #39624 |
PR is merged. Awaiting deploy to staging -> prod |
@greg-schroeder @jasperhuangg The PR has been deployed to Prod. Seems like the payment automation didn't trigger. |
@greg-schroeder @jasperhuangg friendly bump for payment :) |
bumping @mountiny, because seems like the deploy was handled by them: #39624 (comment) |
I will process this today |
Payments made. |
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.52
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4426548
Issue reported by: Applause - Internal Team
Action Performed:
we can close this to focus on more urgent issue this is just a minor viewing discrepancy
can close this to focus on more urgent issue this is just a minor viewing discrepancyExpected Result:
When user taps create room, he must be directed to room page and must not be redirected to concierge page
Actual Result:
When user taps create room with specific text entered in room description. , he is directed to room page but within seconds redirected to concierge page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6413077_1710398840280.Usethis.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: