-
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-07-25] [HOLD for payment 2024-07-24] iOS - Search - "No options available for the selected group of expenses." is truncated #45444
Comments
Triggered auto assignment to @bfitzexpensify ( |
Triggered auto assignment to @MonilBhavsar ( |
👋 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:
|
ProposalPlease re-state the problem that we are trying to solve in this issue.iOS - Search - "No options available for the selected group of expenses." is truncated What is the root cause of that problem?WWe aren't passing the App/src/pages/Search/SearchSelectedNarrow.tsx Lines 65 to 72 in 7d58aa6
What changes do you think we should make in order to solve the problem?We should pass the props as we do in other components. <Modal
isVisible={isModalVisible}
type={CONST.MODAL.MODAL_TYPE.BOTTOM_DOCKED}
onClose={closeMenu}
>
{options.map((option) => (
<MenuItem
title={option.text}
icon={option.icon}
onPress={option.onSelected}
key={option.value}
numberOfLinesTitle={option.numberOfLinesTitle}
// pass other missing props also, like `iconFill`, `iconHeight`, `iconWidth`, `titleStyle`, `interactive`.
/>
))}
</Modal> What alternative solutions did you explore? (Optional)Spread the remaining option's properties. {options.map((option) => (
<MenuItem
title={option.text}
icon={option.icon}
onPress={option.onSelected}
key={option.value}
numberOfLinesTitle={option.numberOfLinesTitle}
// eslint-disable-next-line react/jsx-props-no-spreading
{...option}
/>
))} |
cc @filip-solecki in case you have any context there as to why we didn't reuse the same styles from desktop. |
@shawnborton, the solution for this will fix the styling as well. The styling is there but it isn't passed to child component. |
TBH I am not sure if we need this Modal anymore. I am working on Download functionality and AFAIK user can download every single transaction, so there will always be at least one option, but yes, looks like quick styling fix |
It seems to be coming from #44820. Would you be able to make a quick follow up fix? |
Yes, I will prepare it right now |
I agree with this btw.. with the option to |
This issue come from #44820. @rushatgabhane Could you take over this one? Then, @MonilBhavsar Could you help to update the C+ role in this new PR |
I just did a quick test and looks good! |
Doesn't look like this was CPed - will request one |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 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-07-24. 🎊 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:
|
This issue is fixed. No further action required. Thanks all! |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.8-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-07-25. 🎊 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:
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
issue found when validating #44820
Version Number: 9.0.7-4
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:
Expected Result:
The content "No options available for the selected group of expenses." will be displayed in two lines (no truncation).
Actual Result:
The content "No options available for the selected group of expenses." is truncated.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6543325_1721086409232.RPReplay_Final1721086084.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @bfitzexpensifyThe text was updated successfully, but these errors were encountered: