Jorge Martin Espinosa
cbad781090
Merge pull request #2389 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.1
* read : use the new apis
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ganfra <francoisg@matrix.org >
Co-authored-by: Jorge Martín <jorgem@element.io >
2024-02-14 13:38:09 +01:00
Jorge Martín
78177ff065
Do some cleanup
2024-02-14 12:35:25 +01:00
Jorge Martín
b04dbcbe95
Fix tests
2024-02-14 12:06:09 +01:00
ganfra
7e0e0f9ec4
read : use the new apis
2024-02-14 11:09:46 +01:00
Jorge Martin Espinosa
00dd0cbcd1
Improve typing notification animations ( #2386 )
...
Only modify the layout for typing notifications when the first one is displayed: after that, just show/hide them using a fade animation, but keep the empty space there ready to be reused.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-14 08:05:55 +00:00
Benoit Marty
ef52f2a645
Test that blurhash is correctly used and fix issue on StickerContent.
2024-02-13 00:01:57 +01:00
Benoit Marty
07c23cbcdd
Remove text from parent interface.
2024-02-12 23:45:40 +01:00
Benoit Marty
7c2717fbc0
remove unused import
2024-02-12 21:28:04 +01:00
Benoit Marty
2c55484890
Endure methods annotated with PreviewsDayNight contains ElementPreview (reported by Konsist test)
2024-02-12 18:22:42 +01:00
Benoit Marty
06fad3aeec
Render correctly in reply to data when Event cannot be decrypted or has been redacted
2024-02-12 17:58:16 +01:00
Jorge Martin Espinosa
973c57d401
Update Compound to v0.0.5 and update icons ( #2380 )
...
Update Compound to `v0.0.5`:
- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2024-02-12 16:41:58 +00:00
Benoit Marty
58c8bb43c8
Open the keyboard (and keep it opened) when creating a poll.
...
Actually replace a Disposable effect by a action to close the keyboard in the `onBackPressed` callback.
2024-02-12 15:20:28 +01:00
Benoit Marty
c69d996641
Merge pull request #2376 from element-hq/feature/bma/testUi
...
More test on MessagesView, and harmonize preview on Dialogs
2024-02-12 10:41:46 +01:00
bmarty
0224d036c7
Sync Strings from Localazy
2024-02-12 00:10:26 +00:00
Benoit Marty
a11922e57b
Add test on MessagesViewTest: clicking on a custom emoji emits the expected Events.
...
And fix a bug, the Event `CustomReactionEvents.DismissCustomReactionSheet` is actually managed by the BottomSheet itself.
2024-02-09 22:36:50 +01:00
Benoit Marty
c580184b66
Add test on MessagesViewTest: swiping on an Event emits the expected Event.
2024-02-09 22:36:50 +01:00
Benoit Marty
240e2cd09f
Add test on MessagesViewTest: clicking on a read receipt list emits the expected Event.
2024-02-09 22:36:50 +01:00
Benoit Marty
446ba571a3
Add test on MessagesViewTest: long click on an Event.
2024-02-09 22:32:23 +01:00
Benoit Marty
81ca61645f
Add test MessagesViewTest.clicking on an Event timestamp in error emits the expected Event
2024-02-09 22:32:23 +01:00
Benoit Marty
9dfb6f2c65
Use ImmutableList type.
2024-02-09 10:11:33 +01:00
Benoit Marty
996c5fad95
Typing notification: disable rendering when the user preference isRenderTypingNotificationsEnabled is false.
2024-02-09 09:35:52 +01:00
Benoit Marty
282bd9b866
Typing notification: reduce horizontal padding.
2024-02-08 18:17:57 +01:00
Benoit Marty
f9dcd00193
Add a way to hide the Jump to Bottom button for coherent preview
2024-02-08 17:38:59 +01:00
Benoit Marty
bf84749d19
Typing: add some specific MessagesView preview.
2024-02-08 17:38:59 +01:00
Benoit Marty
8496c736b6
Rendering typing notification #2242
2024-02-08 17:38:59 +01:00
Benoit Marty
e73a480495
Merge pull request #2354 from element-hq/feature/bma/markUnread
...
Mark room as unread
2024-02-08 17:36:29 +01:00
Benoit Marty
cfcfadf2d4
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
c53bf4cab9
Remove patch on ActionListView and ensure all the test are passing.
2024-02-08 14:38:44 +01:00
Benoit Marty
ca91b23512
Add ability mark as unread / mark as read a room.
2024-02-08 11:33:43 +01:00
Benoit Marty
72b89338b3
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
f9599a6a6f
Add tests on MessagesView
2024-02-07 23:02:32 +01:00
Benoit Marty
c3f6dbd1c1
Add parameter to functions which create states, to avoid copy.
2024-02-07 23:02:32 +01:00
Benoit Marty
a1f78372d6
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
9e6b6c42f8
Merge remote-tracking branch 'origin/develop' into feature/bma/testTimelineView
2024-02-07 10:38:05 +01:00
Benoit Marty
3359d1b347
Use Kdoc.
2024-02-07 10:31:08 +01:00
Benoit Marty
3c36868f85
Merge pull request #2349 from element-hq/feature/bma/disableTyping
...
"Share presence" setting
2024-02-07 10:29:43 +01:00
Benoit Marty
a13862e7a9
Format file
2024-02-06 17:57:18 +01:00
Benoit Marty
bae47b942e
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
824de9cc11
Add test to ensure that TimelineView loads more Events.
2024-02-06 17:12:14 +01:00
Benoit Marty
6234d6e092
Fix API break and change from SDK 0.1.97
2024-02-06 09:18:35 +01:00
Benoit Marty
3139d80504
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
64229397cb
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
7911a26003
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
jmartinesp
697c482b6d
Sync Strings from Localazy
2024-01-31 11:38:48 +00:00
Benoit Marty
a22653d7da
Fix: ensure the effect is restarted on each sync update.
2024-01-30 10:19:53 +01:00
Benoit Marty
aefad3faa1
Ensure that canUserJoinCall is "live"
2024-01-29 12:15:14 +01:00
Benoit Marty
78da1d6a18
Remove useless suspend modifier.
2024-01-29 12:13:36 +01:00
Benoit Marty
bf9f31afe5
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
2ef8f67951
Send typing notification #2240
2024-01-26 16:30:43 +01:00
Jorge Martin Espinosa
17f22d143b
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