-
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
[HOLD for Payment OCT 08] [$250] [Search v2.3] - Default name is not displayed correctly for multiline system message thread #49330
Comments
Triggered auto assignment to @abekkala ( |
We think that this bug might be related to #wave-control |
@abekkala 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.Saved search - Default name is not displayed correctly for multiline system message thread What is the root cause of that problem?The title text is not wrapped correctly. What changes do you think we should make in order to solve the problem?Add App/src/pages/Search/SearchTypeMenu.tsx Line 110 in 14b99ca
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Saved search - Default name is not displayed correctly for multiline system message thread What is the root cause of that problem?The title text is not wrapped correctly. What changes do you think we should make in order to solve the problem?add App/src/pages/Search/SearchTypeMenu.tsx Lines 108 to 117 in 14b99ca
What alternative solutions did you explore? (Optional)add noWrap style |
ProposalPlease re-state the problem that we are trying to solve in this issue.Saved search - Default name is not displayed correctly for multiline system message thread What is the root cause of that problem?The default value for App/src/components/MenuItem.tsx Line 350 in 2190f62
App/src/components/MenuItem.tsx Lines 444 to 457 in 2190f62
What changes do you think we should make in order to solve the problem?We should update the condition below to App/src/components/MenuItem.tsx Line 451 in 2190f62
What alternative solutions did you explore? (Optional)
Result |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
so the saved search name can contain multiple lines. What changes do you think we should make in order to solve the problem?
Line 715 in 7bd9e53
so it can be:
like we did in this:
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021836683698134866207 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @paultsimura ( |
Reviewing now 👀 |
This comment was marked as outdated.
This comment was marked as outdated.
Current assignees @luacmartins and @lakchote are eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@paultsimura, my proposal here solves the root cause. Could you please check again? |
On a side note, @Krishna2323 please focus on finishing your open PRs instead of posting new proposals as the contribution guideline requires. |
Your proposal is very invasive, it suggests replacing the formatting for all the MenuItem components, which can cause regressions. @CyberAndrii any chance you could find an example where using this proposal breaks styling in other places> |
@paultsimura What do you think about my solution, which just needs to use |
I tried to test your solution but It does not fix in case of IOS safari. Can you help confirm if I was wrong? @CyberAndrii |
@paultsimura, I don't think it will cause any regression because we will be only applying |
Valid point @truph01. Taking another look at the proposals now... |
Ok, after another look, I tend to agree with @Krishna2323's proposal. It makes sense to have 🎀👀🎀 C+ reviewed |
Current assignees @luacmartins and @lakchote are eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@paultsimura Please note we need to fix the search header page with that solution as well: |
There is no such requirement. From what I see, the search header is explicitly set to have App/src/components/Search/SearchPageHeader.tsx Lines 59 to 66 in 14f952a
|
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
It should only be 1 line and then truncated but why is it not occupying more horizontal space? There's a lot more space over on the right that it could be using. |
That's because the text contains line breaks that are preserved. Changing ![]() @Krishna2323 please consider this in your PR. |
Ah nice, that's much better |
Yeah, sure. |
@paultsimura, PR ready for review ^ |
PR merged |
Deployed to production on Oct 1. Payment is due on 2024-10-08 |
PAYMENT SUMMARY FOR OCT 08
|
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:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
@Krishna2323 @paultsimura payments sent and contracts ended - thank you! 🎉 |
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.36-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The title of the saved search should only have one line.
Actual Result:
The title of the saved search has multiple lines and it is not displayed correctly.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6606270_1726554285396.20240917_141656.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @paultsimuraThe text was updated successfully, but these errors were encountered: