Benoit Marty
a6932c6c64
Fix test compilation issue.
9 months ago
Benoit Marty
5fa396d616
View Folders and files
...
Add test
Add test
9 months ago
Jorge Martin Espinosa
15e3ecc88e
Update timeline items read receipts when the room members are loaded ( #2194 )
...
* Update timeline items' sender info and read receipts when the room members info is loaded
* Only update this info if we have loaded the room members
9 months ago
Jorge Martin Espinosa
da4825aa44
Return cached room members before fetching new ones, do it in batches ( #2274 )
...
* Use cached users from the Rust SDK.
Also lazy load received users by batches.
* Create `RoomMemberListFetcher` to wrap all the room member loading logic
* Ensure we clear `RoomMember` Rust references if the fetching coroutine is canceled
9 months ago
Benoit Marty
eb51b49aef
Always use the `latest...` fix.
9 months ago
Benoit Marty
3ced570b3c
Fix detekt issue:
...
Lambda parameters in a @Composable that are referenced directly inside of restarting effects can cause issues or unpredictable behavior.
If restarting the effect is ok, you can add the reference to this parameter as a key in that effect, so when the parameter changes, a new effect is created.
However, if the effect is not to be restarted, you will need to use `rememberUpdatedState` on the parameter and use its result in the effect.
See https://mrmans0n.github.io/compose-rules/rules/#be-mindful-of-the-arguments-you-use-inside-of-a-restarting-effect for more information. [LambdaParameterInRestartableEffect]
9 months ago
Benoit Marty
1c1cf60ba0
Change type of `SecureBackupEnableState.enableAction` from `AsyncData` to `AsyncAction`
9 months ago
Benoit Marty
ce20b5f518
Add a report problem text button to the OnBoarding screen #2275 .
9 months ago
Benoit Marty
b3accdaa78
Remove unnecessary parenthesis.
9 months ago
Benoit Marty
addc8e3161
@Suppress("LargeClass") for test.
9 months ago
Benoit Marty
dac5a5ae30
Fix complexity error by extracting condition to a val.
9 months ago
Benoit Marty
f844399025
Fix API break: use new methods `canUserRedactOwn` and `canUserRedactOther`.
9 months ago
Benoit Marty
958e97f89c
Make `isTimestampHighlighted` a computed val.
9 months ago
Jorge Martin Espinosa
18fba261e0
Edited text message bubbles should resize when edited ( #2272 )
...
* Make `ContentAvoidingLayoutScopeInstance` scope aware so message bubbles are resized when edited.
* Move back to using `Layout` instead of `SubcomposeLayout`
9 months ago
Benoit Marty
dd12071ea2
Use new Rust fields `numUnreadMessages` and `numUnreadMentions`, and iterate on the room badge rendering.
9 months ago
Benoit Marty
bbd871031a
Fix detekt issue:
...
Use `?.let {}` instead of if/else with a null block when checking for nullable values [UseLet]
9 months ago
Benoit Marty
5caebaaa1b
Introduce RoomListRoomSummaryFactory and remove RoomListRoomSummaryPlaceholders.
9 months ago
Benoit Marty
7832eb74b9
Remove default value for constructor of RoomListRoomSummary.
9 months ago
Benoit Marty
8eba12593b
Ensure there is no timestamp in RoomListRoomSummary if lastMessage is null.
9 months ago
Benoit Marty
ed1112f09b
Ensure roomId are unique in the list.
9 months ago
Benoit Marty
7fee884677
Use aRoomListRoomSummary function instead of invoking the constructor.
9 months ago
Benoit Marty
579f4d6a4e
`fun aRoomListRoomSummary`: make internal, add all fields and reorder to match RoomListRoomSummary constructor order.
9 months ago
Benoit Marty
4924f86d3b
Do not use the function for preview in test.
9 months ago
bmarty
4914c512fe
Sync Strings from Localazy
9 months ago
Benoit Marty
cf6bcca9cd
Preview with a last message by default.
10 months ago
Jorge Martin Espinosa
5d462d5ba9
Remove some state events at the start of DMs ( #2252 )
...
* Remove some initial events for DMs
10 months ago
Jorge Martin Espinosa
69b290f6fd
Make the room settings screen update automatically ( #2197 )
...
* Make the room settings screen update automatically
10 months ago
Benoit Marty
9d586bf2bb
Improve aRoomListRoomSummary method.
10 months ago
Benoit Marty
f8f100ccc8
Remove default value of RoomSummaryDetails constructor, and iterate on fixture functions.
10 months ago
Benoit Marty
b58ac4b02f
Remove dead code.
10 months ago
Benoit Marty
782f73fb7c
Remove `notificationMode` to `userDefinedNotificationMode` to match SDK name.
10 months ago
Benoit Marty
ecb000b8ed
Remove `hasOngoingCall` to `hasRoomCall` to match SDK name.
10 months ago
Benoit Marty
2c691d527b
Remove `RoomSummaryDetails.lastMessageTimestamp` and replace by a getter on `lastMessage`
10 months ago
Benoit Marty
be0da18a7b
Rename `userAvatarURLString` to `userAvatarUrl`
10 months ago
Benoit Marty
d1c7520065
Rename `avatarURLString` to `avatarUrl`
10 months ago
Benoit Marty
4c86126eae
Rename `aRoomSummaryDetail` to `aRoomSummaryDetails`
10 months ago
Benoit Marty
f9c1892f2f
SessionData: add the passphrase.
10 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>
10 months ago
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
10 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
10 months ago
Benoit Marty
592bdb0a57
Fix test.
...
The change is due to the new label send to the server.
10 months ago
Benoit Marty
1ab10a9e64
var -> val
10 months ago
Benoit Marty
4286be7cfb
Add fdroid of gplay to the rageshake data as a label.
10 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>
10 months ago
Benoit Marty
9fab53e08c
Ensure preview are not impacted when removing the ReadReceipt feature flag.
10 months ago
Benoit Marty
a83eaede1f
Remove ReadReceipts feature flag.
10 months ago
Benoit Marty
cdd5124e32
Fix detekt issue.
10 months ago
Benoit Marty
d01c70a4fd
Fix moar ktlint issues
10 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
10 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
10 months ago