Benoit Marty
ff608c9581
Use Kdoc.
9 months ago
Benoit Marty
b25509a611
Add test for TimelineItemPollView
9 months ago
Benoit Marty
80c474e1a6
Format file
9 months ago
Benoit Marty
69f0c9935f
Add type hierarchy on `TimelineEvents`.
...
It is not really OK that a Event was able to invoke `LoadMore` for instance.
9 months ago
Benoit Marty
e66f53f64c
Add test to ensure that TimelineView loads more Events.
9 months ago
Benoit Marty
8c56f0bd92
Fix API break and change from SDK 0.1.97
9 months ago
Benoit Marty
cbf7e9cfce
Hide Read Receipt if the user set Rended Read Receipt to false (actually disabled the "Share presence" toggle)
9 months ago
Benoit Marty
5747453505
Take into account the setting `isSendTypingNotificationsEnabled` to not send typing notification when it's been disabled by the user.
9 months ago
bmarty
03c95555e3
Sync Strings from Localazy
9 months ago
jmartinesp
f7abfb2f5a
Sync Strings from Localazy
9 months ago
Benoit Marty
05cc526be9
Fix: ensure the effect is restarted on each sync update.
9 months ago
Benoit Marty
6406477fef
Ensure that `canUserJoinCall` is "live"
9 months ago
Benoit Marty
96bae05184
Remove useless `suspend` modifier.
9 months ago
Benoit Marty
4f7d26eef0
Cleanup: no need to provide a `CurrentSessionIdHolder`, the sessionId can be retrieved from the room.
9 months ago
Benoit Marty
bfb6b32740
Send typing notification #2240
9 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>
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
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
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
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
bmarty
4914c512fe
Sync Strings from Localazy
9 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
Benoit Marty
b58ac4b02f
Remove dead code.
10 months ago
Benoit Marty
2c691d527b
Remove `RoomSummaryDetails.lastMessageTimestamp` and replace by a getter on `lastMessage`
10 months ago
Benoit Marty
d1c7520065
Rename `avatarURLString` to `avatarUrl`
10 months ago
Benoit Marty
4c86126eae
Rename `aRoomSummaryDetail` to `aRoomSummaryDetails`
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
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
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
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>
10 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>
10 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
10 months ago
Benoit Marty
54e499d0d0
Remove empty test module
10 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
10 months ago
Benoit Marty
0756a2d3e4
exclude `items.count()`, which is not a valid index for the list.
10 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
10 months ago
bmarty
9c6e511319
Sync Strings from Localazy
10 months ago
Jorge Martin Espinosa
3a2191ee43
Use `SubcomposeLayout` for `ContentAvoidingLayout` ( #2171 )
...
Use `SubcomposeLayout` for `ContentAvoidingLayout`
10 months ago
Jorge Martin Espinosa
e04780fbf6
Trim whitespace at the end of messages ( #2169 )
...
Trim whitespace at the end of messages
10 months ago
Jorge Martin Espinosa
4776fc5452
Fix crashes for extremely long messages with no line breaks ( #2163 )
10 months ago
Benoit Marty
365c423190
Clean up
10 months ago