riot-web/test
Suguru Hirahara fe8c267a14
Create a common header on right panel cards on BaseCard (#8808)
* Remove duplicate declarations and add height and overflow properties

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move mx_TimelineCard__header under mx_BaseCard_header for normalization

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Normalize mx_BaseCard_close position

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Normalize className of header

- mx_BaseCard_header__ThreadPanel
- mx_BaseCard_header__TimelineCard

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Normalize header's button size

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Normalize inline start header margin

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* normalize header bottom margin for PinnedMessagesCard and TimelineCard

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Normalize header declarations

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Add mixin RightPanelCard

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move common declarations - top level

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move common declarations - mx_BaseCard_header

Remove specific declarations on PinnedMessagesCard

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move common declarations - mx_BaseCard_back and mx_BaseCard_close

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Create a common class name - mx_BaseCard_header_title

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Create a common class name - mx_BaseCard_header_title - ThreadPanel

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move common declarations - mx_BaseCard_header_title

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move common declarations - span:first-of-type

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove redundant declarations

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Rename a variable to remove --ThreadPanel_header-button-size

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove class name - mx_BaseCard_header_title

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove mx_BaseCard_header_title--ThreadPanel and h2 declarations from PinnedMessagesCard

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Headers need Heading

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use spacing variables

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Move common style rules of mx_ContextualMenu inside mx_BaseCard_header_title to BaseCard

leaving style rules specific to ThreadPanel.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Hide long header title with ellipsis

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Merge style rules - BaseCard_header-button-size

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Merge style rules - BaseCard_header margin-bottom

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Merge style rules - BaseCard back and close margin

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Merge style rules - BaseCard back ~ mx_BaseCard_header_title

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Merge style rules - mx_BaseCard_header_title

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Return special declarations to _ThreadPanel.scss

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove the mixin

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Add mx_BaseCard_header_title_button--option

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove redundant margin from AppTileFullWidth

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Header on mx_RoomSummaryCard - remove default declarations

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove default declarations from mx_UserInfo

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use variables - _BaseCard.scss

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-06-16 09:22:45 +02:00
..
__snapshots__
accessibility
audio
autocomplete
components Create a common header on right panel cards on BaseCard (#8808) 2022-06-16 09:22:45 +02:00
editor Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
end-to-end-tests Remove Piwik support (#8835) 2022-06-14 17:51:51 +01:00
hooks Integrate searching public rooms and people into the new search experience (#8707) 2022-06-15 16:14:05 +02:00
i18n
i18n-test Fall back to untranslated string rather than showing missing translation error (#8609) 2022-05-16 13:28:24 +01:00
images
img
notifications
settings Prevent level order to be modified (#8821) 2022-06-13 08:03:16 +02:00
setup
stores Expire video member events after 1 hour (#8776) 2022-06-09 13:19:52 +00:00
test-utils Remove unused sessionStorage layer (#8834) 2022-06-14 21:29:24 +01:00
utils Reload map on reconnect (#8848) 2022-06-15 16:38:35 +02:00
.eslintrc.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
CallHandler-test.ts Make system fonts work more reliably (#8602) 2022-05-23 17:29:16 +01:00
DecryptionFailureTracker-test.js Add raw error to analytics E2E error event context (#8447) 2022-05-04 21:46:03 -06:00
DeviceListener-test.ts
HtmlUtils-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
Image-test.ts
KeyBindingsManager-test.ts
Markdown-test.ts
MatrixClientPeg-test.ts
PosthogAnalytics-test.ts
Reply-test.ts
RoomNotifs-test.ts Fix js-sdk types (#8588) 2022-05-13 19:13:21 +00:00
ScalarAuthClient-test.ts
SlashCommands-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
Terms-test.tsx
TextForEvent-test.ts Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
UserActivity-test.ts
createRoom-test.ts Revert "Make widgets in video rooms mutable again to de-risk future upgrades" (#8803) 2022-06-09 09:56:02 -04:00
globalSetup.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
languageHandler-test.ts
linkify-matrix-test.ts
setupTests.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
useTopic-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00