-
Notifications
You must be signed in to change notification settings - Fork 88
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
feat(NcRichContenteditable): Allow to pass in an icon URL #3984
feat(NcRichContenteditable): Allow to pass in an icon URL #3984
Conversation
nickvergessen
commented
Apr 18, 2023
•
edited
Loading
edited
- Required for Use the conversationIcon component in mentions nextcloud/spreed#9188
- Talk PR to show it in action fix(avatar): Use conversation avatar in mention suggestion nextcloud/spreed#9332
Signed-off-by: Joas Schilling <[email protected]>
@@ -67,6 +67,10 @@ export default { | |||
type: String, | |||
required: true, | |||
}, | |||
iconUrl: { |
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.
Since this is the avatar url, I would also call it avatarUrl
.
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.
Then it conflicts with the computed and the CSS avatar option is also called icon
so I tried to keep it simple and inline
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.
We could come up with something like predefinedUrl
, as we provide here a ready-to-download URL
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.
Works properly, shouldn't break anything
@@ -67,6 +67,10 @@ export default { | |||
type: String, | |||
required: true, | |||
}, | |||
iconUrl: { |
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.
We could come up with something like predefinedUrl
, as we provide here a ready-to-download URL