Commit Graph

3771 Commits

Author SHA1 Message Date
Benoit Marty
6b52dfa1ae Fix preview for ignore user in a DM case. 2024-10-23 13:13:40 +02:00
Benoit Marty
774389474b Change a preview to have a room detail state without any badge. 2024-10-23 13:09:51 +02:00
Benoit Marty
ba16616caa Ensure modifier of BadgeList is used. 2024-10-23 13:06:55 +02:00
Benoit Marty
eddbcb9499 Let roomBadges be a computed val of RoomDetailsState 2024-10-23 12:59:56 +02:00
Benoit Marty
97cd7d3096 Code quality 2024-10-22 14:19:07 +02:00
Benoit Marty
ebb79bb729 Room badge: let the presenter compute the list of badges. 2024-10-22 14:09:38 +02:00
Benoit Marty
200ae60a8b Verified user badge.
Add disable action to verify user.
2024-10-22 14:09:35 +02:00
Benoit Marty
639089718d Move strings with key starting by screen_room_member_details_ to the module :features:userprofile:shared 2024-10-22 10:18:44 +02:00
Benoit Marty
98a99ead5c Remove unnecessary padding, the Column already have a padding. 2024-10-22 10:18:44 +02:00
Benoit Marty
75caeaaec2 Change model and create MatrixBadgeRowMolecule 2024-10-22 10:18:43 +02:00
Benoit Marty
86a839ea73 Move RoomBadge to atomic package and rename to MatrixBadge 2024-10-22 10:18:42 +02:00
Benoit Marty
a158256315 Merge pull request #3714 from element-hq/feature/bma/pinSmallIteration
Small UI iteration on pin feature.
2024-10-22 09:44:48 +02:00
Benoit Marty
d84ae34163 Fix flaky tests. 2024-10-21 22:43:49 +02:00
Benoit Marty
20e40dd30c Reduce space between message and "View All" button 2024-10-21 15:31:51 +02:00
Benoit Marty
1af4721cd4 Change preview to test wrapping of long pinned message. 2024-10-21 15:31:07 +02:00
Benoit Marty
1eec128923 Use ic_compound_unpin 2024-10-21 15:26:18 +02:00
bmarty
f19ea02390 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
Benoit Marty
7d6b859366 Rename View and Preview to fix a name clash in the Gallery. 2024-10-18 15:47:59 +02:00
Benoit Marty
3cdf533c33 Merge pull request #3701 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.2.55
2024-10-18 09:30:26 +02:00
Benoit Marty
9852ce6821 Fix API Break: introduce EventOrTransactionId 2024-10-18 08:49:11 +02:00
Benoit Marty
252308f591 Reorder imports. 2024-10-17 16:34:24 +02:00
Benoit Marty
56c564c499 Use test extension on presenter. 2024-10-17 15:57:30 +02:00
Benoit Marty
4f3065d1c6 Cover getCanCall with tests. 2024-10-17 15:55:45 +02:00
Benoit Marty
feeddaceb9 Renaming. 2024-10-17 14:24:08 +02:00
Benoit Marty
fbd7e33bf0 Format 2024-10-17 14:16:29 +02:00
Benoit Marty
2c94df3647 No need for UserProfilePresenterHelper anymore. 2024-10-17 14:13:48 +02:00
Benoit Marty
9b82c6df1c Let RoomMemberDetailsPresenter use UserProfilePresenter to reduce code duplication. 2024-10-17 14:12:18 +02:00
Benoit Marty
9b9fef1aa8 Rework: use @AssistedFactory and comment out the UserProfileModule. 2024-10-17 14:12:16 +02:00
Benoit Marty
80a052c7cf Merge pull request #3694 from element-hq/feature/bma/oidcPrompt
OIDC prompt
2024-10-17 09:16:02 +02:00
Benoit Marty
f1391a1e9e Merge pull request #3671 from element-hq/bma/improveRoomModeration
Improve room moderation
2024-10-16 17:57:22 +02:00
Benoit Marty
d6407d6995 Restore fun interface for a sweeter code. 2024-10-16 17:12:46 +02:00
Benoit Marty
62f6791865 Remove unused isLocal field. 2024-10-16 16:19:04 +02:00
Benoit Marty
383cfd323a Use Create prompt when user already said they wanted to create an account #3627. 2024-10-16 16:10:19 +02:00
Benoit Marty
58f0cbc5cf Fix wrong mapping 2024-10-16 16:10:18 +02:00
Benoit Marty
83de862fc1 Fix other API change: EventShieldsProvider and EventTimelineItemDebugInfoProvider have been replaced by LazyTimelineItemProvider 2024-10-16 16:10:16 +02:00
Benoit Marty
2724815d79 Fix other API change: body renamed to filename 2024-10-16 16:09:32 +02:00
Benoit Marty
3f58f4b793 Fix API update regrading OidcPrompt. 2024-10-16 14:58:04 +02:00
Benoit Marty
95a49a626d Merge pull request #3574 from element-hq/feature/bma/improveMediaModel
Clarify model for Event with attachment
2024-10-16 14:57:05 +02:00
Benoit Marty
99a5ae14ff Merge pull request #3681 from element-hq/feature/bma/rtlIssue
RTL: ensure sender information are correctly rendered in the timeline
2024-10-16 12:01:17 +02:00
Benoit Marty
9aafcc7564 The name ConfirmingBanUser was wrong since it was used to confirm a unban action. Better to keep a generic name, in case this class is used for any other action. 2024-10-16 11:58:54 +02:00
Benoit Marty
d468a009d5 Room moderation: make it more reactive and simplify the code. 2024-10-16 11:49:15 +02:00
Benoit Marty
ba9f0018f8 Merge pull request #3673 from element-hq/feature/bma/previewProviderName
Improve preview provider name consistency
2024-10-16 11:45:15 +02:00
Benoit Marty
0b31231711 Merge pull request #3685 from element-hq/feature/bma/callImprovment
Call: ensure that the microphone is working when the application is backgrounded.
2024-10-16 11:44:56 +02:00
Benoit Marty
4ec7e6fa87 Use size from the DrawScope. 2024-10-16 11:26:26 +02:00
Benoit Marty
0113cd522d Rename some classes which implement PreviewParameterProvider according to the new naming convention.
`Provider` suffix is enough and more used than `PreviewProvider`, so let's make the codebase more consistent.
2024-10-16 11:17:46 +02:00
Benoit Marty
44b37587cc Merge pull request #3669 from element-hq/feature/bma/reduceIndentation
Ensure selectedRoomMember is not null to reduce code indentation.
2024-10-16 11:16:21 +02:00
Benoit Marty
2ef302cb8c Merge pull request #3686 from element-hq/feature/bma/identityChangeWording
Add userId in identity change warning banner
2024-10-16 11:15:56 +02:00
Benoit Marty
6c870f5f63 Merge pull request #3672 from element-hq/bma/cleanupTests
Cleanup tests
2024-10-16 11:15:36 +02:00
Jorge Martin Espinosa
6b2aa7eb8c Refresh room summaries when date or time changes in the device (#3683)
* Add `DateTimeObserver` to rebuild the room summary data when the date/time changes.

* Add time changed action too, to trigger when the user manually changes date/time

* Fix timezone issue by adding `TimezoneProvider`, fix tests

* Create test for `DateTimeObserver` usage in `RoomListDataSource`

* Create aRoomListRoomSummaryFactory function.

* Improve test by faking the lastMessageTimestampFormatter

---------

Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-10-16 09:10:58 +00:00
Benoit Marty
85b1b9b542 Let FakeKnockRoom and FakeLogoutUseCase use simulateLongTask 2024-10-16 10:03:19 +02:00