-
-
Notifications
You must be signed in to change notification settings - Fork 833
Fixes read receipt avatar offset #11483
Changes from all commits
13ae4b3
2df6d87
0b7d123
c8fcc5a
01ecabd
ac244ee
fa1d21d
03cce45
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,7 @@ const BaseAvatar: React.FC<IProps> = (props) => { | |
const { | ||
name, | ||
idName, | ||
title, | ||
title = "", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are we setting an empty title on this? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To counter element-hq/element-web#26055, but we'll also deal with it on Compound's side. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a correct title we could add (e.g. the user's name?) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The previous implementation did not have that |
||
url, | ||
urls, | ||
size = "40px", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a future plan to use a Compound component for this, or is it not possible here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can. But the design tokens does not export types yet, and TypeScript is shouting at me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So you're planning to fix this with a new Compound release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, pretty much have to unfortunately. I need to export types on that package