Benoit Marty
7efbee8f86
Add preview for Rust logs (and fix a bug!)
8 months ago
Benoit Marty
d6ed2a40f5
Extract colors to avoid duplication and for more clarity.
8 months ago
Benoit Marty
f55cfd1160
Rename `ColorationMode.Logs` to `ColorationMode.RustLogs`.
8 months ago
Benoit Marty
80d49543ef
FileViewer: fix coloration issue for logs files.
8 months ago
Jorge Martin Espinosa
7e58f719fe
Add 'send private read receipts' option in advanced settings ( #2290 )
...
* Add 'send private read receipts' option in advanced settings
* Create `SessionPreferencesStore` that stores the settings for the current use separate from those of the app.
* Rename `PreferencesStore` to `AppPreferencesStore` to split the preferences.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
8 months ago
Benoit Marty
732ec3f263
Ensure login and password exclude `\n`. #2263
8 months ago
Benoit Marty
c5fc45e7fb
Fix test compilation issue.
8 months ago
Benoit Marty
6933eb51df
Fix test, there is a new data sent.
8 months ago
Benoit Marty
c9392818a6
Remove extra new line.
8 months ago
Benoit Marty
c7f29bfe8e
Ensure the icon stay grey if the global setting is set to mention only.
...
Implement the iOS logic #2282
8 months ago
Benoit Marty
429effc706
Rework: improve OnGoingCallIcon API.
8 months ago
Benoit Marty
78bd91de2f
Rework: extract sub fun composable.
8 months ago
Benoit Marty
6ea76d9acd
Map `roomInfo.numUnreadNotifications` to `RoomSummaryDetails.numUnreadNotifications`
8 months ago
Benoit Marty
502f35787a
Move `FakeVersionFormatter` to the test sourceSet.
8 months ago
Benoit Marty
30df153a00
Add test for `DefaultVersionFormatter`
8 months ago
Benoit Marty
cccfdfbcc7
Restore branch and git sha, to use it in logs and in rageshakes.
...
Remove quite useless `gitRevisionDate`.
8 months ago
Benoit Marty
4eb10a2422
Fix Compose issues.
8 months ago
Benoit Marty
4601e2acd3
Change type of `ViewFileState.lines` from `ImmutableList<String>` to `AsyncData<List<String>>` to properly handle loading and error states.
8 months ago
Benoit Marty
bed9fcfae1
Add some Divider around the "View logs" item.
8 months ago
Benoit Marty
a6932c6c64
Fix test compilation issue.
8 months ago
Benoit Marty
5fa396d616
View Folders and files
...
Add test
Add test
8 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
8 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
8 months ago
Benoit Marty
eb51b49aef
Always use the `latest...` fix.
8 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]
8 months ago
Benoit Marty
1c1cf60ba0
Change type of `SecureBackupEnableState.enableAction` from `AsyncData` to `AsyncAction`
8 months ago
Benoit Marty
ce20b5f518
Add a report problem text button to the OnBoarding screen #2275 .
8 months ago
Benoit Marty
b3accdaa78
Remove unnecessary parenthesis.
8 months ago
Benoit Marty
addc8e3161
@Suppress("LargeClass") for test.
8 months ago
Benoit Marty
dac5a5ae30
Fix complexity error by extracting condition to a val.
8 months ago
Benoit Marty
f844399025
Fix API break: use new methods `canUserRedactOwn` and `canUserRedactOther`.
8 months ago
Benoit Marty
958e97f89c
Make `isTimestampHighlighted` a computed val.
8 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`
8 months ago
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