Skip to content
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-03-07] [$500] [MEDIUM] Categories: Long category name is displayed in one line instead of two lines #37297

Closed
6 tasks done
lanitochka17 opened this issue Feb 27, 2024 · 16 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 27, 2024

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.44-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

Precondition:

  • User is an employee of Collect workspace
  • The Collect workspace has a long category name
  1. Go to staging.new.expensify.com
  2. Go to workspace chat
  3. Open request money page
  4. Create manual request and proceed to confirmation page
  5. Click Show more > Category

Expected Result:

The long category name will be displayed in two lines (production behavior)

Actual Result:

The long category name is displayed in one line instead of two lines

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6393878_1709033051542!Screenshot_2024-02-27_at_13 45 44

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0192de10778824e989
  • Upwork Job ID: 1762483105990975488
  • Last Price Increase: 2024-02-27
  • Automatic offers:
    • fedirjh | Reviewer | 0
    • neonbhai | Contributor | 0
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor labels Feb 27, 2024
@melvin-bot melvin-bot bot changed the title Category - Long category name is displayed in one line instead of two lines [$500] Category - Long category name is displayed in one line instead of two lines Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0192de10778824e989

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh (External)

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 27, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 27, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 27, 2024

Triggered auto assignment to @Gonals (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave6-collect-submitters
CC @greg-schroeder

@FitseTLT
Copy link
Contributor

FitseTLT commented Feb 27, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

  • Long category name is displayed in one line instead of two lines

What is the root cause of that problem?

Caused by #35567 We are missing (removed it in the pr) isRowMultilineSupported here

textInputValue={searchValue}
textInputLabel={shouldShowTextInput && translate('common.search')}
onChangeText={setSearchValue}

What changes do you think we should make in order to solve the problem?

We should pass isRowMultilineSupported as true in category picker

What alternative solutions did you explore? (Optional)

@eucool
Copy link
Contributor

eucool commented Feb 27, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Long category name is displayed in one line instead of two lines

What is the root cause of that problem?

We miss isRowMultilineSupported in here:

<SelectionList
sections={sections}
headerMessage={headerMessage}
textInputValue={searchValue}
textInputLabel={shouldShowTextInput && translate('common.search')}
onChangeText={setSearchValue}
onSelectRow={onSubmit}
ListItem={RadioListItem}
initiallyFocusedOptionKey={selectedOptionKey}
/>

What changes do you think we should make in order to solve the problem?

Pass isRowMultilineSupported

What alternative solutions did you explore? (Optional)

N/A

@neonbhai
Copy link
Contributor

neonbhai commented Feb 27, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Long category name is displayed in one line instead of two lines

What is the root cause of that problem?

We now show category with RadioListItem which render text with TextWithTooltips which renders with the default number of lines as 1

We are missing the multiline row prop in SelectionList (we had this in OptionsList)

What changes do you think we should make in order to solve the problem?

We should define an new optional prop for selectionlist called isRowMultilineSupported (like we had in OptionsList)

We will need the same prop in baseListItem which allows multiple lines in TextWithTooltip

@eucool
Copy link
Contributor

eucool commented Feb 27, 2024

Caused by #35567 We are missing isRowMultilineSupported here

@FitseTLT If so then i guess the original PR author needs to address this one 🤔

c.c. @fedirjh

@FitseTLT
Copy link
Contributor

Caused by #35567 We are missing isRowMultilineSupported here

@FitseTLT If so then i guess the original PR author needs to address this one 🤔

c.c. @fedirjh

So why was it Help Wanted we know all the blockers are caused by recent pr @codinggeek2023

@fedirjh
Copy link
Contributor

fedirjh commented Feb 27, 2024

I think @neonbhai has the correct proposal.


@FitseTLT and @codinggeek2023, passing isRowMultilineSupported will not fix this bug , SelectionList does not have isRowMultilineSupported prop.

@greg-schroeder greg-schroeder changed the title [$500] Category - Long category name is displayed in one line instead of two lines [$500] [MEDIUM] Categories: Long category name is displayed in one line instead of two lines Feb 27, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 27, 2024
@puneetlath puneetlath assigned puneetlath and unassigned Gonals Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Feb 27, 2024

📣 @neonbhai 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Feb 28, 2024
@puneetlath puneetlath removed the DeployBlockerCash This issue or pull request should block deployment label Feb 29, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Feb 29, 2024
@melvin-bot melvin-bot bot changed the title [$500] [MEDIUM] Categories: Long category name is displayed in one line instead of two lines [HOLD for payment 2024-03-07] [$500] [MEDIUM] Categories: Long category name is displayed in one line instead of two lines Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 29, 2024
Copy link

melvin-bot bot commented Feb 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.45-6 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-03-07. 🎊

For reference, here are some details about the assignees on this issue:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 7, 2024
@puneetlath
Copy link
Contributor

All paid. Thanks y'all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Development

No branches or pull requests

7 participants