Benoit Marty
732ec3f263
Ensure login and password exclude `\n`. #2263
9 months ago
Benoit Marty
c5fc45e7fb
Fix test compilation issue.
9 months ago
Benoit Marty
6933eb51df
Fix test, there is a new data sent.
9 months ago
Benoit Marty
c9392818a6
Remove extra new line.
9 months ago
Benoit Marty
c7f29bfe8e
Ensure the icon stay grey if the global setting is set to mention only.
...
Implement the iOS logic #2282
9 months ago
Benoit Marty
429effc706
Rework: improve OnGoingCallIcon API.
9 months ago
Benoit Marty
78bd91de2f
Rework: extract sub fun composable.
9 months ago
Benoit Marty
6ea76d9acd
Map `roomInfo.numUnreadNotifications` to `RoomSummaryDetails.numUnreadNotifications`
9 months ago
Benoit Marty
502f35787a
Move `FakeVersionFormatter` to the test sourceSet.
9 months ago
Benoit Marty
30df153a00
Add test for `DefaultVersionFormatter`
9 months ago
Benoit Marty
cccfdfbcc7
Restore branch and git sha, to use it in logs and in rageshakes.
...
Remove quite useless `gitRevisionDate`.
9 months ago
Benoit Marty
4eb10a2422
Fix Compose issues.
9 months ago
Benoit Marty
4601e2acd3
Change type of `ViewFileState.lines` from `ImmutableList<String>` to `AsyncData<List<String>>` to properly handle loading and error states.
9 months ago
Benoit Marty
bed9fcfae1
Add some Divider around the "View logs" item.
9 months ago
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