-
-
Notifications
You must be signed in to change notification settings - Fork 815
Add support for MD / HTML in room topics #8215
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #8215 +/- ##
===========================================
+ Coverage 30.85% 30.87% +0.02%
===========================================
Files 893 893
Lines 50793 50824 +31
Branches 12928 12941 +13
===========================================
+ Hits 15671 15691 +20
- Misses 35122 35133 +11
|
turt2live
left a comment
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.
generally seems fine - just a few points where we might want to consider a different approach.
turt2live
left a comment
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.
overall looks good - just the minor nitpicks here + a comment in the CSS please :)
|
All comments addressed. There is an open discussion on the MSC about whether or not |
|
something appears to have gone very wrong with your merge - suggest a reset & rebase before review can really be completed. |
Setting MD / HTML supported: - /topic command - Room settings overlay - Space settings overlay Display of MD / HTML supported: - /topic command - Room header - Space home Based on extensible events as defined in [MSC1767] Fixes: element-hq/element-web#5180 Signed-off-by: Johannes Marbach <[email protected]> [MSC1767]: matrix-org/matrix-spec-proposals#1767
b5a0b24 to
78f8d38
Compare
Yeah, I screwed up after pulling in the suggested and applied changes from GitHub. The final diff was actually correct, just the history messed up. Unfortunately, there were a myriad of commits inbetween so the only sensible way I found to fix this was to reset and commit the diff as a single commit. Hope that's ok. |
turt2live
left a comment
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.
generally still seems fine - just nervous about landing such a change, still.
For the CSS: if we're not copy/pasting the styles from somewhere, please put a comment surrounding the whole block to note that the !important overrides are actually doing a thing.
|
also you have CI failures + merge conflicts, sorry. Please do a merge commit if possible to avoid having to have the whole thing re-reviewed :) |
Builds are green except for the e2e tests. I'm not sure if those failures are due to my changes though as the log doesn't seem related at all: I also don't have rights to re-run builds so I cannot retrigger them. |
turt2live
left a comment
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.
almost there - apologies for the delay in the review.
please note a reopened conversation on the previous review as well.
turt2live
left a comment
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.
![]()
|
Thanks @turt2live! 🙌 And PS: I don't have write access so could you please merge this for me? |
|
@Johennes lets hold this off until tomorrow after the RC, we avoid merging large changes right before an RC cut |
|
Is this safe to merge now? |
|
I'm going to land this without working cypress tests as I believe the CI is just horribly confused about branches or context or something. Will monitor develop. |
Requires matrix-org/matrix-js-sdk#2272
For element-hq/element-web#21671
MSC: matrix-org/matrix-spec-proposals#3765
Fixes element-hq/element-web#5180
This allows to enter MD / HTML for room topics in the following places:
/topiccommandThe HTML rendering is displayed in these places:
/topiccommandFixes: element-hq/element-web#5180
Screenshots (after)
Screenshots (before)
Here's what your changelog entry will look like:
✨ Features
Preview: https://pr8215--matrix-react-sdk.netlify.app
⚠️ Do you trust the author of this PR? Maybe this build will steal your keys or give you malware. Exercise caution. Use test accounts.