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

Improve rendering of empty topics in the timeline #29152

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

Half-Shot
Copy link
Member

@Half-Shot Half-Shot commented Jan 31, 2025

Requires matrix-org/matrix-js-sdk#4673
For element-hq/element-meta#2705

Checklist

  • Tests written for new code (and old code if feasible). <--- TODO
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • I have licensed the changes to Element by completing the Contributor License Agreement (CLA)

Copy link
Member

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.

Copy link
Member Author

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?

Copy link
Member

Choose a reason for hiding this comment

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

That sounds sane

@Half-Shot Half-Shot marked this pull request as ready for review January 31, 2025 17:41
@Half-Shot Half-Shot requested a review from a team as a code owner January 31, 2025 17:41
@@ -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
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants