Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

EventTilePreview fixes#6000

Merged
turt2live merged 8 commits into
matrix-org:developfrom
robintown:event-tile-preview-fixes
Jun 22, 2021
Merged

EventTilePreview fixes#6000
turt2live merged 8 commits into
matrix-org:developfrom
robintown:event-tile-preview-fixes

Conversation

@robintown
Copy link
Copy Markdown
Member

@robintown robintown commented May 9, 2021

Just a couple of things I noticed while referencing EventTilePreview code for #5999. (see commits)

Fixes element-hq/element-web#17621

robintown added 2 commits May 8, 2021 21:17
Reduces the blurriness of avatars in the EventTilePreview.

Signed-off-by: Robin Townsend <robin@robin.town>
MemberAvatar requires a display name, or else it refuses to render.

Signed-off-by: Robin Townsend <robin@robin.town>
@robintown
Copy link
Copy Markdown
Member Author

Also, PR 6000 ;)

@t3chguy t3chguy requested a review from a team May 10, 2021 15:10
Copy link
Copy Markdown
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

otherwise looks sane, but we do need a comment of some kind for why we'd be dropping to a lower avatar size (risking blurry images)

Comment thread src/components/views/elements/EventTilePreview.tsx Outdated
@robintown
Copy link
Copy Markdown
Member Author

Reverted the thumbnail size change as I wasn't aware that 32 is just the value that's used everywhere. This should just be the one bug fix for when the user doesn't have a display name, then

@robintown robintown requested a review from turt2live June 6, 2021 02:23
robintown added 2 commits June 7, 2021 18:56
It was a bullet point, since EventTiles now get created as li by
default :P

Signed-off-by: Robin Townsend <robin@robin.town>
@robintown
Copy link
Copy Markdown
Member Author

Also removed the mystery dot added by #6154

settings

Because of 91df392, we now need to
additionally set rawDisplayName to properly fake our display name for an
event.

Signed-off-by: Robin Townsend <robin@robin.town>
Copy link
Copy Markdown
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

Thank you! Apologies for the super delayed turnaround time on this...

@turt2live turt2live merged commit 1180741 into matrix-org:develop Jun 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

There is a weird dot in the reply UI

2 participants