-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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] Expense, task, room - Unable to create a new line in description field with SHIFT+Enter #49374
Comments
Triggered auto assignment to @cead22 ( |
Triggered auto assignment to @miljakljajic ( |
We think that this bug might be related to #wave-control |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
This might have the same RCA with #49368 |
I think the RCA is not the same. |
Thanks @etCoderDysto. Can you check if you can reproduce this using the branch for this PR #49370? |
I don't think this needs to block the deploy |
Sure! I am checking now... |
Thank you! Feel free to submit a proposal |
Job added to Upwork: https://www.upwork.com/jobs/~021836355229392782754 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
Anyways, I see the original bug still happen Screen.Recording.2024-09-18.at.21.05.02.mov |
Oh weird, I'm seeing the issue again but now it navigates back @Skalakid since you worked on the PR. |
ProposalPlease re-state the problem that we are trying to solve in this issue.A new line is not created with SHIFT+ENTER. The description is saved instead. What is the root cause of that problem?The markdown input is a Then App/src/components/Button/index.tsx Line 152 in f7a4aa1
and this check is passed because the App/src/components/Button/validateSubmitShortcut/index.ts Lines 13 to 17 in f7a4aa1
What changes do you think we should make in order to solve the problem?We can add Or we can return false here if the
App/src/components/Button/validateSubmitShortcut/index.ts Lines 13 to 17 in f7a4aa1
What alternative solutions did you explore? (Optional) |
Oh, okay, my PR fixed the issue inside the main chat Composer and all other inputs that appear on the main panel. Inputs in task, expense, and room pages are still broken |
@nkdengineer, thanks for the proposal, to make it work, we should change the condition to if (isDisabled || isLoading || eventTarget.nodeName === 'TEXTAREA' || eventTarget?.contentEditable) {
return false;
} |
@Skalakid Thanks for your feedback, this is the result when I log the
Screen.Recording.2024-09-19.at.15.20.37.mov
Checking |
@nkdengineer Oh okay so we can just add |
@Skalakid I think that is also an idea. |
IMO both ways look fine 😄:
@luacmartins Who will take care of this issue next? 😄 I think we can go with @nkdengineer's proposal |
Triggered auto assignment to @slafortune ( |
@slafortune thank you for taking this one over as I start my parental leave. @luacmartins @cead22 will we be going with @nkdengineer 's proposal? Stevie can get them assigned and take this one forward |
@luacmartins @cead22 Could you please check my comment ? |
Both work from my perspective, so I'd lean on what you @DylanDylann and @luacmartins think is best |
📣 @DylanDylann 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@slafortune This is ready for payment. The PR is deployed to production on 1/10 |
@DylanDylann role - contributor - Paid $250 via upworks |
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: 9.0.37-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
A new line will be created with SHIFT+ENTER.
Actual Result:
A new line is not created with SHIFT+ENTER. The description is saved instead.
This issue happens in IOU, task and room description.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6607157_1726619223526.20240918_082254.mp4
Add any screenshot/video evidence
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @DylanDylannThe text was updated successfully, but these errors were encountered: