-
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
Update LHN layout in GSD Priority Mode #1914
Comments
Hi @NicMendonca , I would like to work on this issue, I have already worked on a similar issue that requires adding a tooltip to the Chat title users' names. Proposal
priorityMode: {
key: ONYXKEYS.PRIORITY_MODE,
},
<View style={[styles.flex1, styles.flexRow, {
overflow: 'hidden',
}]}
>
<Text
style={[styles.optionDisplayName, textUnreadStyle, {
minWidth: 'auto',
flexBasis: 'auto',
flexGrow: 0,
flexShrink: 0,
}]}
numberOfLines={1}
>
{option.text}
</Text>
{option.alternateText ? (
<Text
style={[textStyle, styles.optionAlternateText, {
flexShrink: 1,
flexGrow: 1,
flexBasis: 'auto',
}]}
numberOfLines={1}
>
{option.alternateText}
</Text>
) : null}
</View> Which allows them to be in a single line but keep the chat title fully visible until the container end reaches.
Inline-styles are just used for showing the differencePlease share the sizes for the avatars. Questions/Observations.
|
Hi @parasharrajat, your proposal sounds good, go ahead! One small comment with regards to (3): perhaps we would just pass the desired size in px to the prop, rather than
@Expensify/design what should the exact size be? |
The mockups shown in the original comment are the exact sizes we need. We can provide a Figma file and help out with the PR review as well. |
Ok Thanks. We will clear the sizes on the PR.
Thanks. |
Yeah, I think you should use the With regards to (3), I think I agree with the original proposed solution, because |
If you haven’t already, check out our contributing guidelines for onboarding!
Expected Result:
Actual Result:
Action Performed:
Workaround:
N/A (not a bug, this is an improvement)
Platform:
All:
Notes/Photos/Videos: Any additional supporting documentation
Above 👆
Job posting: https://www.upwork.com/jobs/~0164a6dae10c0e9380
The text was updated successfully, but these errors were encountered: