Benoit Marty
5213849f8b
Typing notification: disable rendering when the user preference isRenderTypingNotificationsEnabled is false.
2024-02-09 09:35:52 +01:00
Benoit Marty
d27df29452
Typing notification: fix test compilation issue after rebase.
2024-02-08 18:31:37 +01:00
Benoit Marty
656ef9d6d0
Typing notification: reduce horizontal padding.
2024-02-08 18:17:57 +01:00
Benoit Marty
7b809ac507
Add a way to hide the Jump to Bottom button for coherent preview
2024-02-08 17:38:59 +01:00
Benoit Marty
dfaf4ab8c8
Typing: add some specific MessagesView preview.
2024-02-08 17:38:59 +01:00
Benoit Marty
5d6716da67
Rendering typing notification #2242
2024-02-08 17:38:59 +01:00
Benoit Marty
d5c123622b
Merge pull request #2354 from element-hq/feature/bma/markUnread
...
Mark room as unread
2024-02-08 17:36:29 +01:00
Benoit Marty
860ac595ec
Merge pull request #2366 from element-hq/feature/bma/removeModifierParameterInPrivateMethods
...
Remove modifier parameter in private methods
2024-02-08 15:36:42 +01:00
Benoit Marty
e63e5bd739
Remove patch on ActionListView and ensure all the test are passing.
2024-02-08 14:38:44 +01:00
Benoit Marty
9d461a4917
Add ability mark as unread / mark as read a room.
2024-02-08 11:33:43 +01:00
Benoit Marty
b104dba845
Remove Modifier parameter in private function when only default value is used.
...
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00
Benoit Marty
fa52ff54c8
Add tests on MessagesView
2024-02-07 23:02:32 +01:00
Benoit Marty
7910ae5bed
Add parameter to functions which create states, to avoid copy.
2024-02-07 23:02:32 +01:00
Benoit Marty
afc2e6c7fe
Remove LogCompositions.
...
It was used at the beginning of the project, but is not useful anymore.
2024-02-07 16:33:48 +01:00
Benoit Marty
cb8698a470
Merge remote-tracking branch 'origin/develop' into feature/bma/testTimelineView
2024-02-07 10:38:05 +01:00
Benoit Marty
ff608c9581
Use Kdoc.
2024-02-07 10:31:08 +01:00
Benoit Marty
022d309eb6
Merge pull request #2349 from element-hq/feature/bma/disableTyping
...
"Share presence" setting
2024-02-07 10:29:43 +01:00
Benoit Marty
b25509a611
Add test for TimelineItemPollView
2024-02-06 18:30:27 +01:00
Benoit Marty
80c474e1a6
Format file
2024-02-06 17:57:18 +01:00
Benoit Marty
69f0c9935f
Add type hierarchy on TimelineEvents.
...
It is not really OK that a Event was able to invoke `LoadMore` for instance.
2024-02-06 17:57:11 +01:00
Benoit Marty
e66f53f64c
Add test to ensure that TimelineView loads more Events.
2024-02-06 17:12:14 +01:00
Benoit Marty
8c56f0bd92
Fix API break and change from SDK 0.1.97
2024-02-06 09:18:35 +01:00
Benoit Marty
cbf7e9cfce
Hide Read Receipt if the user set Rended Read Receipt to false (actually disabled the "Share presence" toggle)
2024-02-05 13:07:27 +01:00
Benoit Marty
5747453505
Take into account the setting isSendTypingNotificationsEnabled to not send typing notification when it's been disabled by the user.
2024-02-05 13:07:27 +01:00
bmarty
03c95555e3
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
jmartinesp
f7abfb2f5a
Sync Strings from Localazy
2024-01-31 11:38:48 +00:00
Benoit Marty
05cc526be9
Fix: ensure the effect is restarted on each sync update.
2024-01-30 10:19:53 +01:00
Benoit Marty
6406477fef
Ensure that canUserJoinCall is "live"
2024-01-29 12:15:14 +01:00
Benoit Marty
96bae05184
Remove useless suspend modifier.
2024-01-29 12:13:36 +01:00
Benoit Marty
4f7d26eef0
Cleanup: no need to provide a CurrentSessionIdHolder, the sessionId can be retrieved from the room.
2024-01-29 12:12:52 +01:00
Benoit Marty
bfb6b32740
Send typing notification #2240
2024-01-26 16:30:43 +01:00
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>
2024-01-26 10:06:26 +01:00
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
2024-01-24 08:07:15 +01:00
Benoit Marty
eb51b49aef
Always use the latest... fix.
2024-01-23 18:13:33 +01:00
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]
2024-01-23 18:13:33 +01:00
Benoit Marty
b3accdaa78
Remove unnecessary parenthesis.
2024-01-23 14:27:06 +01:00
Benoit Marty
addc8e3161
@Suppress("LargeClass") for test.
2024-01-23 14:25:16 +01:00
Benoit Marty
dac5a5ae30
Fix complexity error by extracting condition to a val.
2024-01-23 14:24:40 +01:00
Benoit Marty
f844399025
Fix API break: use new methods canUserRedactOwn and canUserRedactOther.
2024-01-23 13:32:13 +01:00
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`
2024-01-22 17:53:10 +01:00
Benoit Marty
c3538e500d
Merge pull request #2130 from element-hq/feature/bma/roomListBadge
...
Some rework on the codebase
2024-01-22 10:17:38 +01:00
bmarty
4914c512fe
Sync Strings from Localazy
2024-01-22 00:10:44 +00:00
Benoit Marty
5e359a4e73
Merge pull request #2221 from element-hq/feature/bma/displayNameAmbiguous
...
Display name disambiguation
2024-01-19 17:42:32 +01:00
Jorge Martin Espinosa
5d462d5ba9
Remove some state events at the start of DMs ( #2252 )
...
* Remove some initial events for DMs
2024-01-19 17:34:27 +01:00
Benoit Marty
b58ac4b02f
Remove dead code.
2024-01-19 16:46:42 +01:00
Benoit Marty
2c691d527b
Remove RoomSummaryDetails.lastMessageTimestamp and replace by a getter on lastMessage
2024-01-19 16:11:10 +01:00
Benoit Marty
d1c7520065
Rename avatarURLString to avatarUrl
2024-01-19 15:58:37 +01:00
Benoit Marty
4c86126eae
Rename aRoomSummaryDetail to aRoomSummaryDetails
2024-01-19 15:55:26 +01:00
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>
2024-01-16 15:49:44 +01:00
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00