-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Improve rendering of empty topics in the timeline #29152
base: develop
Are you sure you want to change the base?
Conversation
src/i18n/strings/cs.json
Outdated
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.
These changes will be discarded as Localazy is the source of truth for non-source languages. You would likely want to update the key in Localazy first, then enact this change combined with a Localazy download.
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.
Should I make the change once this PR is approved, so that there isn't a chance for the key to change before this has merged?
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.
That sounds sane
@@ -145,6 +145,8 @@ export default class RoomProfileSettings extends React.Component<IProps, IState> | |||
|
|||
if (this.state.originalTopic !== this.state.topic) { | |||
const html = htmlSerializeFromMdIfNeeded(this.state.topic, { forceHTML: false }); | |||
// XXX: Note that we deliberately send an empty string on an empty topic rather |
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.
I wanted to call this behavior out explicitly.
Requires matrix-org/matrix-js-sdk#4673
For element-hq/element-meta#2705
Checklist
public
/exported
symbols have accurate TSDoc documentation.