Commit Graph

2163 Commits

Author SHA1 Message Date
Benoit Marty
229ee205d8 Use mxCallbackFlow 2024-02-22 09:11:08 +01:00
Benoit Marty
8d8cbab17e Force a refresh of the verification status when the recovery state value change.
The session can become verified when the user enters their recovery key, and in this case the callback `didFinish` is not invoked.
2024-02-21 18:30:57 +01:00
Benoit Marty
2381c0cdcd Keep references on TaskHandle, to avoid it to be garbage collected, and so the listeners are stopped. 2024-02-21 18:30:57 +01:00
Benoit Marty
06caf35ff4 Make isLastSession "live" 2024-02-21 18:30:57 +01:00
Benoit Marty
fb368f058b Remove feature flag SecureStorage 2024-02-21 18:30:57 +01:00
Benoit Marty
4ed353aa56 Fix tests. 2024-02-21 18:30:08 +01:00
Benoit Marty
7fc9a4c0fa Add a way to enter recovery key to verify the session. 2024-02-21 18:30:08 +01:00
Benoit Marty
6efb4869f3 Do the opposite (was it a bug 🤔) 2024-02-21 18:30:08 +01:00
Jorge Martin Espinosa
e7ed466b4f Do not display empty room list state before the loading one (#2402)
* Do not display empty room list state before the loading one
2024-02-21 12:16:00 +01:00
Jorge Martin Espinosa
c5dcd419ce Display banned users in room member list (#2415)
* Display banned users in room member list

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-20 10:07:06 +01:00
ganfra
f0f009b023 rust sdk : should fix test 2024-02-19 21:52:19 +01:00
ganfra
2934682e57 rust sdk : fix api changes 2024-02-19 21:35:31 +01:00
Benoit Marty
afec6370c1 Merge pull request #2413 from element-hq/feature/bma/unitTests
Add more unit tests
2024-02-19 16:15:28 +01:00
Jorge Martin Espinosa
87823fe8a4 Sort the room member list and display member roles (#2412)
* Sort the room member list and display member roles

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-19 15:03:36 +00:00
Benoit Marty
bedf3b9e3e Add test for RoomListEvents.DismissRecoveryKeyPrompt.
Also get the encryptionService from the matrixClient, instead of injecting it separately.
2024-02-19 13:36:08 +01:00
Benoit Marty
b48aa45d51 Add first tests for ShowLocationView 2024-02-19 13:36:08 +01:00
ganfra
615ce72131 Merge pull request #2405 from element-hq/feature/fga/room_list_refact_search
RoomList : rework how search is done to prepare for later filtering
2024-02-19 12:31:52 +01:00
ganfra
1c5f0389f7 RoomList : clean after PR review 2024-02-19 12:08:11 +01:00
Jorge Martin Espinosa
8d543e19b1 Improve how Talkback works with the timeline (#2404)
* Improve how Talkback works with the timeline

* Fix interaction test by adding test tag

* Disable reverse layout when a screen reader is enabled

This messes up with the ordering, but fixes the scrolling when a screen reader is used.
2024-02-19 11:36:15 +01:00
ganfra
85a0ef3677 RoomList : rework how search is done to prepare for later filtering 2024-02-16 19:35:03 +01:00
ganfra
fdba1b2dc6 favorite : apply pr review remarks 2024-02-15 13:25:37 +01:00
ganfra
e00311a739 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-15 10:16:43 +01:00
ganfra
7e0e0f9ec4 read : use the new apis 2024-02-14 11:09:46 +01:00
ganfra
8a9184e9c0 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-13 15:23:39 +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
ganfra
cc5355a049 Merge branch 'develop' into feature/fga/mark_room_as_favorite 2024-02-12 17:08:36 +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
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
f3a0ce87a1 Ensure all dialogs have the same preview format.
A combined ElementThemedPreview with PreviewGroup.Dialogs for Showkase and a regular PreviewsDayNight for code coverage
2024-02-09 22:31:35 +01:00
Benoit Marty
7f5a63bf79 Merge pull request #2374 from element-hq/feature/bma/typingRendering
Typing notification rendering
2024-02-09 22:29:14 +01:00
Benoit Marty
eecb61c2d7 Fix formatting issue. 2024-02-09 10:43:08 +01:00
Benoit Marty
21d6ea1dbb Fix compilation warning. 2024-02-09 10:12:50 +01:00
ganfra
cf41a01bf0 Rust : fix tests for the new filter api 2024-02-08 21:03:18 +01:00
ganfra
c31fe091b0 Rust : map the new filter api, will need more rework when branching the new ui later. 2024-02-08 20:46:27 +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
686b6f5d92 Merge pull request #2365 from element-hq/feature/bma/testRoomList
Add Unit tests on MessagesView
2024-02-08 15:02:47 +01:00
Jorge Martín
3160596659 Remove FilterHiddenStateEventsProcessor
The same process is already done by the Rust SDK, so it's now redundant.
2024-02-08 13:38:05 +01:00
Benoit Marty
dc65e60e66 Mark as unread: add a feature flag, disabled on release build. 2024-02-08 11:49:14 +01:00
Benoit Marty
12da93a926 Give 0 has default value for fixtures creators.
Also increases the readability of tests.
2024-02-08 11:34:54 +01:00
Benoit Marty
330e760386 Move RoomListRoomSummary factory to a dedicated file, more tests will be added. 2024-02-08 11:34:54 +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
505bd5c738 Fix potential error:
Modifier factory functions must use the receiver Modifier instance
2024-02-08 11:06:06 +01:00
Benoit Marty
5669aa27e6 Move clearFocusOnTap to the designsystem library to reduce code duplication. 2024-02-08 11:06:06 +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
Jorge Martin Espinosa
6f082232d3 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
Jorge Martin Espinosa
1288c42bb2 Merge branch 'develop' into poljar/log-olm-trace 2024-02-08 09:50:58 +01:00
Benoit Marty
f9599a6a6f Add tests on MessagesView 2024-02-07 23:02:32 +01:00