Skip to content
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

Messages list - make avatars link to profile #5484

Merged
merged 2 commits into from
Sep 26, 2024
Merged

Conversation

mozzius
Copy link
Member

@mozzius mozzius commented Sep 25, 2024

Makes the avatar link to the user's profile and replaces UserAvatar with PreviewableUserAvatar

Copy link

github-actions bot commented Sep 25, 2024

Old size New size Diff
10.01 MB 10.01 MB 106 B (0.00%)

Comment on lines +255 to +256
{/* Avatar goes here */}
<View style={{width: 52, height: 52}} />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this? Why was the <Link> above absolute instead of just having the PreviewableUserAvatar here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're not allowed to nest anchor tags or touchables, so we have to absolutely position it

@arcalinea arcalinea temporarily deployed to samuel/chat-list-avi - social-app PR #5484 September 25, 2024 23:48 — with Render Destroyed
@mozzius mozzius merged commit 78fb666 into main Sep 26, 2024
6 checks passed
estrattonbailey added a commit that referenced this pull request Sep 26, 2024
* origin/main:
  Adjust line height to not cut off emoji (#5496)
  Emoji in account list (#5497)
  Make the counter more rounded (#5083)
  add emoji prop to composer reply to text (#5495)
  Fix banner height in edit profile modal (#5494)
  Messages list - make avatars link to profile (#5484)
  Add back empty placeholder (#5489)
  Filter errors that get sent to Sentry (#5247)
  Add language filtering UI to search (#5459)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants