-
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
[$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! |
I've moved this off hold as as the reviewer is now back from ooo - I've also moved this to VIP VSB |
I think this comment is pending an answer facebook/react-native#39722 (comment) |
Update 15th May 2024Replied to Timothy comment facebook/react-native#39722 (comment) |
Still waiting for a response |
Still waiting. |
Still waiting, @fabOnReact is a bump on the comment worth it? |
@rlinoz I will reach out to Meta tomorrow and try to move forward with the PR and/or the conversation. Thanks |
Discussion is ongoing. |
@fabOnReact what is status? |
Adding to the above - do we have a general plan here for how to move forward? This has been open for over a year 😲 |
I'm reaching out to Meta to ask to move this forward. Thanks a lot |
@fabOnReact anything from Meta? |
👋 Hey, I have been working on this as well facebook/react-native#47435. I can raise a PR for the patch |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com 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
The text was updated successfully, but these errors were encountered: