-
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 2022-11-02] [$250] The ‘Multiple users are typing’ vertical text alignment is incorrect #10486
Comments
Triggered auto assignment to @robertjchen ( |
@robertjchen I'll take this as I'm on the C+ team, and reported the issue. |
Triggered auto assignment to @MitchExpensify ( |
ProposalApp/src/pages/home/report/ReportTypingIndicator.js Lines 64 to 87 in ca4ba68
Use same component that is used to display single user typing message. - <Text
- style={[
- styles.chatItemComposeSecondaryRowSubText,
- styles.chatItemComposeSecondaryRowOffset,
- ]}
- numberOfLines={1}
- >
- {this.props.translate('reportTypingIndicator.multipleUsers')}
- {` ${this.props.translate('reportTypingIndicator.areTyping')}`}
- </Text>
+ <TextWithEllipsis
+ leadingText={this.props.translate('reportTypingIndicator.multipleUsers')}
+ trailingText={` ${this.props.translate('reportTypingIndicator.areTyping')}`}
+ textStyle={[styles.chatItemComposeSecondaryRowSubText]}
+ wrapperStyle={[styles.chatItemComposeSecondaryRow]}
+ leadingTextParentStyle={styles.chatItemComposeSecondaryRowOffset}
+ /> BeforeAfter |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Current assignee @Julesssss is eligible for the Exported assigner, not assigning anyone new. |
Checking on the proposal. |
@mdneyazahmad's proposal seems fine to me. The only difference will be that cc: @Julesssss 🎀 👀 🎀 C+ reviewed |
@parasharrajat I also think the same atleast in multiple user typing case it is very static "Multiple users are typing..." but when a single user is typing the name could be long and it will overflow the screen and the result will not be what are we expecting. But that is an issue that exist within |
It is not an issue. TextWithEllipsis is created to behave that way. |
I see, are we fine or need to make some changes in my proposal? App/src/components/TextWithEllipsis/index.js Lines 32 to 45 in dbfd0eb
We can do some changes in + {props.trailingText && (
<View style={styles.flexShrink0}>
<Text style={props.textStyle}>
{props.trailingText}
</Text>
</View>
+ )} Now, we can pass text combined to |
No that changes the motive of using That said, your previous proposal is fine. |
📣 @mdneyazahmad You have been assigned to this job by @Julesssss! |
It looks like there's an ongoing discussion in the PR review. |
Hey @mdneyazahmad, there are some outstanding comments in the PR, are you able to take a look? Thanks! |
Sorry for the delay. I will update it sometime today. Thanks! |
Any update @mdneyazahmad ? |
@MitchExpensify PR is deployed on staging #10790 (comment) |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.19-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 2022-11-02. 🎊 |
Made a note to pay on 2022-11-02 |
Not overdue, awaiting payment |
Oh cool, it is the second of November today. Is that why the label changed priority? 🤯 |
I had to repost the job and have sent you both offers @parasharrajat & @mdneyazahmad. Will pay and close this once accepted! Thank you |
@MitchExpensify offer accepted. Thanks! |
Paid! Thanks all |
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:
Text should be aligned
Actual Result:
The ‘Multiple users are typing’ vertical text alignment is incorrect. When a single user is typing the text remains centered, but when multiple users are typing the text becomes uncentered:
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Version Number: 1.1.88-14
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
WebmultipleUsersTyping.mov
Expensify/Expensify Issue URL:
Issue reported by: @Julesssss
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1660833359041749
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: