-
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
[HOLD for payment 2024-06-05] [$250] mWeb - Expense - Url shown in truncated form with dots in merchant field after expense paid #41925
Comments
Triggered auto assignment to @mallenexpensify ( |
We think that this bug might be related to #vip-vsp |
@mallenexpensify 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.mWeb - Expense - Url shown in truncated form with dots in merchant field after expense paid What is the root cause of that problem?We aren't passing App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 431 to 442 in 807c945
What changes do you think we should make in order to solve the problem?Pass What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Merchant text in transaction view is only single line and truncated and if it's paid, we can't open the edit merchant page anymore, so it's impossible to see the full text. What is the root cause of that problem?The component used (MenuItem) by default only limited to 1 line. App/src/components/MenuItem.tsx Line 287 in 807c945
So if the text is too long, the text is truncated. What changes do you think we should make in order to solve the problem?Set
We use it for description too. App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 420 to 421 in 807c945
|
Triggered auto assignment to @dannymcclain ( |
@dannymcclain do you have a preference on how this looks? ie.
My preference is #2 because people mind want to copy/paste the link for some reason and/or , if it's sent to accounting software, the hyperlink could be broken or not visible or .. something. |
Would we accomplish Basically it would look like the description I've entered here: I'd be fine with that—seems like it's already an established pattern for description so I think it would be fine to extend that to merchant as well. cc @Expensify/design for viz. |
Yeah, this seems like a edge case anyways, but I agree that I don't see why we wouldn't have the same behavior for merchant and description. Is it because Merchant is just a single text field and description is a text area which then get our rich markdown editor? |
ProposalPlease re-state the problem that we are trying to solve in this issue.Expense - Url shown in truncated form with dots in merchant field after expense paid What is the root cause of that problem?Merchant App/src/components/ReportActionItem/MoneyRequestView.tsx Lines 431 to 442 in 807c945
What changes do you think we should make in order to solve the problem?We should add here:
|
Job added to Upwork: https://www.upwork.com/jobs/~017cd1c2d060b6d92c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws ( |
Yes, I think wrapping is the best and (maybe/hopefully) easiest option, if we're reusing an existing behaviour/pattern. Assuming we all agree, @Ollyws , can you review @dragnoir 's proposal above? Thx. |
@bernhardoj's proposal LGTM. 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @srikarparsi, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @Ollyws 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @Ollyws |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.76-7 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-06-05. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Contributor: @bernhardoj paid $250 via Upwork @Ollyws , can you fill out the BZ checklist plz? Sidenote: the above says |
BugZero Checklist:
Looks like the component has been limited to one line since it's inception so we can't really pin this on any PR.
N/A
N/A
Yes, steps:
|
Requested payment in ND. |
@mallenexpensify, are we good to close this out? |
We are now! TestRail issue created |
$250 approved for @Ollyws |
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.72
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/4548777
Issue reported by: Applause - Internal Team
Action Performed:
354256634947/165034783536884819
Expected Result:
Full url user must able to see after expense paid
Actual Result:
After expense paid, no option to see entire url entered in merchant field. Url can be seen only in truncated form with dots in merchant field and full url cannot be seen after expense paid
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6475852_1715257088107.paid.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: