Benoit Marty
dd12071ea2
Use new Rust fields `numUnreadMessages` and `numUnreadMentions`, and iterate on the room badge rendering.
8 months ago
Benoit Marty
bbd871031a
Fix detekt issue:
...
Use `?.let {}` instead of if/else with a null block when checking for nullable values [UseLet]
8 months ago
Benoit Marty
5caebaaa1b
Introduce RoomListRoomSummaryFactory and remove RoomListRoomSummaryPlaceholders.
8 months ago
Benoit Marty
7832eb74b9
Remove default value for constructor of RoomListRoomSummary.
8 months ago
Benoit Marty
8eba12593b
Ensure there is no timestamp in RoomListRoomSummary if lastMessage is null.
8 months ago
Benoit Marty
ed1112f09b
Ensure roomId are unique in the list.
8 months ago
Benoit Marty
7fee884677
Use aRoomListRoomSummary function instead of invoking the constructor.
8 months ago
Benoit Marty
579f4d6a4e
`fun aRoomListRoomSummary`: make internal, add all fields and reorder to match RoomListRoomSummary constructor order.
8 months ago
Benoit Marty
4924f86d3b
Do not use the function for preview in test.
8 months ago
bmarty
4914c512fe
Sync Strings from Localazy
8 months ago
Benoit Marty
cf6bcca9cd
Preview with a last message by default.
8 months ago
Jorge Martin Espinosa
5d462d5ba9
Remove some state events at the start of DMs ( #2252 )
...
* Remove some initial events for DMs
8 months ago
Jorge Martin Espinosa
69b290f6fd
Make the room settings screen update automatically ( #2197 )
...
* Make the room settings screen update automatically
8 months ago
Benoit Marty
9d586bf2bb
Improve aRoomListRoomSummary method.
8 months ago
Benoit Marty
f8f100ccc8
Remove default value of RoomSummaryDetails constructor, and iterate on fixture functions.
8 months ago
Benoit Marty
b58ac4b02f
Remove dead code.
8 months ago
Benoit Marty
782f73fb7c
Remove `notificationMode` to `userDefinedNotificationMode` to match SDK name.
8 months ago
Benoit Marty
ecb000b8ed
Remove `hasOngoingCall` to `hasRoomCall` to match SDK name.
8 months ago
Benoit Marty
2c691d527b
Remove `RoomSummaryDetails.lastMessageTimestamp` and replace by a getter on `lastMessage`
8 months ago
Benoit Marty
be0da18a7b
Rename `userAvatarURLString` to `userAvatarUrl`
8 months ago
Benoit Marty
d1c7520065
Rename `avatarURLString` to `avatarUrl`
8 months ago
Benoit Marty
4c86126eae
Rename `aRoomSummaryDetail` to `aRoomSummaryDetails`
8 months ago
Benoit Marty
f9c1892f2f
SessionData: add the passphrase.
8 months ago
Jorge Martin Espinosa
27f55c0bc4
Replace 'leave room' text with 'leave conversation' for DMs ( #2231 )
...
* Replace 'leave room' text with 'leave conversation' for DMs
* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`
* Remove redundant `leave_conversation_alert_subtitle_*` texts
* Fix maestro flow
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
8 months ago
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
8 months ago
Benoit Marty
14d5274d22
Display name disambiguation #2215 .
...
Applied to:
- timeline message
- detail of timeline message
- reply preview of timeline message
- rendering of state Event
Not applied to:
- room last message
- room member list (we display the MatrixId here)
- room member detail page
8 months ago
Benoit Marty
592bdb0a57
Fix test.
...
The change is due to the new label send to the server.
8 months ago
Benoit Marty
1ab10a9e64
var -> val
8 months ago
Benoit Marty
4286be7cfb
Add fdroid of gplay to the rageshake data as a label.
8 months ago
Marco Antonio Alvarez
3899814adb
Adjusted the login flow buttons a little bit
...
They were slightly smaller on the onboarding page so I used that everywhere
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
8 months ago
Benoit Marty
9fab53e08c
Ensure preview are not impacted when removing the ReadReceipt feature flag.
8 months ago
Benoit Marty
a83eaede1f
Remove ReadReceipts feature flag.
8 months ago
Benoit Marty
cdd5124e32
Fix detekt issue.
8 months ago
Benoit Marty
d01c70a4fd
Fix moar ktlint issues
8 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
8 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
8 months ago
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
8 months ago
Jorge Martin Espinosa
13e8e954d3
Improve rendering of voice messages in the timeline in large displays ( #2199 )
...
* Improve rendering of voice messages in the timeline in large displays
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
9 months ago
Benoit Marty
371065bfdd
Exclude `ContentToPreview` from coverage, either by using annotation @ExcludeFromCoverage , or by inlining it.
9 months ago
Benoit Marty
5e42368965
Add missing test for LogoutView
9 months ago
Jorge Martin Espinosa
e8c6226586
Fix mention selector getting stuck when quickly deleting the prompt ( #2195 )
...
* Fix mention selector getting stuck when quickly deleting the prompt
9 months ago
Benoit Marty
54e499d0d0
Remove empty test module
9 months ago
Jorge Martin Espinosa
afacef0146
Hide keyboard when tapping on a message in the timeline ( #2187 )
...
* Hide keyboard when tapping on a message in the timeline if it would result in navigating to another screen
9 months ago
Benoit Marty
0756a2d3e4
exclude `items.count()`, which is not a valid index for the list.
9 months ago
Benoit Marty
08d78740ab
Do not use sublist as it crashes if `index > items.count()`. Using range is safer.
...
Fix https://github.com/element-hq/element-x-android-rageshakes/issues/1301
9 months ago
Benoit Marty
2a6a3ded5e
Iterate on EnsureCalledOnce devX
9 months ago
Benoit Marty
2c667a0dc0
Add `run` method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that `assertSuccess` is always called.
9 months ago
Benoit Marty
dee8008917
Use string resource instead of hard-coded strings.
9 months ago
bmarty
9c6e511319
Sync Strings from Localazy
9 months ago
Benoit Marty
7944804cd9
Fix test in release.
9 months ago