element-web/res/css/views/rooms
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
..
_AppsDrawer.scss Improve widget buttons behaviour and layout (#8734) 2022-06-03 12:00:16 +02:00
_Autocomplete.scss Allow slash commands description to wrap on a new line (#7370) 2021-12-15 10:16:40 +00:00
_AuxPanel.scss Fix Bottom border of state counters is white on the dark theme 2021-03-04 14:03:02 +05:30
_BasicMessageComposer.scss Make the pill on the basic message composer compatible with display name in RTL languages (#8758) 2022-06-05 15:22:44 +02:00
_E2EIcon.scss Color cleanup number 10 (#7132) 2021-11-16 10:10:44 +00:00
_EditMessageComposer.scss Adjust EditMessageComposer style declarations (#8631) 2022-05-17 19:12:13 +02:00
_EntityTile.scss Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
_EventBubbleTile.scss Fix read avatars overflow from the right chat panel with a maximized widget on bubble message layout (#8470) 2022-06-02 02:43:07 +00:00
_EventTile.scss Improve style rules of threads list (#8706) 2022-06-07 14:55:11 +01:00
_GroupLayout.scss Revert "Move style rules of MatrixChat_useCompactLayout from _GroupLayout.scss to _EventTile.scss and _RoomView.scss (#8725)" (#8751) 2022-06-03 12:22:13 +02:00
_HistoryTile.scss Show a tile at beginning of visible history (#5887) 2022-01-20 09:51:31 +00:00
_IRCLayout.scss Fix timestamp's position on the chat panel with a maximized widget in IRC layout (#8464) 2022-05-07 03:07:51 +00:00
_JumpToBottomButton.scss Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
_LinkPreviewGroup.scss Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
_LinkPreviewWidget.scss Task/colors 11 (#7211) 2021-11-29 12:52:09 +00:00
_MemberInfo.scss Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
_MemberList.scss Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
_MessageComposer.scss Improve composer visiblity (#8578) 2022-06-07 07:28:29 +00:00
_MessageComposerFormatBar.scss Fix composer format buttons on WebKit (#7898) 2022-02-25 13:20:06 +00:00
_NewRoomIntro.scss Add default properties to link buttons and remove redundant settings (#8151) 2022-04-05 11:29:35 -06:00
_NotificationBadge.scss Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
_PinnedEventTile.scss Add default properties to link buttons and remove redundant settings (#8151) 2022-04-05 11:29:35 -06:00
_PresenceLabel.scss Use variables for the rem values. 2020-03-31 15:26:23 +01:00
_ReadReceiptGroup.scss Fix read avatars overflow from the right chat panel with a maximized widget on bubble message layout (#8470) 2022-06-02 02:43:07 +00:00
_RecentlyViewedButton.scss Fix cutout misalignment on some decorated room avatars (#7784) 2022-02-11 12:05:54 +00:00
_ReplyPreview.scss Improve composer visiblity (#8578) 2022-06-07 07:28:29 +00:00
_ReplyTile.scss Fix other user's displayName being wrapped on the bubble message layout (#8456) 2022-05-22 09:07:29 +02:00
_RoomBreadcrumbs.scss Tweaks to informational architecture 1.1 (#7052) 2021-11-30 18:08:46 +00:00
_RoomHeader.scss Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
_RoomInfoLine.scss Iterate video room designs in labs (#8499) 2022-05-04 17:02:06 -04:00
_RoomList.scss More video rooms design updates (#8222) 2022-04-05 06:30:57 -04:00
_RoomListHeader.scss More video rooms design updates (#8222) 2022-04-05 06:30:57 -04:00
_RoomPreviewBar.scss Show room preview bar with maximised widgets (#8180) 2022-03-30 11:43:54 +00:00
_RoomPreviewCard.scss Iterate video room designs in labs (#8499) 2022-05-04 17:02:06 -04:00
_RoomSublist.scss Improve tooltip positioning 2022-05-12 14:05:55 +02:00
_RoomTile.scss Fixes suggested room not ellipsized on shrinking (#8536) 2022-05-09 12:04:44 +00:00
_RoomUpgradeWarningBar.scss Task/colors 11 (#7211) 2021-11-29 12:52:09 +00:00
_SearchBar.scss Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
_SendMessageComposer.scss Improve composer visiblity (#8578) 2022-06-07 07:28:29 +00:00
_Stickers.scss Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
_ThreadSummary.scss Implement improved spacing for the thread list and timeline (#8337) 2022-04-29 11:03:39 +00:00
_TopUnreadMessagesBar.scss Color cleanup 8 (#7108) 2021-11-11 13:37:29 +00:00
_VoiceRecordComposerTile.scss $secondary-fg-color -> $secondary-content 2021-08-12 17:19:26 +02:00
_WhoIsTypingTile.scss Tweak timeline card layout (#7743) 2022-02-08 13:11:18 +00:00