element-web/res/css/views
Johannes Marbach abd39c61b1
Add support for MD / HTML in room topics (#8215)
* Add support for MD / HTML in room topics

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: vector-im/element-web#5180
Signed-off-by: Johannes Marbach <johannesm@element.io>

[MSC1767]: matrix-org/matrix-spec-proposals#1767

* Fix build error

* Add comment to explain origin of styles

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Empty commit to retrigger build

* Fix import grouping

* Fix useTopic test

* Add tests for HtmlUtils

* Add slash command test

* Add further serialize test

* Fix ternary formatting

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Add blank line

Co-authored-by: Travis Ralston <travpc@gmail.com>

* Properly mock SettingsStore access

* Remove trailing space

* Assert on HTML content and add test for plain text in HTML parameter

* Appease the linter

* Fix JSDoc comment

* Fix toEqual call formatting

* Repurpose test for literal HTML case

* Empty commit to fix CI

Co-authored-by: Travis Ralston <travpc@gmail.com>
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-06-07 14:20:32 -06:00
..
audio_messages Fix the width bounce of the clock on the AudioPlayer (#8320) 2022-05-11 11:58:07 +01:00
auth registration: redesign email verification page (#8554) 2022-05-13 14:10:22 +00:00
avatars Don't show public indicator on spaces (#8607) 2022-05-16 10:24:01 +02:00
beta Support Inter on custom themes (#8399) 2022-05-09 07:55:28 +01:00
buttons Improve composer visiblity (#8578) 2022-06-07 07:28:29 +00:00
context_menus Update "jump to related event" for design requirements & dev tooling (#8652) 2022-05-20 08:07:00 -06:00
dialogs Slightly improve the look of the Message edits dialog (#8763) 2022-06-07 07:00:27 +02:00
directory Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
elements Make the pill on the basic message composer compatible with display name in RTL languages (#8758) 2022-06-05 15:22:44 +02:00
emojipicker Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
location Live location sharing - extract location markers into generic Marker (#8225) 2022-04-06 12:40:39 +01:00
messages Prevent the banner text from being selected, replacing the spacing values with the variable (#8756) 2022-06-05 08:30:29 +02:00
right_panel Improve style rules of threads list (#8706) 2022-06-07 14:55:11 +01:00
room_settings Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
rooms Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
settings Standardise the margin for settings tabs (#7963) 2022-05-12 10:09:17 +01:00
spaces Add default properties to link buttons and remove redundant settings (#8151) 2022-04-05 11:29:35 -06:00
terms Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
toasts Normalize call buttons (#8129) 2022-04-04 00:34:39 -06:00
typography Live location sharing: maximised view sidebar container (#8360) 2022-04-20 08:14:24 +00:00
verification Fix look of emoji verification (#7133) 2021-11-15 09:09:19 +00:00
voip Fix dropdown button size for picture-in-picture CallView (#8680) 2022-05-24 17:49:04 +02:00