Commit graph

7452 commits

Author SHA1 Message Date
Benoit Marty
dfca5dc43c
Merge pull request #3090 from element-hq/renovate/test.core
Update test.core to v1.6.0
2024-06-25 09:10:13 +02:00
renovate[bot]
ec06ce44e5
Update dependency androidx.test.ext:junit to v1.2.0 (#3088)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-25 08:31:26 +02:00
renovate[bot]
4dfc1be67f
Update test.core to v1.6.0 2024-06-24 23:04:53 +00:00
Benoit Marty
72373ab5ef
Merge pull request #3082 from element-hq/feature/bma/fixClearCacheImage
Fix image rendering after clear cache
2024-06-24 16:20:11 +02:00
Benoit Marty
913ae18edd
Merge pull request #3081 from element-hq/feature/bma/fixChagingRoleForPendingMember
Let role and permissions screens works for invited room members too.
2024-06-24 15:56:12 +02:00
Benoit Marty
40594b7250 Changelog 2024-06-24 14:46:51 +02:00
Benoit Marty
4227b42dfa Add unit test on DefaultImageLoaderHolder 2024-06-24 14:42:04 +02:00
Benoit Marty
77ed70e26f Convert LoggedInImageLoaderFactory to an interface and add DefaultLoggedInImageLoaderFactory 2024-06-24 14:22:46 +02:00
Benoit Marty
0039387fbc Move test classes to the correct package. 2024-06-24 14:04:14 +02:00
Benoit Marty
8cc5f35e0c Fix image not rendering after clearing cache. 2024-06-24 13:58:15 +02:00
Benoit Marty
3eb379b540 Towncrier 2024-06-24 13:29:24 +02:00
Benoit Marty
e999120864 Let role and permissions screens works for invited room members too. 2024-06-24 13:21:46 +02:00
Benoit Marty
cb14be2700
Merge pull request #3080 from element-hq/feature/bma/improveBubbleLayout
Improve the way we cut the bubble layout to give space for the sender Avatar
2024-06-24 12:27:28 +02:00
Benoit Marty
d14b9de8c9 Fix format issue. 2024-06-24 12:03:38 +02:00
ElementBot
d02f81176d Update screenshots 2024-06-24 09:32:03 +00:00
Benoit Marty
315392d8ef Improve the way we cut the bubble layout to give space for the sender Avatar.
Instead of drawing a circle with the same color of the background behind the avatar, properly clear the top start corner of the bubble using `CompositingStrategy.Offscreen` and `BlendMode.Clear`.
2024-06-24 11:21:43 +02:00
Benoit Marty
010a90f9ff
Merge pull request #3069 from element-hq/feature/bma/avatarCluster_x2
Avatar cluster for DM
2024-06-24 10:53:50 +02:00
Benoit Marty
5ccaeea286 Rename field of RoomDetailsType.Dm for clarity 2024-06-24 10:53:24 +02:00
ElementBot
fd6bcb7857
Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
renovate[bot]
3d27f26d3c
Update dependency com.google.firebase:firebase-bom to v33.1.1 (#3062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 17:04:03 +02:00
Benoit Marty
f0917ad38a Fix KDoc issue 2024-06-21 16:53:44 +02:00
ElementBot
810d9661b0 Update screenshots 2024-06-21 14:24:55 +00:00
Benoit Marty
8f3fbe70f8 Create TitleAndSubtitle to reduce code duplication and add badges to DM. 2024-06-21 16:13:07 +02:00
ElementBot
93c1b2005a Update screenshots 2024-06-21 14:09:32 +00:00
Benoit Marty
da1f8cd465 Use DmAvatars in header of DM details. 2024-06-21 15:55:01 +02:00
Benoit Marty
76add1fff1 Extract MainActionsSection from the when cases, since this is code duplication. 2024-06-21 15:45:22 +02:00
Benoit Marty
17d2d7b0d7 Fix issue in avatar rendering and add a preview. 2024-06-21 15:45:22 +02:00
Benoit Marty
f4325aed50 Create DmAvatars to render both users of a DM. 2024-06-21 15:45:22 +02:00
renovate[bot]
73c6291aa2
Update dependency com.freeletics.flowredux:compose to v1.2.2 (#3067)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-21 12:30:00 +02:00
Jorge Martin Espinosa
310a7fc229
Resolve display names in mentions in real time (#3051)
* Resolve display names in mentions in real time

* Use `LocalRoomMemberProfilesCache` to avoid having to implement `TextMessagePresenter`

* Also use local composition provider for `MentionSpanProvider`
2024-06-21 09:57:36 +00:00
Benoit Marty
981dad71a3
Merge pull request #3058 from element-hq/feature/bma/dmColor
Let Dms use other member color.
2024-06-21 09:44:38 +02:00
Benoit Marty
3ce4af97cc Use repeat in the Preview. 2024-06-20 17:59:26 +02:00
Benoit Marty
cea7dce432 Create extension RoomMember.getAvatarData to avoid code duplication. 2024-06-20 17:51:35 +02:00
Benoit Marty
1f3468986c Use extension 2024-06-20 17:47:13 +02:00
Benoit Marty
98f218a2b3 Code simplification. 2024-06-20 16:21:56 +02:00
Benoit Marty
7d0323d708 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty
33c76dfd2d Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
a2ff1dc933 Use ImmutableList in Composable. 2024-06-20 15:56:33 +02:00
Benoit Marty
09f3868b53 Fix test. 2024-06-20 15:56:33 +02:00
renovate[bot]
b90521e53f
Update danger/danger-js action to v12.3.3 (#3059)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 15:38:49 +02:00
Benoit Marty
db23d8395b
Merge pull request #3060 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.4.0
2024-06-20 15:35:44 +02:00
ElementBot
b9e204a0e8 Update screenshots 2024-06-20 13:15:59 +00:00
renovate[bot]
fa969bb0b3
Update dependency com.posthog:posthog-android to v3.4.0 2024-06-20 13:09:57 +00:00
Jorge Martin Espinosa
4f69ab70cc
Use full date format for day dividers in timeline (#3057)
* Use full date format for day dividers in timeline

* Use AM/PM for `DefaultLastMessageTimestampFormatter` when the locale needs it
2024-06-20 13:09:06 +00:00
Benoit Marty
a9f23c06b0 Add enum Suggestion instead of reusing TimelineRoom 2024-06-20 15:00:26 +02:00
ElementBot
97add3941c Update screenshots 2024-06-20 12:55:37 +00:00
Benoit Marty
ac6e56fead Use heroes only for DMs. #1538 2024-06-20 14:35:12 +02:00
Benoit Marty
99c90f1ced Use heroes to render room avatars 2024-06-20 14:14:05 +02:00
Benoit Marty
0754404aed Add preview and fix rendering issue. 2024-06-20 13:15:32 +02:00
Benoit Marty
ad02e05bf4 Use heroes to render room avatars 2024-06-20 13:10:25 +02:00