-
Notifications
You must be signed in to change notification settings - Fork 3k
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-12-12] [$2000] Android - Title is not rendered fully in the available space. #21219
Comments
Triggered auto assignment to @adelekennedy ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Title is not rendered fully in the available space. What is the root cause of that problem?The root cause is android use different way to break words, see here and What changes do you think we should make in order to solve the problem?remove style const displayNameStyle = StyleUtils.combineStyles([styles.optionDisplayName, styles.pre, styles.flex1, ...textUnreadStyle], props.style); old proposalwe need change Lines 1401 to 1406 in 797298e
before and after. What alternative solutions did you explore? (Optional) |
yeah - longer chat names are being cut off in the center of the screen with ellipses rather than reaching the border of the screen like we see in IOS |
Job added to Upwork: https://www.upwork.com/jobs/~01ef0ae782c96792ac |
Current assignee @adelekennedy is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Title is not rendered fully in the available space. What is the root cause of that problem?Default Text render startegy for android is What changes do you think we should make in order to solve the problem?We need to provide the prop textBreakStrategy here with App/src/components/DisplayNames/index.native.js Lines 8 to 12 in 003e5e5
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Title is not rendered fully in the available space. What is the root cause of that problem?It is Android style word breaking IOS work differently that is why we found two diffrent design in the screenshot.
What changes do you think we should make in order to solve the problem?I suggest use We are using different files for web and native so it will not affect our web App/src/components/DisplayNames/index.native.js Lines 6 to 15 in 3585d7b
function DisplayNames(props) {
return (
<Text
accessibilityLabel={props.accessibilityLabel}
style={props.textStyles}
numberOfLines={props.numberOfLines}
>
- {props.fullTitle}
+ {props.fullTitle.replace(/\s/g, '\xa0')}
</Text>
);
} What alternative solutions did you explore? (Optional) |
@aimane-chnaif thoughts on the proposal above? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@adelekennedy, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I don't think we need to adjust the bounty just yet - we have proposals above to review |
@adelekennedy, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
pending proposal review @aimane-chnaif |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@adelekennedy @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.71-2 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-12-12. 🎊 For reference, here are some details about the assignees on this issue:
|
@s77rt / @abdulrahuman5196 @adelekennedy @s77rt / @abdulrahuman5196 The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
Payment Summary
BugZero Checklist (@adelekennedy)
|
Oof this issue is a long one - I need to tease out exactly what payment is due for everyone here, @rlinoz I will start a chat with you so we can discuss! |
Sorry for the delay here - here's what we think makes most sense: @aimane-chnaif C+ $250 for reviewing the initial proposals (many many of them) - Upwork @fabOnReact C ultimately it wasn't your PR but thank you so much for sticking with this, we think 25% of the total bounty is fair $500 - Upwork |
Going to give this about 24 hours before I move forward with Upwork payments |
@adelekennedy I am also eligible for a reporting bonus $250. Give that the reporting bonus was that at that time. |
ah thank you @parasharrajat - adding to the payment summary above |
$250 approved for @abdulrahuman5196 |
$1,500 approved for @s77rt |
@ospfranco, @rlinoz, @s77rt, @fabOnReact, @abdulrahuman5196, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not overdue. Waiting for Upwork payments to be handled cc @adelekennedy |
Upwork offers sent! |
@ospfranco, @rlinoz, @s77rt, @fabOnReact, @abdulrahuman5196, @adelekennedy Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@aimane-chnaif once you accept on Upwork I will pay you out! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Title is clipped when reached the right edge of the screen.
Actual Result:
Title is clipped with ellipsis in the middle of screen and there is more available room.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.27-2
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @parasharrajat
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686749244980549
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @adelekennedyThe text was updated successfully, but these errors were encountered: