element-web-Github/test/components/structures
Clark Fischer a8aa4de4b4
Member avatars without canvas (#9990)
* Strict typechecking fixes for Base/Member/Avatar

Update the core avatar files to pass `--strict --noImplicitAny` typechecks.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Add tests for Base/Member/Avatar

More thoroughly test the core avatar files. Not necessarily the most thorough,
but an improvement.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Extract TextAvatar from BaseAvatar

Extracted the fallback/textual avatar into its own component.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Use standard HTML for non-image avatars

Firefox users with `resistFingerprinting` enabled were seeing random noise
for rooms and users without avatars. There's no real reason to use data
URLs to present flat colors.

This converts non-image avatars to inline blocks with background colors.

See https://github.com/vector-im/element-web/issues/23936

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Have pills use solid backgrounds rather than colored images

Similar to room and member avatars, pills now use colored pseudo-elements
rather than background images.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

---------

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-30 09:50:08 +00:00
..
__snapshots__ Member avatars without canvas (#9990) 2023-01-30 09:50:08 +00:00
auth Implementation of MSC3824 to make the client OIDC-aware (#8681) 2023-01-27 11:06:10 +00:00
AutocompleteInput-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
ContextMenu-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
LargeLoader-test.tsx Start DM on first message (#8612) 2022-08-04 08:19:52 +02:00
LegacyCallEventGrouper-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MessagePanel-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
PictureInPictureDragger-test.tsx Redesign the picture-in-picture window (#9800) 2023-01-04 04:44:38 +00:00
PipContainer-test.tsx Redesign the picture-in-picture window (#9800) 2023-01-04 04:44:38 +00:00
RightPanel-test.tsx Convert enzyme to rtl: RightPanel (#9837) 2022-12-29 08:40:42 +00:00
RoomSearchView-test.tsx combine search results when the query is present in multiple successive messages (#9855) 2023-01-05 11:37:58 +00:00
RoomStatusBar-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomStatusBarUnsentMessages-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
RoomView-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
SpaceHierarchy-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
TabbedView-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
ThreadPanel-test.tsx Fix issue where thread dropdown would not show up correctly (#9872) 2023-01-12 11:54:03 +01:00
ThreadView-test.tsx Allow thread panel to be closed after being opened from notification (#9937) 2023-01-23 14:35:44 +01:00
TimelinePanel-test.tsx Merge branch 'develop' into gsouquet/threads-forceenablelabsflag 2023-01-11 11:51:57 +00:00
UserMenu-test.tsx Replace broadcast instance with SDKContext (#9824) 2022-12-27 08:39:26 +01:00
ViewSource-test.tsx Fix error when viewing source of redacted events (#9914) 2023-01-15 16:22:59 +00:00