Benoit Marty
3bdfb505b3
Extract fun to create VideoInfo in test.
2024-02-13 00:05:37 +01:00
Benoit Marty
d33f5543b6
Test that blurhash is correctly used and fix issue on StickerContent.
2024-02-13 00:01:57 +01:00
Benoit Marty
9af112aa30
Add missing test for StickerContent
2024-02-12 23:52:45 +01:00
Benoit Marty
9a21070a0f
Remove text from parent interface.
2024-02-12 23:45:40 +01:00
Benoit Marty
8aa16074a5
Add missing tests
2024-02-12 22:02:54 +01:00
Benoit Marty
f356004f95
remove unused import
2024-02-12 21:28:04 +01:00
Benoit Marty
fe81d0e9f5
Endure methods annotated with PreviewsDayNight contains ElementPreview (reported by Konsist test)
2024-02-12 18:22:42 +01:00
Benoit Marty
73abf548ea
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
b69cb8175a
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
3608d32af4
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
c13b5566a1
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
a614b0d91e
Sync Strings from Localazy
2024-02-12 00:10:26 +00:00
Benoit Marty
e8ad3c8f9c
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
64435db282
Add test on MessagesViewTest: clicking on more reaction from action list emits the expected Event.
2024-02-09 22:36:50 +01:00
Benoit Marty
6a8192d2d1
Add test on MessagesViewTest: swiping on an Event emits the expected Event.
2024-02-09 22:36:50 +01:00
Benoit Marty
ae1d224370
Add test on MessagesViewTest: clicking on a read receipt list emits the expected Event.
2024-02-09 22:36:50 +01:00
Benoit Marty
dde25c3827
Add test on MessagesViewTest: long click on an Event.
2024-02-09 22:32:23 +01:00
Benoit Marty
b14540126a
Add test MessagesViewTest.clicking on an Event timestamp in error emits the expected Event
2024-02-09 22:32:23 +01:00
Benoit Marty
1df1e83efc
Fix Konsist test by removing the explicit type.
2024-02-09 12:47:23 +01:00
Benoit Marty
b3715ca9c4
Use ImmutableList type.
2024-02-09 10:11:33 +01:00
Benoit Marty
0d258a8e45
Merge remote-tracking branch 'origin/develop' into feature/bma/typingRendering
2024-02-09 10:09:57 +01:00
Benoit Marty
4a170bd57e
Fix test compilation after change on other PR getting merged.
2024-02-09 09:48:20 +01:00
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
5527c9634b
Merge pull request #2365 from element-hq/feature/bma/testRoomList
...
Add Unit tests on MessagesView
2024-02-08 15:02:47 +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
3e34461007
Mark as unread: add a feature flag, disabled on release build.
2024-02-08 11:49:14 +01:00
Benoit Marty
f79e0cd56a
Fix test in release.
2024-02-08 11:34:54 +01:00
Benoit Marty
75b0a12a81
Remove extra new lines
2024-02-08 11:34:54 +01:00
Benoit Marty
69acc684b5
Introduce RoomListBottomSheetEvents "scope" for Events from the Room List Bottom Sheet.
2024-02-08 11:34:54 +01:00
Benoit Marty
b6dcadd980
Simplify a bit the API.
2024-02-08 11:34:54 +01:00
Benoit Marty
3c38201b2c
Add test for RoomListContextMenu
2024-02-08 11:34:54 +01:00
Benoit Marty
e304913030
Introduce function aContextMenuShown to create RoomListState.ContextMenu.Shown
2024-02-08 11:34:54 +01:00
Benoit Marty
525de38ee2
Fix test after default value change on parameter of createRoomListRoomSummary.
2024-02-08 11:34:54 +01:00
Benoit Marty
4dc4e5bef8
Remove unnecessary parenthesis
2024-02-08 11:34:54 +01:00
Benoit Marty
50859b62de
Add more tests
2024-02-08 11:34:54 +01:00
Benoit Marty
17f23304d0
Give 0 has default value for fixtures creators.
...
Also increases the readability of tests.
2024-02-08 11:34:54 +01:00
Benoit Marty
c4f72ecfbc
Add test to check behavior of isMarkedUnread parameter
2024-02-08 11:34:54 +01:00
Benoit Marty
25768c7e87
Move RoomListRoomSummary factory to a dedicated file, more tests will be added.
2024-02-08 11:34:54 +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
a55d3d0ace
Move clearFocusOnTap to the designsystem library to reduce code duplication.
2024-02-08 11:06:06 +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
Jorge Martin Espinosa
d06e5c23cb
Move migration screen to within the room list ( #2361 )
...
* Rename migration bg drawable and add night variant
* Move `migration` package from `ftue` to `messages:impl` module
* Update `SunsetPage` with light and dark modes
* Fix bloom colors when nested theme is used
* Integrate the migration screen in the room list
* Fix `WaitListView` cancel button color
* Clear migration store when removing the app's cache
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-08 10:01:08 +00:00
Benoit Marty
fa52ff54c8
Add tests on MessagesView
2024-02-07 23:02:32 +01:00