Benoit Marty
cccfdfbcc7
Restore branch and git sha, to use it in logs and in rageshakes.
...
Remove quite useless `gitRevisionDate`.
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
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
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